diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dcf70e64e..214811fdd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,87 @@ # Change Log +## Unreleased + +- [Fix types which are maps](https://github.com/pulumi/pulumi-aws-native/pull/1342) + - Resources parameters affected: + - `aws-native:apigateway:Method`: `requestModels`, `requestParameters` + - `aws-native:apigateway:RestApi`: `parameters` + - `aws-native:apigateway:Stage`: `variables` + - `aws-native:apigatewayv2:Api`: `tags` + - `aws-native:apigatewayv2:DomainName`: `tags` + - `aws-native:apigatewayv2:VpcLink`: `tags` + - `aws-native:appconfig:Extension`: `actions`, `parameters` + - `aws-native:appconfig:ExtensionAssociation`: `parameters` + - `aws-native:athena:DataCatalog`: `parameters` + - `aws-native:backup:BackupPlan`: `backupPlanTags` + - `aws-native:backup:BackupVault`: `backupVaultTags` + - `aws-native:batch:ComputeEnvironment`: `tags` + - `aws-native:batch:JobQueue`: `tags` + - `aws-native:batch:SchedulingPolicy`: `tags` + - `aws-native:cloudformation:Stack`: `parameters` + - `aws-native:codestarnotifications:NotificationRule`: `tags` + - `aws-native:cognito:IdentityPoolRoleAttachment`: `roleMappings`, `roles` + - `aws-native:cognito:UserPool`: `userPoolTags` + - `aws-native:cognito:UserPoolUser`: `clientMetadata` + - `aws-native:eks:Nodegroup`: `labels`, `tags` + - `aws-native:fis:ExperimentTemplate`: `tags` + - `aws-native:greengrassv2:Deployment`: `components`, `tags` + - `aws-native:imagebuilder:Component`: `tags` + - `aws-native:imagebuilder:ContainerRecipe`: `tags` + - `aws-native:imagebuilder:DistributionConfiguration`: `tags` + - `aws-native:imagebuilder:Image`: `tags` + - `aws-native:imagebuilder:ImagePipeline`: `tags` + - `aws-native:imagebuilder:ImageRecipe`: `tags` + - `aws-native:imagebuilder:InfrastructureConfiguration`: `resourceTags`, `tags` + - `aws-native:imagebuilder:LifecyclePolicy`: `tags` + - `aws-native:imagebuilder:Workflow`: `tags` + - `aws-native:iot:Authorizer`: `tokenSigningPublicKeys` + - `aws-native:iot:SecurityProfile`: `alertTargets` + - `aws-native:iottwinmaker:ComponentType`: `compositeComponentTypes`, `functions`, `propertyDefinitions`, `propertyGroups`, `tags` + - `aws-native:iottwinmaker:Entity`: `components`, `compositeComponents`, `tags` + - `aws-native:iottwinmaker:Scene`: `sceneMetadata`, `tags` + - `aws-native:iottwinmaker:SyncJob`: `tags` + - `aws-native:iottwinmaker:Workspace`: `tags` + - `aws-native:kafkaconnect:Connector`: `connectorConfiguration` + - `aws-native:msk:Cluster`: `tags` + - `aws-native:msk:ServerlessCluster`: `tags` + - `aws-native:opensearchservice:Domain`: `advancedOptions`, `logPublishingOptions` + - `aws-native:servicecatalog:CloudFormationProvisionedProduct`, `outputs` + - `aws-native:ssm:Parameter`: `tags` + + - Type properties affected: + - `aws-native:apigateway:DeploymentCanarySetting`: `stageVariableOverrides` + - `aws-native:apigateway:DeploymentCanarySettings`: `stageVariableOverrides` + - `aws-native:apigateway:DeploymentStageDescription`: `variables` + - `aws-native:apigateway:MethodIntegration`: `requestParameters`, `requestTemplates` + - `aws-native:apigateway:MethodIntegrationResponse`: `responseParameters`, `responseTemplates` + - `aws-native:apigateway:MethodResponse`: `responseModels`, `responseParameters` + - `aws-native:apigateway:StageCanarySetting`: `stageVariableOverrides` + - `aws-native:apigateway:UsagePlanApiStage`: `throttle` + - `aws-native:appintegrations:DataIntegrationFileConfiguration`: `filters` + - `aws-native:backup:BackupPlanBackupRuleResourceType`: `recoveryPointTags` + - `aws-native:batch:ComputeEnvironmentComputeResources`: `tags` + - `aws-native:ecs:ServiceLogConfiguration`: `options` + - `aws-native:ecs:TaskDefinitionContainerDefinition`: `dockerLabels` + - `aws-native:ecs:TaskDefinitionDockerVolumeConfiguration`: `driverOpts`, `labels` + - `aws-native:ecs:TaskDefinitionFirelensConfiguration`: `options` + - `aws-native:ecs:TaskDefinitionLogConfiguration`: `options` + - `aws-native:elasticloadbalancingv2:ListenerRuleAuthenticateCognitoConfig`: `authenticationRequestExtraParams` + - `aws-native:elasticloadbalancingv2:ListenerRuleAuthenticateOidcConfig`: `authenticationRequestExtraParams` + - `aws-native:emrserverless:ApplicationConfigurationObject`: `properties` + - `aws-native:entityresolution:IdMappingWorkflowProviderProperties`: `providerConfiguration` + - `aws-native:entityresolution:MatchingWorkflowProviderProperties`: `providerConfiguration` + - `aws-native:events:RuleHttpParameters`: `headerParameters`, `queryStringParameters` + - `aws-native:events:RuleInputTransformer`: `inputPathsMap` + - `aws-native:greengrassv2:ComponentVersionComponentPlatform`: `attributes` + - `aws-native:greengrassv2:ComponentVersionLambdaExecutionParameters`: `environmentVariables` + - `aws-native:greengrassv2:ComponentVersionLambdaFunctionRecipeSource`: `componentDependencies` + - `aws-native:guardduty:FilterFindingCriteria`: `criterion` + - `aws-native:imagebuilder:DistributionConfigurationAmiDistributionConfiguration`: `amiTags` + - `aws-native:imagebuilder:LifecyclePolicyAmiExclusionRules`: `tagMap` + - `aws-native:imagebuilder:LifecyclePolicyExclusionRules`: `tagMap` + - `aws-native:imagebuilder:LifecyclePolicyResourceSelection`: `tagMap` + ## 0.96.0 (2024-02-09) - [Added configuration option `aws-native:config:skipCredentialsValidation` (or via environment variable `AWS_SKIP_CREDENTIALS_VALIDATION`)](https://github.com/pulumi/pulumi-aws-native/issues/1326) diff --git a/provider/cmd/cf2pulumi/schema-full.json b/provider/cmd/cf2pulumi/schema-full.json index 994eb39d62..b257c6bfbd 100644 --- a/provider/cmd/cf2pulumi/schema-full.json +++ b/provider/cmd/cf2pulumi/schema-full.json @@ -1889,7 +1889,10 @@ "description": "The percent (0-100) of traffic diverted to a canary deployment." }, "stageVariableOverrides": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "useStageCache": { @@ -1907,7 +1910,10 @@ "description": "The percentage (0.0-100.0) of traffic routed to the canary deployment." }, "stageVariableOverrides": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "useStageCache": { @@ -2045,7 +2051,10 @@ "description": "Specifies whether active tracing with X-ray is enabled for this stage.\n 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": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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-._~:/?#\u0026=,]+``." } }, @@ -2249,11 +2258,17 @@ "description": "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." }, "requestParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "requestTemplates": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "timeoutInMillis": { @@ -2328,11 +2343,17 @@ "description": "Specifies how to handle response payload content type conversions. Supported values are ``CONVERT_TO_BINARY`` and ``CONVERT_TO_TEXT``, with the following behaviors:\n If this property is not defined, the response payload will be passed through from the integration response to the method response without modification." }, "responseParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "responseTemplates": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "selectionPattern": { @@ -2393,11 +2414,17 @@ "description": "Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.", "properties": { "responseModels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "responseParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "boolean" + }, "description": "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.)" }, "statusCode": { @@ -2493,7 +2520,10 @@ "description": "The percent (0-100) of traffic diverted to a canary deployment." }, "stageVariableOverrides": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "useStageCache": { @@ -2578,7 +2608,10 @@ "description": "API stage name of the associated API stage in a usage plan." }, "throttle": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:apigateway:UsagePlanThrottleSettings" + }, "description": "Map containing method level throttling information for API stage in a usage plan." } }, @@ -3015,6 +3048,32 @@ "value" ] }, + "aws-native:appconfig:ExtensionAction": { + "description": "An action for an extension to take at a specific action point.", + "properties": { + "description": { + "type": "string", + "description": "The description of the extension Action." + }, + "name": { + "type": "string", + "description": "The name of the extension action." + }, + "roleArn": { + "type": "string", + "description": "The ARN of the role for invoking the extension action." + }, + "uri": { + "type": "string", + "description": "The URI of the extension action." + } + }, + "type": "object", + "required": [ + "name", + "uri" + ] + }, "aws-native:appconfig:ExtensionAssociationTag": { "description": "A key-value pair to associate with a resource.", "properties": { @@ -3035,6 +3094,22 @@ "value" ] }, + "aws-native:appconfig:ExtensionParameter": { + "description": "A parameter for the extension to send to a specific action.", + "properties": { + "description": { + "type": "string", + "description": "The description of the extension Parameter." + }, + "required": { + "type": "boolean" + } + }, + "type": "object", + "required": [ + "required" + ] + }, "aws-native:appconfig:ExtensionTag": { "description": "A key-value pair to associate with a resource.", "properties": { @@ -6561,7 +6636,13 @@ "description": "The configuration for what files should be pulled from the source.", "properties": { "filters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, "description": "Restrictions for what files should be pulled from the source." }, "folders": { @@ -13085,7 +13166,10 @@ "$ref": "#/types/aws-native:backup:BackupPlanLifecycleResourceType" }, "recoveryPointTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "ruleName": { "type": "string" @@ -13637,7 +13721,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "type": { @@ -20899,6 +20986,63 @@ }, "type": "object" }, + "aws-native:cognito:IdentityPoolRoleAttachmentMappingRule": { + "properties": { + "claim": { + "type": "string" + }, + "matchType": { + "type": "string" + }, + "roleArn": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "required": [ + "claim", + "matchType", + "roleArn", + "value" + ] + }, + "aws-native:cognito:IdentityPoolRoleAttachmentRoleMapping": { + "properties": { + "ambiguousRoleResolution": { + "type": "string" + }, + "identityProvider": { + "type": "string" + }, + "rulesConfiguration": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentRulesConfigurationType" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "aws-native:cognito:IdentityPoolRoleAttachmentRulesConfigurationType": { + "properties": { + "rules": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentMappingRule" + } + } + }, + "type": "object", + "required": [ + "rules" + ] + }, "aws-native:cognito:LogDeliveryConfigurationCloudWatchLogsConfiguration": { "properties": { "logGroupArn": { @@ -39237,7 +39381,10 @@ "type": "string" }, "options": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "secretOptions": { "type": "array", @@ -39513,7 +39660,10 @@ } }, "dockerLabels": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "dockerSecurityOptions": { "type": "array", @@ -39700,10 +39850,16 @@ "type": "string" }, "driverOpts": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "labels": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "scope": { "type": "string" @@ -39769,7 +39925,10 @@ "aws-native:ecs:TaskDefinitionFirelensConfiguration": { "properties": { "options": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "type": { "type": "string" @@ -39902,7 +40061,10 @@ "type": "string" }, "options": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "secretOptions": { "type": "array", @@ -42067,7 +42229,10 @@ "aws-native:elasticloadbalancingv2:ListenerRuleAuthenticateCognitoConfig": { "properties": { "authenticationRequestExtraParams": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "onUnauthenticatedRequest": { "type": "string" @@ -42101,7 +42266,10 @@ "aws-native:elasticloadbalancingv2:ListenerRuleAuthenticateOidcConfig": { "properties": { "authenticationRequestExtraParams": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "authorizationEndpoint": { "type": "string" @@ -43972,7 +44140,10 @@ } }, "properties": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object", @@ -44234,7 +44405,10 @@ "$ref": "#/types/aws-native:entityresolution:IdMappingWorkflowIntermediateSourceConfiguration" }, "providerConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format" }, "providerServiceArn": { @@ -44341,7 +44515,10 @@ "$ref": "#/types/aws-native:entityresolution:MatchingWorkflowIntermediateSourceConfiguration" }, "providerConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format" }, "providerServiceArn": { @@ -45074,7 +45251,10 @@ "aws-native:events:RuleHttpParameters": { "properties": { "headerParameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "pathParameterValues": { "type": "array", @@ -45083,7 +45263,10 @@ } }, "queryStringParameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object" @@ -45091,7 +45274,10 @@ "aws-native:events:RuleInputTransformer": { "properties": { "inputPathsMap": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "inputTemplate": { "type": "string" @@ -51654,10 +51840,37 @@ "target" ] }, + "aws-native:greengrassv2:ComponentVersionComponentDependencyRequirement": { + "properties": { + "dependencyType": { + "$ref": "#/types/aws-native:greengrassv2:ComponentVersionComponentDependencyRequirementDependencyType" + }, + "versionRequirement": { + "type": "string" + } + }, + "type": "object" + }, + "aws-native:greengrassv2:ComponentVersionComponentDependencyRequirementDependencyType": { + "type": "string", + "enum": [ + { + "name": "Soft", + "value": "SOFT" + }, + { + "name": "Hard", + "value": "HARD" + } + ] + }, "aws-native:greengrassv2:ComponentVersionComponentPlatform": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "name": { "type": "string" @@ -51729,7 +51942,10 @@ "aws-native:greengrassv2:ComponentVersionLambdaExecutionParameters": { "properties": { "environmentVariables": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "eventSources": { "type": "array", @@ -51799,7 +52015,10 @@ "aws-native:greengrassv2:ComponentVersionLambdaFunctionRecipeSource": { "properties": { "componentDependencies": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:greengrassv2:ComponentVersionComponentDependencyRequirement" + } }, "componentLambdaParameters": { "$ref": "#/types/aws-native:greengrassv2:ComponentVersionLambdaExecutionParameters" @@ -51863,6 +52082,48 @@ }, "type": "object" }, + "aws-native:greengrassv2:DeploymentComponentConfigurationUpdate": { + "properties": { + "merge": { + "type": "string" + }, + "reset": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "aws-native:greengrassv2:DeploymentComponentDeploymentSpecification": { + "properties": { + "componentVersion": { + "type": "string" + }, + "configurationUpdate": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentConfigurationUpdate" + }, + "runWith": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentRunWith" + } + }, + "type": "object" + }, + "aws-native:greengrassv2:DeploymentComponentRunWith": { + "properties": { + "posixUser": { + "type": "string" + }, + "systemResourceLimits": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentSystemResourceLimits" + }, + "windowsUser": { + "type": "string" + } + }, + "type": "object" + }, "aws-native:greengrassv2:DeploymentComponentUpdatePolicy": { "properties": { "action": { @@ -52044,6 +52305,17 @@ } ] }, + "aws-native:greengrassv2:DeploymentSystemResourceLimits": { + "properties": { + "cpus": { + "type": "number" + }, + "memory": { + "type": "integer" + } + }, + "type": "object" + }, "aws-native:groundstation:ConfigAntennaDownlinkConfig": { "properties": { "spectrumConfig": { @@ -52657,10 +52929,66 @@ "value" ] }, + "aws-native:guardduty:FilterCondition": { + "properties": { + "eq": { + "type": "array", + "items": { + "type": "string" + } + }, + "equals": { + "type": "array", + "items": { + "type": "string" + } + }, + "greaterThan": { + "type": "integer" + }, + "greaterThanOrEqual": { + "type": "integer" + }, + "gt": { + "type": "integer" + }, + "gte": { + "type": "integer" + }, + "lessThan": { + "type": "integer" + }, + "lessThanOrEqual": { + "type": "integer" + }, + "lt": { + "type": "integer" + }, + "lte": { + "type": "integer" + }, + "neq": { + "type": "array", + "items": { + "type": "string" + } + }, + "notEquals": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, "aws-native:guardduty:FilterFindingCriteria": { "properties": { "criterion": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:guardduty:FilterCondition" + } } }, "type": "object" @@ -53333,7 +53661,10 @@ "description": "The specific AMI settings (for example, launch permissions, AMI tags).", "properties": { "amiTags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags to apply to AMIs distributed to this Region." }, "description": { @@ -54059,7 +54390,10 @@ "description": "Use to apply lifecycle policy actions on AMIs shared with a set of regions." }, "tagMap": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The AMIs to select by tag." } }, @@ -54072,7 +54406,10 @@ "$ref": "#/types/aws-native:imagebuilder:LifecyclePolicyAmiExclusionRules" }, "tagMap": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Image Builder tags to filter on." } }, @@ -54202,7 +54539,10 @@ "description": "The recipes to select." }, "tagMap": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Image Builder resources to select by tag." } }, @@ -56391,6 +56731,24 @@ "value" ] }, + "aws-native:iot:SecurityProfileAlertTarget": { + "description": "A structure containing the alert target ARN and the role ARN.", + "properties": { + "alertTargetArn": { + "type": "string", + "description": "The ARN of the notification target to which alerts are sent." + }, + "roleArn": { + "type": "string", + "description": "The ARN of the role that grants permission to send alerts to the notification target." + } + }, + "type": "object", + "required": [ + "alertTargetArn", + "roleArn" + ] + }, "aws-native:iot:SecurityProfileBehavior": { "description": "A security profile behavior.", "properties": { @@ -56759,7 +57117,10 @@ "aws-native:iot:ThingAttributePayload": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object" @@ -56767,7 +57128,10 @@ "aws-native:iot:ThingGroupAttributePayload": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object" @@ -57324,7 +57688,10 @@ "aws-native:iot:TopicRuleKafkaAction": { "properties": { "clientProperties": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "destinationArn": { "type": "string" @@ -58371,7 +58738,10 @@ "aws-native:iotanalytics:PipelineAddAttributes": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "name": { "type": "string" @@ -61192,6 +61562,284 @@ "text" ] }, + "aws-native:iottwinmaker:ComponentTypeCompositeComponentType": { + "description": "An object that sets information about a composite component type.", + "properties": { + "componentTypeId": { + "type": "string", + "description": "The id of the composite component type." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypeDataConnector": { + "description": "The data connector.", + "properties": { + "isNative": { + "type": "boolean", + "description": "A Boolean value that specifies whether the data connector is native to IoT TwinMaker." + }, + "lambda": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeLambdaFunction", + "description": "The Lambda function associated with this data connector." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypeDataType": { + "description": "An object that specifies the data type of a property.", + "properties": { + "allowedValues": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue" + }, + "description": "The allowed values for this data type." + }, + "nestedType": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataType", + "description": "The nested type in the data type." + }, + "relationship": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeRelationship", + "description": "A relationship that associates a component with another component." + }, + "type": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataTypeType", + "description": "The underlying type of the data type." + }, + "unitOfMeasure": { + "type": "string", + "description": "The unit of measure used in this data type." + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "aws-native:iottwinmaker:ComponentTypeDataTypeType": { + "description": "The underlying type of the data type.", + "type": "string", + "enum": [ + { + "name": "Relationship", + "value": "RELATIONSHIP" + }, + { + "name": "String", + "value": "STRING" + }, + { + "name": "Long", + "value": "LONG" + }, + { + "name": "Boolean", + "value": "BOOLEAN" + }, + { + "name": "Integer", + "value": "INTEGER" + }, + { + "name": "Double", + "value": "DOUBLE" + }, + { + "name": "List", + "value": "LIST" + }, + { + "name": "Map", + "value": "MAP" + } + ] + }, + "aws-native:iottwinmaker:ComponentTypeDataValue": { + "description": "An object that specifies a value for a property.", + "properties": { + "booleanValue": { + "type": "boolean", + "description": "A Boolean value." + }, + "doubleValue": { + "type": "number", + "description": "A double value." + }, + "expression": { + "type": "string", + "description": "An expression that produces the value." + }, + "integerValue": { + "type": "integer", + "description": "An integer value." + }, + "listValue": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue" + }, + "description": "A list of multiple values." + }, + "longValue": { + "type": "number", + "description": "A long value." + }, + "mapValue": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue" + }, + "description": "An object that maps strings to multiple DataValue objects. \n\n" + }, + "relationshipValue": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValueRelationshipValueProperties", + "description": "A value that relates a component to another component." + }, + "stringValue": { + "type": "string", + "description": "A string value." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypeDataValueRelationshipValueProperties": { + "description": "A value that relates a component to another component.", + "properties": { + "targetComponentName": { + "type": "string" + }, + "targetEntityId": { + "type": "string" + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypeFunction": { + "description": "The function of component type.", + "properties": { + "implementedBy": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataConnector", + "description": "The data connector." + }, + "requiredProperties": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The required properties of the function." + }, + "scope": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeFunctionScope", + "description": "The scope of the function." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypeFunctionScope": { + "description": "The scope of the function.", + "type": "string", + "enum": [ + { + "name": "Entity", + "value": "ENTITY" + }, + { + "name": "Workspace", + "value": "WORKSPACE" + } + ] + }, + "aws-native:iottwinmaker:ComponentTypeLambdaFunction": { + "properties": { + "arn": { + "type": "string" + } + }, + "type": "object", + "required": [ + "arn" + ] + }, + "aws-native:iottwinmaker:ComponentTypePropertyDefinition": { + "description": "An object that sets information about a property.", + "properties": { + "configurations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "An object that specifies information about a property." + }, + "dataType": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataType", + "description": "An object that contains information about the data type." + }, + "defaultValue": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue", + "description": "An object that contains the default value." + }, + "isExternalId": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property ID comes from an external data store." + }, + "isRequiredInEntity": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is required." + }, + "isStoredExternally": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is stored externally." + }, + "isTimeSeries": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property consists of time series data." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypePropertyGroup": { + "description": "An object that sets information about a property group.", + "properties": { + "groupType": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyGroupGroupType", + "description": "The type of property group." + }, + "propertyNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of property names in the property group." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypePropertyGroupGroupType": { + "description": "The type of property group.", + "type": "string", + "enum": [ + { + "name": "Tabular", + "value": "TABULAR" + } + ] + }, + "aws-native:iottwinmaker:ComponentTypeRelationship": { + "description": "The type of the relationship.", + "properties": { + "relationshipType": { + "type": "string", + "description": "The type of the relationship." + }, + "targetComponentTypeId": { + "type": "string", + "description": "The ID of the target component type associated with this relationship." + } + }, + "type": "object" + }, "aws-native:iottwinmaker:ComponentTypeStatus": { "properties": { "error": { @@ -61285,6 +61933,315 @@ } ] }, + "aws-native:iottwinmaker:EntityComponent": { + "properties": { + "componentName": { + "type": "string", + "description": "The name of the component." + }, + "componentTypeId": { + "type": "string", + "description": "The ID of the component type." + }, + "definedIn": { + "type": "string", + "description": "The name of the property definition set in the component." + }, + "description": { + "type": "string", + "description": "The description of the component." + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityProperty" + }, + "description": "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." + }, + "propertyGroups": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyGroup" + }, + "description": "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": { + "$ref": "#/types/aws-native:iottwinmaker:EntityStatus", + "description": "The current status of the entity." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityCompositeComponent": { + "properties": { + "componentName": { + "type": "string", + "description": "The name of the component." + }, + "componentPath": { + "type": "string", + "description": "The path of the component." + }, + "componentTypeId": { + "type": "string", + "description": "The ID of the component type." + }, + "description": { + "type": "string", + "description": "The description of the component." + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityProperty" + }, + "description": "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." + }, + "propertyGroups": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyGroup" + }, + "description": "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": { + "$ref": "#/types/aws-native:iottwinmaker:EntityStatus", + "description": "The current status of the component." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityDataType": { + "description": "An object that specifies the data type of a property.", + "properties": { + "allowedValues": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue" + }, + "description": "The allowed values for this data type." + }, + "nestedType": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataType", + "description": "The nested type in the data type." + }, + "relationship": { + "$ref": "#/types/aws-native:iottwinmaker:EntityRelationship", + "description": "A relationship that associates a component with another component." + }, + "type": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataTypeType", + "description": "The underlying type of the data type." + }, + "unitOfMeasure": { + "type": "string", + "description": "The unit of measure used in this data type." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityDataTypeType": { + "description": "The underlying type of the data type.", + "type": "string", + "enum": [ + { + "name": "Relationship", + "value": "RELATIONSHIP" + }, + { + "name": "String", + "value": "STRING" + }, + { + "name": "Long", + "value": "LONG" + }, + { + "name": "Boolean", + "value": "BOOLEAN" + }, + { + "name": "Integer", + "value": "INTEGER" + }, + { + "name": "Double", + "value": "DOUBLE" + }, + { + "name": "List", + "value": "LIST" + }, + { + "name": "Map", + "value": "MAP" + } + ] + }, + "aws-native:iottwinmaker:EntityDataValue": { + "description": "An object that specifies a value for a property.", + "properties": { + "booleanValue": { + "type": "boolean", + "description": "A Boolean value." + }, + "doubleValue": { + "type": "number", + "description": "A double value." + }, + "expression": { + "type": "string", + "description": "An expression that produces the value." + }, + "integerValue": { + "type": "integer", + "description": "An integer value." + }, + "listValue": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue" + }, + "description": "A list of multiple values." + }, + "longValue": { + "type": "number", + "description": "A long value." + }, + "mapValue": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue" + }, + "description": "An object that maps strings to multiple DataValue objects." + }, + "relationshipValue": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValueRelationshipValueProperties", + "description": "A value that relates a component to another component." + }, + "stringValue": { + "type": "string", + "description": "A string value." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityDataValueRelationshipValueProperties": { + "description": "A value that relates a component to another component.", + "properties": { + "targetComponentName": { + "type": "string" + }, + "targetEntityId": { + "type": "string" + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityProperty": { + "properties": { + "definition": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyDefinitionProperties", + "description": "An object that specifies information about a property." + }, + "value": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue", + "description": "The value of the property." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityPropertyDefinitionConfiguration": { + "description": "An object that specifies information about a property.", + "type": "object" + }, + "aws-native:iottwinmaker:EntityPropertyDefinitionProperties": { + "description": "An object that specifies information about a property.", + "properties": { + "configuration": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyDefinitionConfiguration", + "description": "An object that specifies information about a property." + }, + "dataType": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataType", + "description": "An object that contains information about the data type." + }, + "defaultValue": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue", + "description": "An object that contains the default value." + }, + "isExternalId": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property ID comes from an external data store." + }, + "isFinal": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property definition can be updated." + }, + "isImported": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property definition is imported from an external data store." + }, + "isInherited": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property definition is inherited from a parent entity." + }, + "isRequiredInEntity": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is required." + }, + "isStoredExternally": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is stored externally." + }, + "isTimeSeries": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property consists of time series data." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityPropertyGroup": { + "description": "An object that specifies information about a property group.", + "properties": { + "groupType": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyGroupGroupType", + "description": "The type of property group." + }, + "propertyNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of property names in the property group." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityPropertyGroupGroupType": { + "description": "The type of property group.", + "type": "string", + "enum": [ + { + "name": "Tabular", + "value": "TABULAR" + } + ] + }, + "aws-native:iottwinmaker:EntityRelationship": { + "description": "The type of the relationship.", + "properties": { + "relationshipType": { + "type": "string", + "description": "The type of the relationship." + }, + "targetComponentTypeId": { + "type": "string", + "description": "The ID of the target component type associated with this relationship." + } + }, + "type": "object" + }, "aws-native:iottwinmaker:EntityStatus": { "properties": { "error": { @@ -68650,7 +69607,10 @@ "description": "A function's environment variable settings.", "properties": { "variables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Environment variable key-value pairs." } }, @@ -69363,6 +70323,43 @@ "enabled" ] }, + "aws-native:lex:BotAllowedInputTypes": { + "description": "Specifies the allowed input types.", + "properties": { + "allowAudioInput": { + "type": "boolean", + "description": "Indicates whether audio input is allowed." + }, + "allowDtmfInput": { + "type": "boolean", + "description": "Indicates whether DTMF input is allowed." + } + }, + "type": "object", + "required": [ + "allowAudioInput", + "allowDtmfInput" + ] + }, + "aws-native:lex:BotAudioAndDtmfInputSpecification": { + "description": "Specifies the audio and DTMF input specification.", + "properties": { + "audioSpecification": { + "$ref": "#/types/aws-native:lex:BotAudioSpecification" + }, + "dtmfSpecification": { + "$ref": "#/types/aws-native:lex:BotDtmfSpecification" + }, + "startTimeoutMs": { + "type": "integer", + "description": "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." + } + }, + "type": "object", + "required": [ + "startTimeoutMs" + ] + }, "aws-native:lex:BotAudioLogDestination": { "description": "The location of audio log files collected when conversation logging is enabled for a bot.", "properties": { @@ -69401,6 +70398,24 @@ } ] }, + "aws-native:lex:BotAudioSpecification": { + "description": "Specifies the audio input specifications.", + "properties": { + "endTimeoutMs": { + "type": "integer", + "description": "Time for which a bot waits after the customer stops speaking to assume the utterance is finished." + }, + "maxLengthMs": { + "type": "integer", + "description": "Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application." + } + }, + "type": "object", + "required": [ + "endTimeoutMs", + "maxLengthMs" + ] + }, "aws-native:lex:BotButton": { "description": "A button to use on a response card used to gather slot values from a user.", "properties": { @@ -69718,6 +70733,34 @@ }, "type": "object" }, + "aws-native:lex:BotDtmfSpecification": { + "description": "Specifies the settings on DTMF input.", + "properties": { + "deletionCharacter": { + "type": "string", + "description": "The DTMF character that clears the accumulated DTMF digits and immediately ends the input." + }, + "endCharacter": { + "type": "string", + "description": "The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout." + }, + "endTimeoutMs": { + "type": "integer", + "description": "How long the bot should wait after the last DTMF character input before assuming that the input has concluded." + }, + "maxLength": { + "type": "integer", + "description": "The maximum number of DTMF digits allowed in an utterance." + } + }, + "type": "object", + "required": [ + "deletionCharacter", + "endCharacter", + "endTimeoutMs", + "maxLength" + ] + }, "aws-native:lex:BotElicitationCodeHookInvocationSetting": { "description": "Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values.", "properties": { @@ -70382,6 +71425,28 @@ }, "type": "object" }, + "aws-native:lex:BotPromptAttemptSpecification": { + "description": "Specifies the settings on a prompt attempt.", + "properties": { + "allowInterrupt": { + "type": "boolean", + "description": "Indicates whether the user can interrupt a speech prompt attempt from the bot." + }, + "allowedInputTypes": { + "$ref": "#/types/aws-native:lex:BotAllowedInputTypes" + }, + "audioAndDtmfInputSpecification": { + "$ref": "#/types/aws-native:lex:BotAudioAndDtmfInputSpecification" + }, + "textInputSpecification": { + "$ref": "#/types/aws-native:lex:BotTextInputSpecification" + } + }, + "type": "object", + "required": [ + "allowedInputTypes" + ] + }, "aws-native:lex:BotPromptSpecification": { "description": "Prompts the user to confirm the intent.", "properties": { @@ -70402,7 +71467,10 @@ "$ref": "#/types/aws-native:lex:BotMessageSelectionStrategy" }, "promptAttemptsSpecification": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:lex:BotPromptAttemptSpecification" + }, "description": "Specifies the advanced settings on each attempt of the prompt." } }, @@ -70919,6 +71987,19 @@ "detectSentiment" ] }, + "aws-native:lex:BotTextInputSpecification": { + "description": "Specifies the text input specifications.", + "properties": { + "startTimeoutMs": { + "type": "integer", + "description": "Time for which a bot waits before re-prompting a customer for text input." + } + }, + "type": "object", + "required": [ + "startTimeoutMs" + ] + }, "aws-native:lex:BotTextLogDestination": { "description": "Defines the Amazon CloudWatch Logs destination log group for conversation text logs.", "properties": { @@ -81722,7 +82803,10 @@ "aws-native:networkfirewall:LoggingConfigurationLogDestinationConfig": { "properties": { "logDestination": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to configure the logDestinations." }, "logDestinationType": { @@ -81972,6 +83056,25 @@ } ] }, + "aws-native:networkfirewall:RuleGroupIpSet": { + "properties": { + "definition": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "aws-native:networkfirewall:RuleGroupIpSetReference": { + "properties": { + "referenceArn": { + "type": "string" + } + }, + "type": "object" + }, "aws-native:networkfirewall:RuleGroupMatchAttributes": { "properties": { "destinationPorts": { @@ -82028,6 +83131,17 @@ "toPort" ] }, + "aws-native:networkfirewall:RuleGroupPortSet": { + "properties": { + "definition": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, "aws-native:networkfirewall:RuleGroupPublishMetricAction": { "properties": { "dimensions": { @@ -82045,7 +83159,10 @@ "aws-native:networkfirewall:RuleGroupReferenceSets": { "properties": { "ipSetReferences": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:networkfirewall:RuleGroupIpSetReference" + } } }, "type": "object" @@ -82101,10 +83218,16 @@ "aws-native:networkfirewall:RuleGroupRuleVariables": { "properties": { "ipSets": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:networkfirewall:RuleGroupIpSet" + } }, "portSets": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:networkfirewall:RuleGroupPortSet" + } } }, "type": "object" @@ -84152,6 +85275,17 @@ "metadataContent" ] }, + "aws-native:opensearchservice:DomainLogPublishingOption": { + "properties": { + "cloudWatchLogsLogGroupArn": { + "type": "string" + }, + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, "aws-native:opensearchservice:DomainMasterUserOptions": { "properties": { "masterUserArn": { @@ -86387,7 +87521,10 @@ "description": "The configuration to use with the solution. When performAutoML is set to true, Amazon Personalize only evaluates the autoMLConfig section of the solution configuration.", "properties": { "algorithmHyperParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Lists the hyperparameter names and ranges." }, "autoMlConfig": { @@ -86399,7 +87536,10 @@ "description": "Only events with a value greater than or equal to this threshold are used for training a model." }, "featureTransformationParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Lists the feature transformation parameters." }, "hpoConfig": { @@ -133637,7 +134777,10 @@ "description": "Caveats and recommendations for people who might use this model in their applications." }, "customDetails": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "customer details." }, "ethicalConsiderations": { @@ -133774,7 +134917,10 @@ "type": "string" }, "metadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "additional attributes associated with the evaluation results." }, "metricGroups": { @@ -142746,7 +143892,10 @@ "description": "Enable active tracing if set to true" }, "environmentVariables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Environment variable key-value pairs." }, "memoryInMb": { @@ -149415,7 +150564,10 @@ "aws-native:xray:SamplingRule": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Matches attributes derived from the request." }, "fixedRate": { @@ -149515,7 +150667,10 @@ "aws-native:xray:SamplingRuleUpdate": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Matches attributes derived from the request." }, "fixedRate": { @@ -151670,11 +152825,17 @@ "description": "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*.", "properties": { "responseParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs." }, "responseTemplates": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Response templates of the GatewayResponse as a string-to-string map of key-value pairs." }, "responseType": { @@ -151699,11 +152860,17 @@ ], "inputProperties": { "responseParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs." }, "responseTemplates": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Response templates of the GatewayResponse as a string-to-string map of key-value pairs." }, "responseType": { @@ -151768,11 +152935,17 @@ "description": "A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example." }, "requestModels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key)." }, "requestParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "boolean" + }, "description": "A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates." }, "requestValidatorId": { @@ -151836,11 +153009,17 @@ "description": "A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example." }, "requestModels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key)." }, "requestParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "boolean" + }, "description": "A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates." }, "requestValidatorId": { @@ -152075,7 +153254,10 @@ "description": "The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification." }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``." }, "policy": { @@ -152154,7 +153336,10 @@ "description": "The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification." }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``." }, "policy": { @@ -152234,7 +153419,10 @@ "description": "Specifies whether active tracing with X-ray is enabled for the Stage." }, "variables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#\u0026=,]+``." } }, @@ -152302,7 +153490,10 @@ "description": "Specifies whether active tracing with X-ray is enabled for the Stage." }, "variables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#\u0026=,]+``." } }, @@ -152555,7 +153746,10 @@ "description": "The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags. Each tag element is associated with a given resource." }, "target": { @@ -152630,7 +153824,10 @@ "description": "The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags. Each tag element is associated with a given resource." }, "target": { @@ -152906,7 +154103,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags associated with a domain name." } }, @@ -152938,7 +154138,10 @@ "description": "The mutual TLS authentication configuration for a custom domain name." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags associated with a domain name." } }, @@ -153520,7 +154723,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "This resource type use map for Tags, suggest to use List of Tag" }, "vpcLinkId": { @@ -153550,7 +154756,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "This resource type use map for Tags, suggest to use List of Tag" } }, @@ -153956,7 +155165,13 @@ "description": "Resource Type definition for AWS::AppConfig::Extension", "properties": { "actions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:appconfig:ExtensionAction" + } + } }, "arn": { "type": "string" @@ -153974,7 +155189,10 @@ "replaceOnChanges": true }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:appconfig:ExtensionParameter" + } }, "tags": { "type": "array", @@ -153997,7 +155215,13 @@ ], "inputProperties": { "actions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:appconfig:ExtensionAction" + } + } }, "description": { "type": "string", @@ -154011,7 +155235,10 @@ "description": "Name of the extension." }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:appconfig:ExtensionParameter" + } }, "tags": { "type": "array", @@ -154043,7 +155270,10 @@ "replaceOnChanges": true }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "resourceArn": { "type": "string" @@ -154075,7 +155305,10 @@ "type": "integer" }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "resourceIdentifier": { "type": "string" @@ -157988,7 +159221,10 @@ "replaceOnChanges": true }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. " }, "tags": { @@ -158018,7 +159254,10 @@ "description": "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. " }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. " }, "tags": { @@ -159522,7 +160761,10 @@ "type": "string" }, "backupPlanTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "versionId": { "type": "string" @@ -159545,7 +160787,10 @@ } }, "backupPlanTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "requiredInputs": [ @@ -159610,7 +160855,10 @@ "replaceOnChanges": true }, "backupVaultTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "encryptionKeyArn": { "type": "string", @@ -159636,7 +160884,10 @@ "type": "string" }, "backupVaultTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "encryptionKeyArn": { "type": "string" @@ -160027,7 +161278,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true }, @@ -160067,7 +161321,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "type": { @@ -160204,7 +161461,10 @@ "$ref": "#/types/aws-native:batch:JobQueueState" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true } @@ -160235,7 +161495,10 @@ "$ref": "#/types/aws-native:batch:JobQueueState" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } }, @@ -160259,7 +161522,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true } @@ -160277,7 +161543,10 @@ "description": "Name of Scheduling Policy." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } } @@ -162749,7 +164018,10 @@ } }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "parentId": { "type": "string" @@ -162830,7 +164102,10 @@ } }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "roleArn": { "type": "string" @@ -166332,7 +167607,10 @@ "$ref": "#/types/aws-native:codestarnotifications:NotificationRuleStatus" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetAddress": { "type": "string" @@ -166379,7 +167657,10 @@ "$ref": "#/types/aws-native:codestarnotifications:NotificationRuleStatus" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetAddress": { "type": "string" @@ -166550,10 +167831,16 @@ "replaceOnChanges": true }, "roleMappings": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentRoleMapping" + } }, "roles": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object", @@ -166565,10 +167852,16 @@ "type": "string" }, "roleMappings": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentRoleMapping" + } }, "roles": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "requiredInputs": [ @@ -166696,7 +167989,10 @@ "type": "string" }, "userPoolTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "usernameAttributes": { "type": "array", @@ -166792,7 +168088,10 @@ "type": "string" }, "userPoolTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "usernameAttributes": { "type": "array", @@ -167303,7 +168602,10 @@ "description": "Resource Type definition for AWS::Cognito::UserPoolUser", "properties": { "clientMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "replaceOnChanges": true }, "desiredDeliveryMediums": { @@ -167350,7 +168652,10 @@ ], "inputProperties": { "clientMetadata": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "desiredDeliveryMediums": { "type": "array", @@ -185592,7 +186897,10 @@ "replaceOnChanges": true }, "labels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Kubernetes labels to be applied to the nodes in the node group when they are created." }, "launchTemplate": { @@ -185631,7 +186939,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency." }, "taints": { @@ -185686,7 +186997,10 @@ "description": "Specify the instance types for a node group." }, "labels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Kubernetes labels to be applied to the nodes in the node group when they are created." }, "launchTemplate": { @@ -185721,7 +187035,10 @@ "description": "The subnets to use for the Auto Scaling group that is created for your node group." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency." }, "taints": { @@ -190884,7 +192201,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "replaceOnChanges": true }, "targets": { @@ -190922,7 +192242,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targets": { "$ref": "#/types/aws-native:fis:ExperimentTemplateTargetMap" @@ -195664,7 +196987,10 @@ "description": "Resource for Greengrass V2 deployment.", "properties": { "components": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentDeploymentSpecification" + }, "replaceOnChanges": true }, "deploymentId": { @@ -195687,7 +197013,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetArn": { "type": "string", @@ -195701,7 +197030,10 @@ ], "inputProperties": { "components": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentDeploymentSpecification" + } }, "deploymentName": { "type": "string" @@ -195716,7 +197048,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetArn": { "type": "string" @@ -197550,7 +198885,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component.", "replaceOnChanges": true }, @@ -197611,7 +198949,10 @@ "description": "The operating system (OS) version supported by the component." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." }, "uri": { @@ -197694,7 +199035,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Tags that are attached to the container recipe.", "replaceOnChanges": true }, @@ -197767,7 +199111,10 @@ "description": "Specifies the operating system platform when you use a custom source image." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Tags that are attached to the container recipe." }, "targetRepository": { @@ -197808,7 +199155,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." } }, @@ -197835,7 +199185,10 @@ "description": "The name of the distribution configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." } }, @@ -197902,7 +199255,10 @@ "description": "The name of the image." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the image.", "replaceOnChanges": true }, @@ -197956,7 +199312,10 @@ "description": "The Amazon Resource Name (ARN) of the infrastructure configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the image." }, "workflows": { @@ -198025,7 +199384,10 @@ "description": "The status of the image pipeline." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of this image pipeline." }, "workflows": { @@ -198090,7 +199452,10 @@ "description": "The status of the image pipeline." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of this image pipeline." }, "workflows": { @@ -198145,7 +199510,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of the image recipe.", "replaceOnChanges": true }, @@ -198200,7 +199568,10 @@ "description": "The parent image of the image recipe." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of the image recipe." }, "version": { @@ -198258,7 +199629,10 @@ "replaceOnChanges": true }, "resourceTags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags attached to the resource created by Image Builder." }, "securityGroupIds": { @@ -198277,7 +199651,10 @@ "description": "The subnet ID of the infrastructure configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." }, "terminateInstanceOnFailure": { @@ -198324,7 +199701,10 @@ "description": "The name of the infrastructure configuration." }, "resourceTags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags attached to the resource created by Image Builder." }, "securityGroupIds": { @@ -198343,7 +199723,10 @@ "description": "The subnet ID of the infrastructure configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." }, "terminateInstanceOnFailure": { @@ -198395,7 +199778,10 @@ "description": "The status of the lifecycle policy." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the lifecycle policy." } }, @@ -198441,7 +199827,10 @@ "description": "The status of the lifecycle policy." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the lifecycle policy." } }, @@ -198485,7 +199874,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the workflow.", "replaceOnChanges": true }, @@ -198534,7 +199926,10 @@ "description": "The name of the workflow." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the workflow." }, "type": { @@ -199125,7 +200520,10 @@ "type": "string" }, "tokenSigningPublicKeys": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object", @@ -199159,7 +200557,10 @@ "type": "string" }, "tokenSigningPublicKeys": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "requiredInputs": [ @@ -200346,7 +201747,10 @@ "description": "A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here." }, "alertTargets": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iot:SecurityProfileAlertTarget" + }, "description": "Specifies the destinations to which alerts are sent." }, "behaviors": { @@ -200401,7 +201805,10 @@ "description": "A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here." }, "alertTargets": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iot:SecurityProfileAlertTarget" + }, "description": "Specifies the destinations to which alerts are sent." }, "behaviors": { @@ -202596,7 +204003,10 @@ "replaceOnChanges": true }, "compositeComponentTypes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeCompositeComponentType" + }, "description": "An map of the composite component types in the component type. Each composite component type's key must be unique to this map." }, "creationDateTime": { @@ -202615,7 +204025,10 @@ "description": "Specifies the parent component type to extend." }, "functions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeFunction" + }, "description": "a Map of functions in the component type. Each function's key must be unique to this map." }, "isAbstract": { @@ -202631,11 +204044,17 @@ "description": "A Boolean value that specifies whether an entity can have more than one component of this type." }, "propertyDefinitions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyDefinition" + }, "description": "An map of the property definitions in the component type. Each property definition's key must be unique to this map." }, "propertyGroups": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyGroup" + }, "description": "An map of the property groups in the component type. Each property group's key must be unique to this map." }, "status": { @@ -202643,7 +204062,10 @@ "description": "The current status of the component type." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "updateDateTime": { @@ -202673,7 +204095,10 @@ "description": "The ID of the component type." }, "compositeComponentTypes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeCompositeComponentType" + }, "description": "An map of the composite component types in the component type. Each composite component type's key must be unique to this map." }, "description": { @@ -202688,7 +204113,10 @@ "description": "Specifies the parent component type to extend." }, "functions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeFunction" + }, "description": "a Map of functions in the component type. Each function's key must be unique to this map." }, "isSingleton": { @@ -202696,15 +204124,24 @@ "description": "A Boolean value that specifies whether an entity can have more than one component of this type." }, "propertyDefinitions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyDefinition" + }, "description": "An map of the property definitions in the component type. Each property definition's key must be unique to this map." }, "propertyGroups": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyGroup" + }, "description": "An map of the property groups in the component type. Each property group's key must be unique to this map." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "workspaceId": { @@ -202725,11 +204162,17 @@ "description": "The ARN of the entity." }, "components": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityComponent" + }, "description": "A map that sets information about a component type." }, "compositeComponents": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityCompositeComponent" + }, "description": "A map that sets information about a composite component." }, "creationDateTime": { @@ -202762,7 +204205,10 @@ "description": "The current status of the entity." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "updateDateTime": { @@ -202787,11 +204233,17 @@ ], "inputProperties": { "components": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityComponent" + }, "description": "A map that sets information about a component type." }, "compositeComponents": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityCompositeComponent" + }, "description": "A map that sets information about a composite component." }, "description": { @@ -202811,7 +204263,10 @@ "description": "The ID of the parent entity." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "workspaceId": { @@ -202850,7 +204305,10 @@ "description": "The description of the scene." }, "generatedSceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of generated scene metadata for the scene." }, "sceneId": { @@ -202859,11 +204317,17 @@ "replaceOnChanges": true }, "sceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of scene metadata for the scene." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "updateDateTime": { @@ -202907,11 +204371,17 @@ "description": "The ID of the scene." }, "sceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of scene metadata for the scene." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "workspaceId": { @@ -202951,7 +204421,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true }, @@ -202985,7 +204458,10 @@ "description": "The source of the SyncJob." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "workspaceId": { @@ -203023,7 +204499,10 @@ "description": "The ARN of the S3 bucket where resources associated with the workspace are stored." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "updateDateTime": { @@ -203059,7 +204538,10 @@ "description": "The ARN of the S3 bucket where resources associated with the workspace are stored." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "workspaceId": { @@ -204386,7 +205868,10 @@ "description": "Amazon Resource Name for the created Connector." }, "connectorConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The configuration for the connector.", "replaceOnChanges": true }, @@ -204457,7 +205942,10 @@ "$ref": "#/types/aws-native:kafkaconnect:ConnectorCapacity" }, "connectorConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The configuration for the connector." }, "connectorDescription": { @@ -214261,7 +215749,10 @@ "$ref": "#/types/aws-native:msk:ClusterStorageMode" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } }, @@ -214312,7 +215803,10 @@ "$ref": "#/types/aws-native:msk:ClusterStorageMode" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } }, @@ -214534,7 +216028,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true }, @@ -214561,7 +216058,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "vpcConfigs": { @@ -218453,7 +219953,10 @@ "$ref": "pulumi.json#/Any" }, "advancedOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "advancedSecurityOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainAdvancedSecurityOptionsInput" @@ -218480,7 +219983,10 @@ "type": "string" }, "domainEndpoints": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "domainName": { "type": "string", @@ -218499,7 +220005,10 @@ "type": "string" }, "logPublishingOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:opensearchservice:DomainLogPublishingOption" + } }, "nodeToNodeEncryptionOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainNodeToNodeEncryptionOptions" @@ -218541,7 +220050,10 @@ "$ref": "pulumi.json#/Any" }, "advancedOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "advancedSecurityOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainAdvancedSecurityOptionsInput" @@ -218571,7 +220083,10 @@ "type": "string" }, "logPublishingOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:opensearchservice:DomainLogPublishingOption" + } }, "nodeToNodeEncryptionOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainNodeToNodeEncryptionOptions" @@ -234948,7 +236463,10 @@ "replaceOnChanges": true }, "outputs": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "List of key-value pair outputs." }, "pathId": { @@ -238039,7 +239557,10 @@ "description": "Information about the policies assigned to a parameter.\n [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter." }, "tier": { @@ -238082,7 +239603,10 @@ "description": "Information about the policies assigned to a parameter.\n [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter." }, "tier": { @@ -244820,11 +246344,17 @@ "type": "string" }, "responseParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs." }, "responseTemplates": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Response templates of the GatewayResponse as a string-to-string map of key-value pairs." }, "statusCode": { @@ -244894,11 +246424,17 @@ "description": "A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example." }, "requestModels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key)." }, "requestParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "boolean" + }, "description": "A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates." }, "requestValidatorId": { @@ -245133,7 +246669,10 @@ "description": "Specifies whether active tracing with X-ray is enabled for the Stage." }, "variables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#\u0026=,]+``." } } @@ -245291,7 +246830,10 @@ "description": "The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags. Each tag element is associated with a given resource." }, "version": { @@ -245491,7 +247033,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags associated with a domain name." } } @@ -245837,7 +247382,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "This resource type use map for Tags, suggest to use List of Tag" }, "vpcLinkId": { @@ -246069,7 +247617,13 @@ "outputs": { "properties": { "actions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:appconfig:ExtensionAction" + } + } }, "arn": { "type": "string" @@ -246082,7 +247636,10 @@ "type": "string" }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:appconfig:ExtensionParameter" + } }, "versionNumber": { "type": "integer" @@ -246114,7 +247671,10 @@ "type": "string" }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "resourceArn": { "type": "string" @@ -248101,7 +249661,10 @@ "description": "A description of the data catalog to be created. " }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. " }, "tags": { @@ -248856,7 +250419,10 @@ "type": "string" }, "backupPlanTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "versionId": { "type": "string" @@ -248908,7 +250474,10 @@ "type": "string" }, "backupVaultTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "lockConfiguration": { "$ref": "#/types/aws-native:backup:BackupVaultLockConfigurationType" @@ -250567,7 +252136,10 @@ } }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "parentId": { "type": "string" @@ -252646,7 +254218,10 @@ "$ref": "#/types/aws-native:codestarnotifications:NotificationRuleStatus" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targets": { "type": "array", @@ -252758,10 +254333,16 @@ "type": "string" }, "roleMappings": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentRoleMapping" + } }, "roles": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } } } @@ -252885,7 +254466,10 @@ "type": "string" }, "userPoolTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "usernameAttributes": { "type": "array", @@ -262589,7 +264173,10 @@ "type": "string" }, "labels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Kubernetes labels to be applied to the nodes in the node group when they are created." }, "launchTemplate": { @@ -262605,7 +264192,10 @@ "description": "The scaling configuration details for the Auto Scaling group that is created for your node group." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency." }, "taints": { @@ -267921,7 +269511,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } } } @@ -269084,7 +270677,10 @@ "description": "The distributions of the distribution configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." } } @@ -269192,7 +270788,10 @@ "description": "The status of the image pipeline." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of this image pipeline." }, "workflows": { @@ -269278,7 +270877,10 @@ "description": "The logging configuration of the infrastructure configuration." }, "resourceTags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags attached to the resource created by Image Builder." }, "securityGroupIds": { @@ -269297,7 +270899,10 @@ "description": "The subnet ID of the infrastructure configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." }, "terminateInstanceOnFailure": { @@ -269354,7 +270959,10 @@ "description": "The status of the lifecycle policy." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the lifecycle policy." } } @@ -269894,7 +271502,10 @@ "type": "string" }, "tokenSigningPublicKeys": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } } } @@ -270531,7 +272142,10 @@ "description": "A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here." }, "alertTargets": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iot:SecurityProfileAlertTarget" + }, "description": "Specifies the destinations to which alerts are sent." }, "behaviors": { @@ -271908,7 +273522,10 @@ "description": "The ARN of the component type." }, "compositeComponentTypes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeCompositeComponentType" + }, "description": "An map of the composite component types in the component type. Each composite component type's key must be unique to this map." }, "creationDateTime": { @@ -271927,7 +273544,10 @@ "description": "Specifies the parent component type to extend." }, "functions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeFunction" + }, "description": "a Map of functions in the component type. Each function's key must be unique to this map." }, "isAbstract": { @@ -271943,11 +273563,17 @@ "description": "A Boolean value that specifies whether an entity can have more than one component of this type." }, "propertyDefinitions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyDefinition" + }, "description": "An map of the property definitions in the component type. Each property definition's key must be unique to this map." }, "propertyGroups": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyGroup" + }, "description": "An map of the property groups in the component type. Each property group's key must be unique to this map." }, "status": { @@ -271955,7 +273581,10 @@ "description": "The current status of the component type." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "updateDateTime": { @@ -271990,11 +273619,17 @@ "description": "The ARN of the entity." }, "components": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityComponent" + }, "description": "A map that sets information about a component type." }, "compositeComponents": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityCompositeComponent" + }, "description": "A map that sets information about a composite component." }, "creationDateTime": { @@ -272022,7 +273657,10 @@ "description": "The current status of the entity." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "updateDateTime": { @@ -272076,15 +273714,24 @@ "description": "The description of the scene." }, "generatedSceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of generated scene metadata for the scene." }, "sceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of scene metadata for the scene." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "updateDateTime": { @@ -272169,7 +273816,10 @@ "description": "The ARN of the S3 bucket where resources associated with the workspace are stored." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "updateDateTime": { @@ -278374,7 +280024,10 @@ "$ref": "#/types/aws-native:msk:ClusterStorageMode" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } } @@ -280573,7 +282226,10 @@ "$ref": "pulumi.json#/Any" }, "advancedOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "advancedSecurityOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainAdvancedSecurityOptionsInput" @@ -280600,7 +282256,10 @@ "type": "string" }, "domainEndpoints": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "ebsOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainEbsOptions" @@ -280618,7 +282277,10 @@ "type": "string" }, "logPublishingOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:opensearchservice:DomainLogPublishingOption" + } }, "nodeToNodeEncryptionOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainNodeToNodeEncryptionOptions" @@ -289084,7 +290746,10 @@ "type": "string" }, "outputs": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "List of key-value pair outputs." }, "pathId": { diff --git a/provider/cmd/pulumi-resource-aws-native/metadata.json b/provider/cmd/pulumi-resource-aws-native/metadata.json index d83d282dff..b874e90c79 100644 --- a/provider/cmd/pulumi-resource-aws-native/metadata.json +++ b/provider/cmd/pulumi-resource-aws-native/metadata.json @@ -1639,11 +1639,17 @@ "description": "A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example." }, "requestModels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key)." }, "requestParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "boolean" + }, "description": "A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates." }, "requestValidatorId": { @@ -1700,11 +1706,17 @@ "description": "A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example." }, "requestModels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key)." }, "requestParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "boolean" + }, "description": "A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates." }, "requestValidatorId": { @@ -1950,7 +1962,10 @@ "description": "The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification." }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``." }, "policy": { @@ -2018,7 +2033,10 @@ "description": "The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification." }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``." }, "policy": { @@ -2116,7 +2134,10 @@ "description": "Specifies whether active tracing with X-ray is enabled for the Stage." }, "variables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#\u0026=,]+``." } }, @@ -2182,7 +2203,10 @@ "description": "Specifies whether active tracing with X-ray is enabled for the Stage." }, "variables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#\u0026=,]+``." } }, @@ -2436,7 +2460,10 @@ "description": "The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags. Each tag element is associated with a given resource." }, "target": { @@ -2513,7 +2540,10 @@ "description": "The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags. Each tag element is associated with a given resource." }, "target": { @@ -2761,7 +2791,10 @@ "description": "The mutual TLS authentication configuration for a custom domain name." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags associated with a domain name." } }, @@ -2794,7 +2827,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags associated with a domain name." } }, @@ -3155,7 +3191,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "This resource type use map for Tags, suggest to use List of Tag" } }, @@ -3178,7 +3217,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "This resource type use map for Tags, suggest to use List of Tag" }, "vpcLinkId": { @@ -3435,7 +3477,13 @@ "cf": "AWS::AppConfig::Extension", "inputs": { "actions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:appconfig:ExtensionAction" + } + } }, "description": { "type": "string", @@ -3449,7 +3497,10 @@ "description": "Name of the extension." }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:appconfig:ExtensionParameter" + } }, "tags": { "type": "array", @@ -3461,7 +3512,13 @@ }, "outputs": { "actions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:appconfig:ExtensionAction" + } + } }, "arn": { "type": "string" @@ -3479,7 +3536,10 @@ "replaceOnChanges": true }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:appconfig:ExtensionParameter" + } }, "tags": { "type": "array", @@ -3522,7 +3582,10 @@ "type": "integer" }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "resourceIdentifier": { "type": "string" @@ -3551,7 +3614,10 @@ "replaceOnChanges": true }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "resourceArn": { "type": "string" @@ -6237,7 +6303,10 @@ "description": "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. " }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. " }, "tags": { @@ -6263,7 +6332,10 @@ "replaceOnChanges": true }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. " }, "tags": { @@ -7768,7 +7840,10 @@ } }, "backupPlanTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "outputs": { @@ -7787,7 +7862,10 @@ "type": "string" }, "backupPlanTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "versionId": { "type": "string" @@ -7849,7 +7927,10 @@ "type": "string" }, "backupVaultTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "encryptionKeyArn": { "type": "string" @@ -7873,7 +7954,10 @@ "replaceOnChanges": true }, "backupVaultTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "encryptionKeyArn": { "type": "string", @@ -8285,7 +8369,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "type": { @@ -8323,7 +8410,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true }, @@ -8476,7 +8566,10 @@ "$ref": "#/types/aws-native:batch:JobQueueState" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } }, @@ -8504,7 +8597,10 @@ "$ref": "#/types/aws-native:batch:JobQueueState" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true } @@ -8534,7 +8630,10 @@ "description": "Name of Scheduling Policy." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } }, @@ -8551,7 +8650,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true } @@ -10305,7 +10407,10 @@ } }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "roleArn": { "type": "string" @@ -10376,7 +10481,10 @@ } }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "parentId": { "type": "string" @@ -12872,7 +12980,10 @@ "$ref": "#/types/aws-native:codestarnotifications:NotificationRuleStatus" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetAddress": { "type": "string" @@ -12914,7 +13025,10 @@ "$ref": "#/types/aws-native:codestarnotifications:NotificationRuleStatus" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetAddress": { "type": "string" @@ -13102,10 +13216,16 @@ "type": "string" }, "roleMappings": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentRoleMapping" + } }, "roles": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "outputs": { @@ -13114,10 +13234,16 @@ "replaceOnChanges": true }, "roleMappings": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentRoleMapping" + } }, "roles": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "required": [ @@ -13235,7 +13361,10 @@ "type": "string" }, "userPoolTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "usernameAttributes": { "type": "array", @@ -13336,7 +13465,10 @@ "type": "string" }, "userPoolTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "usernameAttributes": { "type": "array", @@ -13811,7 +13943,10 @@ "cf": "AWS::Cognito::UserPoolUser", "inputs": { "clientMetadata": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "desiredDeliveryMediums": { "type": "array", @@ -13846,7 +13981,10 @@ }, "outputs": { "clientMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "replaceOnChanges": true }, "desiredDeliveryMediums": { @@ -29503,7 +29641,10 @@ "description": "Specify the instance types for a node group." }, "labels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Kubernetes labels to be applied to the nodes in the node group when they are created." }, "launchTemplate": { @@ -29538,7 +29679,10 @@ "description": "The subnets to use for the Auto Scaling group that is created for your node group." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency." }, "taints": { @@ -29594,7 +29738,10 @@ "replaceOnChanges": true }, "labels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Kubernetes labels to be applied to the nodes in the node group when they are created." }, "launchTemplate": { @@ -29633,7 +29780,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency." }, "taints": { @@ -33276,7 +33426,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targets": { "$ref": "#/types/aws-native:fis:ExperimentTemplateTargetMap" @@ -33305,7 +33458,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "replaceOnChanges": true }, "targets": { @@ -36117,7 +36273,10 @@ "cf": "AWS::GreengrassV2::Deployment", "inputs": { "components": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentDeploymentSpecification" + } }, "deploymentName": { "type": "string" @@ -36132,7 +36291,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetArn": { "type": "string" @@ -36140,7 +36302,10 @@ }, "outputs": { "components": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentDeploymentSpecification" + }, "replaceOnChanges": true }, "deploymentId": { @@ -36163,7 +36328,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetArn": { "type": "string", @@ -37772,7 +37940,10 @@ "description": "The operating system (OS) version supported by the component." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." }, "uri": { @@ -37832,7 +38003,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component.", "replaceOnChanges": true }, @@ -37927,7 +38101,10 @@ "description": "Specifies the operating system platform when you use a custom source image." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Tags that are attached to the container recipe." }, "targetRepository": { @@ -38007,7 +38184,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Tags that are attached to the container recipe.", "replaceOnChanges": true }, @@ -38073,7 +38253,10 @@ "description": "The name of the distribution configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." } }, @@ -38099,7 +38282,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." } }, @@ -38149,7 +38335,10 @@ "description": "The Amazon Resource Name (ARN) of the infrastructure configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the image." }, "workflows": { @@ -38217,7 +38406,10 @@ "description": "The name of the image." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the image.", "replaceOnChanges": true }, @@ -38294,7 +38486,10 @@ "description": "The status of the image pipeline." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of this image pipeline." }, "workflows": { @@ -38360,7 +38555,10 @@ "description": "The status of the image pipeline." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of this image pipeline." }, "workflows": { @@ -38412,7 +38610,10 @@ "description": "The parent image of the image recipe." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of the image recipe." }, "version": { @@ -38465,7 +38666,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of the image recipe.", "replaceOnChanges": true }, @@ -38534,7 +38738,10 @@ "description": "The name of the infrastructure configuration." }, "resourceTags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags attached to the resource created by Image Builder." }, "securityGroupIds": { @@ -38553,7 +38760,10 @@ "description": "The subnet ID of the infrastructure configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." }, "terminateInstanceOnFailure": { @@ -38599,7 +38809,10 @@ "replaceOnChanges": true }, "resourceTags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags attached to the resource created by Image Builder." }, "securityGroupIds": { @@ -38618,7 +38831,10 @@ "description": "The subnet ID of the infrastructure configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." }, "terminateInstanceOnFailure": { @@ -38671,7 +38887,10 @@ "description": "The status of the lifecycle policy." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the lifecycle policy." } }, @@ -38713,7 +38932,10 @@ "description": "The status of the lifecycle policy." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the lifecycle policy." } }, @@ -38754,7 +38976,10 @@ "description": "The name of the workflow." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the workflow." }, "type": { @@ -38801,7 +39026,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the workflow.", "replaceOnChanges": true }, @@ -39289,7 +39517,10 @@ "type": "string" }, "tokenSigningPublicKeys": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "outputs": { @@ -39323,7 +39554,10 @@ "type": "string" }, "tokenSigningPublicKeys": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "autoNamingSpec": { @@ -40526,7 +40760,10 @@ "description": "A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here." }, "alertTargets": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iot:SecurityProfileAlertTarget" + }, "description": "Specifies the destinations to which alerts are sent." }, "behaviors": { @@ -40572,7 +40809,10 @@ "description": "A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here." }, "alertTargets": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iot:SecurityProfileAlertTarget" + }, "description": "Specifies the destinations to which alerts are sent." }, "behaviors": { @@ -42118,7 +42358,10 @@ "description": "The ID of the component type." }, "compositeComponentTypes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeCompositeComponentType" + }, "description": "An map of the composite component types in the component type. Each composite component type's key must be unique to this map." }, "description": { @@ -42133,7 +42376,10 @@ "description": "Specifies the parent component type to extend." }, "functions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeFunction" + }, "description": "a Map of functions in the component type. Each function's key must be unique to this map." }, "isSingleton": { @@ -42141,15 +42387,24 @@ "description": "A Boolean value that specifies whether an entity can have more than one component of this type." }, "propertyDefinitions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyDefinition" + }, "description": "An map of the property definitions in the component type. Each property definition's key must be unique to this map." }, "propertyGroups": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyGroup" + }, "description": "An map of the property groups in the component type. Each property group's key must be unique to this map." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "workspaceId": { @@ -42168,7 +42423,10 @@ "replaceOnChanges": true }, "compositeComponentTypes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeCompositeComponentType" + }, "description": "An map of the composite component types in the component type. Each composite component type's key must be unique to this map." }, "creationDateTime": { @@ -42187,7 +42445,10 @@ "description": "Specifies the parent component type to extend." }, "functions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeFunction" + }, "description": "a Map of functions in the component type. Each function's key must be unique to this map." }, "isAbstract": { @@ -42203,11 +42464,17 @@ "description": "A Boolean value that specifies whether an entity can have more than one component of this type." }, "propertyDefinitions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyDefinition" + }, "description": "An map of the property definitions in the component type. Each property definition's key must be unique to this map." }, "propertyGroups": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyGroup" + }, "description": "An map of the property groups in the component type. Each property group's key must be unique to this map." }, "status": { @@ -42215,7 +42482,10 @@ "description": "The current status of the component type." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "updateDateTime": { @@ -42241,11 +42511,17 @@ "cf": "AWS::IoTTwinMaker::Entity", "inputs": { "components": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityComponent" + }, "description": "A map that sets information about a component type." }, "compositeComponents": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityCompositeComponent" + }, "description": "A map that sets information about a composite component." }, "description": { @@ -42265,7 +42541,10 @@ "description": "The ID of the parent entity." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "workspaceId": { @@ -42279,11 +42558,17 @@ "description": "The ARN of the entity." }, "components": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityComponent" + }, "description": "A map that sets information about a component type." }, "compositeComponents": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityCompositeComponent" + }, "description": "A map that sets information about a composite component." }, "creationDateTime": { @@ -42316,7 +42601,10 @@ "description": "The current status of the entity." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "updateDateTime": { @@ -42365,11 +42653,17 @@ "description": "The ID of the scene." }, "sceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of scene metadata for the scene." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "workspaceId": { @@ -42402,7 +42696,10 @@ "description": "The description of the scene." }, "generatedSceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of generated scene metadata for the scene." }, "sceneId": { @@ -42411,11 +42708,17 @@ "replaceOnChanges": true }, "sceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of scene metadata for the scene." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "updateDateTime": { @@ -42450,7 +42753,10 @@ "description": "The source of the SyncJob." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "workspaceId": { @@ -42482,7 +42788,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true }, @@ -42524,7 +42833,10 @@ "description": "The ARN of the S3 bucket where resources associated with the workspace are stored." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "workspaceId": { @@ -42554,7 +42866,10 @@ "description": "The ARN of the S3 bucket where resources associated with the workspace are stored." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "updateDateTime": { @@ -43742,7 +44057,10 @@ "$ref": "#/types/aws-native:kafkaconnect:ConnectorCapacity" }, "connectorConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The configuration for the connector." }, "connectorDescription": { @@ -43793,7 +44111,10 @@ "description": "Amazon Resource Name for the created Connector." }, "connectorConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The configuration for the connector.", "replaceOnChanges": true }, @@ -52329,7 +52650,10 @@ "$ref": "#/types/aws-native:msk:ClusterStorageMode" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } }, @@ -52376,7 +52700,10 @@ "$ref": "#/types/aws-native:msk:ClusterStorageMode" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } }, @@ -52610,7 +52937,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "vpcConfigs": { @@ -52633,7 +52963,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true }, @@ -56271,7 +56604,10 @@ "$ref": "pulumi.json#/Any" }, "advancedOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "advancedSecurityOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainAdvancedSecurityOptionsInput" @@ -56301,7 +56637,10 @@ "type": "string" }, "logPublishingOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:opensearchservice:DomainLogPublishingOption" + } }, "nodeToNodeEncryptionOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainNodeToNodeEncryptionOptions" @@ -56331,7 +56670,10 @@ "$ref": "pulumi.json#/Any" }, "advancedOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "advancedSecurityOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainAdvancedSecurityOptionsInput" @@ -56358,7 +56700,10 @@ "type": "string" }, "domainEndpoints": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "domainName": { "type": "string", @@ -56377,7 +56722,10 @@ "type": "string" }, "logPublishingOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:opensearchservice:DomainLogPublishingOption" + } }, "nodeToNodeEncryptionOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainNodeToNodeEncryptionOptions" @@ -69834,7 +70182,10 @@ "replaceOnChanges": true }, "outputs": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "List of key-value pair outputs." }, "pathId": { @@ -71584,7 +71935,10 @@ "description": "Information about the policies assigned to a parameter.\n [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter." }, "tier": { @@ -71623,7 +71977,10 @@ "description": "Information about the policies assigned to a parameter.\n [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter." }, "tier": { @@ -77477,7 +77834,10 @@ "description": "The percent (0-100) of traffic diverted to a canary deployment." }, "stageVariableOverrides": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "useStageCache": { @@ -77494,7 +77854,10 @@ "description": "The percentage (0.0-100.0) of traffic routed to the canary deployment." }, "stageVariableOverrides": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "useStageCache": { @@ -77630,7 +77993,10 @@ "description": "Specifies whether active tracing with X-ray is enabled for this stage.\n 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": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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-._~:/?#\u0026=,]+``." } } @@ -77758,11 +78124,17 @@ "description": "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." }, "requestParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "requestTemplates": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "timeoutInMillis": { @@ -77796,11 +78168,17 @@ "description": "Specifies how to handle response payload content type conversions. Supported values are ``CONVERT_TO_BINARY`` and ``CONVERT_TO_TEXT``, with the following behaviors:\n If this property is not defined, the response payload will be passed through from the integration response to the method response without modification." }, "responseParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "responseTemplates": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "selectionPattern": { @@ -77823,11 +78201,17 @@ "type": "object", "properties": { "responseModels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "responseParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "boolean" + }, "description": "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.)" }, "statusCode": { @@ -77912,7 +78296,10 @@ "description": "The percent (0-100) of traffic diverted to a canary deployment." }, "stageVariableOverrides": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "useStageCache": { @@ -77991,7 +78378,10 @@ "description": "API stage name of the associated API stage in a usage plan." }, "throttle": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:apigateway:UsagePlanThrottleSettings" + }, "description": "Map containing method level throttling information for API stage in a usage plan." } } @@ -78235,6 +78625,27 @@ } } }, + "aws-native:appconfig:ExtensionAction": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of the extension Action." + }, + "name": { + "type": "string", + "description": "The name of the extension action." + }, + "roleArn": { + "type": "string", + "description": "The ARN of the role for invoking the extension action." + }, + "uri": { + "type": "string", + "description": "The URI of the extension action." + } + } + }, "aws-native:appconfig:ExtensionAssociationTag": { "type": "object", "properties": { @@ -78250,6 +78661,18 @@ } } }, + "aws-native:appconfig:ExtensionParameter": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of the extension Parameter." + }, + "required": { + "type": "boolean" + } + } + }, "aws-native:appconfig:ExtensionTag": { "type": "object", "properties": { @@ -79999,7 +80422,13 @@ "type": "object", "properties": { "filters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, "description": "Restrictions for what files should be pulled from the source." }, "folders": { @@ -82710,7 +83139,10 @@ "$ref": "#/types/aws-native:backup:BackupPlanLifecycleResourceType" }, "recoveryPointTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "ruleName": { "type": "string" @@ -83187,7 +83619,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "type": { @@ -86926,6 +87361,54 @@ } } }, + "aws-native:cognito:IdentityPoolRoleAttachmentMappingRule": { + "type": "object", + "properties": { + "claim": { + "type": "string" + }, + "matchType": { + "type": "string" + }, + "roleArn": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "irreversibleNames": { + "roleArn": "RoleARN" + } + }, + "aws-native:cognito:IdentityPoolRoleAttachmentRoleMapping": { + "type": "object", + "properties": { + "ambiguousRoleResolution": { + "type": "string" + }, + "identityProvider": { + "type": "string" + }, + "rulesConfiguration": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentRulesConfigurationType" + }, + "type": { + "type": "string" + } + } + }, + "aws-native:cognito:IdentityPoolRoleAttachmentRulesConfigurationType": { + "type": "object", + "properties": { + "rules": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentMappingRule" + } + } + } + }, "aws-native:cognito:LogDeliveryConfigurationCloudWatchLogsConfiguration": { "type": "object", "properties": { @@ -97589,7 +98072,10 @@ "type": "string" }, "options": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "secretOptions": { "type": "array", @@ -97800,7 +98286,10 @@ } }, "dockerLabels": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "dockerSecurityOptions": { "type": "array", @@ -97983,10 +98472,16 @@ "type": "string" }, "driverOpts": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "labels": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "scope": { "type": "string" @@ -98039,7 +98534,10 @@ "type": "object", "properties": { "options": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "type": { "type": "string" @@ -98171,7 +98669,10 @@ "type": "string" }, "options": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "secretOptions": { "type": "array", @@ -99588,7 +100089,10 @@ "type": "object", "properties": { "authenticationRequestExtraParams": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "onUnauthenticatedRequest": { "type": "string" @@ -99617,7 +100121,10 @@ "type": "object", "properties": { "authenticationRequestExtraParams": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "authorizationEndpoint": { "type": "string" @@ -100153,7 +100660,10 @@ } }, "properties": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, @@ -100382,7 +100892,10 @@ "$ref": "#/types/aws-native:entityresolution:IdMappingWorkflowIntermediateSourceConfiguration" }, "providerConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format" }, "providerServiceArn": { @@ -100477,7 +100990,10 @@ "$ref": "#/types/aws-native:entityresolution:MatchingWorkflowIntermediateSourceConfiguration" }, "providerConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format" }, "providerServiceArn": { @@ -100920,7 +101436,10 @@ "type": "object", "properties": { "headerParameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "pathParameterValues": { "type": "array", @@ -100929,7 +101448,10 @@ } }, "queryStringParameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, @@ -100937,7 +101459,10 @@ "type": "object", "properties": { "inputPathsMap": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "inputTemplate": { "type": "string" @@ -103151,11 +103676,28 @@ } } }, + "aws-native:greengrassv2:ComponentVersionComponentDependencyRequirement": { + "type": "object", + "properties": { + "dependencyType": { + "$ref": "#/types/aws-native:greengrassv2:ComponentVersionComponentDependencyRequirementDependencyType" + }, + "versionRequirement": { + "type": "string" + } + } + }, + "aws-native:greengrassv2:ComponentVersionComponentDependencyRequirementDependencyType": { + "type": "string" + }, "aws-native:greengrassv2:ComponentVersionComponentPlatform": { "type": "object", "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "name": { "type": "string" @@ -103221,7 +103763,10 @@ "type": "object", "properties": { "environmentVariables": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "eventSources": { "type": "array", @@ -103271,7 +103816,10 @@ "type": "object", "properties": { "componentDependencies": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:greengrassv2:ComponentVersionComponentDependencyRequirement" + } }, "componentLambdaParameters": { "$ref": "#/types/aws-native:greengrassv2:ComponentVersionLambdaExecutionParameters" @@ -103324,6 +103872,48 @@ } } }, + "aws-native:greengrassv2:DeploymentComponentConfigurationUpdate": { + "type": "object", + "properties": { + "merge": { + "type": "string" + }, + "reset": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "aws-native:greengrassv2:DeploymentComponentDeploymentSpecification": { + "type": "object", + "properties": { + "componentVersion": { + "type": "string" + }, + "configurationUpdate": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentConfigurationUpdate" + }, + "runWith": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentRunWith" + } + } + }, + "aws-native:greengrassv2:DeploymentComponentRunWith": { + "type": "object", + "properties": { + "posixUser": { + "type": "string" + }, + "systemResourceLimits": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentSystemResourceLimits" + }, + "windowsUser": { + "type": "string" + } + } + }, "aws-native:greengrassv2:DeploymentComponentUpdatePolicy": { "type": "object", "properties": { @@ -103447,6 +104037,17 @@ "aws-native:greengrassv2:DeploymentPoliciesFailureHandlingPolicy": { "type": "string" }, + "aws-native:greengrassv2:DeploymentSystemResourceLimits": { + "type": "object", + "properties": { + "cpus": { + "type": "number" + }, + "memory": { + "type": "integer" + } + } + }, "aws-native:groundstation:ConfigAntennaDownlinkConfig": { "type": "object", "properties": { @@ -103940,11 +104541,67 @@ } } }, + "aws-native:guardduty:FilterCondition": { + "type": "object", + "properties": { + "eq": { + "type": "array", + "items": { + "type": "string" + } + }, + "equals": { + "type": "array", + "items": { + "type": "string" + } + }, + "greaterThan": { + "type": "integer" + }, + "greaterThanOrEqual": { + "type": "integer" + }, + "gt": { + "type": "integer" + }, + "gte": { + "type": "integer" + }, + "lessThan": { + "type": "integer" + }, + "lessThanOrEqual": { + "type": "integer" + }, + "lt": { + "type": "integer" + }, + "lte": { + "type": "integer" + }, + "neq": { + "type": "array", + "items": { + "type": "string" + } + }, + "notEquals": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "aws-native:guardduty:FilterFindingCriteria": { "type": "object", "properties": { "criterion": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:guardduty:FilterCondition" + } } } }, @@ -104359,7 +105016,10 @@ "type": "object", "properties": { "amiTags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags to apply to AMIs distributed to this Region." }, "description": { @@ -104944,7 +105604,10 @@ "description": "Use to apply lifecycle policy actions on AMIs shared with a set of regions." }, "tagMap": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The AMIs to select by tag." } } @@ -104956,7 +105619,10 @@ "$ref": "#/types/aws-native:imagebuilder:LifecyclePolicyAmiExclusionRules" }, "tagMap": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Image Builder tags to filter on." } } @@ -105053,7 +105719,10 @@ "description": "The recipes to select." }, "tagMap": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Image Builder resources to select by tag." } } @@ -106192,6 +106861,19 @@ } } }, + "aws-native:iot:SecurityProfileAlertTarget": { + "type": "object", + "properties": { + "alertTargetArn": { + "type": "string", + "description": "The ARN of the notification target to which alerts are sent." + }, + "roleArn": { + "type": "string", + "description": "The ARN of the role that grants permission to send alerts to the notification target." + } + } + }, "aws-native:iot:SecurityProfileBehavior": { "type": "object", "properties": { @@ -106396,7 +107078,10 @@ "type": "object", "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, @@ -106404,7 +107089,10 @@ "type": "object", "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, @@ -106843,7 +107531,10 @@ "type": "object", "properties": { "clientProperties": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "destinationArn": { "type": "string" @@ -107723,7 +108414,10 @@ "type": "object", "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "name": { "type": "string" @@ -109196,6 +109890,216 @@ } } }, + "aws-native:iottwinmaker:ComponentTypeCompositeComponentType": { + "type": "object", + "properties": { + "componentTypeId": { + "type": "string", + "description": "The id of the composite component type." + } + } + }, + "aws-native:iottwinmaker:ComponentTypeDataConnector": { + "type": "object", + "properties": { + "isNative": { + "type": "boolean", + "description": "A Boolean value that specifies whether the data connector is native to IoT TwinMaker." + }, + "lambda": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeLambdaFunction", + "description": "The Lambda function associated with this data connector." + } + } + }, + "aws-native:iottwinmaker:ComponentTypeDataType": { + "type": "object", + "properties": { + "allowedValues": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue" + }, + "description": "The allowed values for this data type." + }, + "nestedType": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataType", + "description": "The nested type in the data type." + }, + "relationship": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeRelationship", + "description": "A relationship that associates a component with another component." + }, + "type": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataTypeType", + "description": "The underlying type of the data type." + }, + "unitOfMeasure": { + "type": "string", + "description": "The unit of measure used in this data type." + } + } + }, + "aws-native:iottwinmaker:ComponentTypeDataTypeType": { + "type": "string" + }, + "aws-native:iottwinmaker:ComponentTypeDataValue": { + "type": "object", + "properties": { + "booleanValue": { + "type": "boolean", + "description": "A Boolean value." + }, + "doubleValue": { + "type": "number", + "description": "A double value." + }, + "expression": { + "type": "string", + "description": "An expression that produces the value." + }, + "integerValue": { + "type": "integer", + "description": "An integer value." + }, + "listValue": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue" + }, + "description": "A list of multiple values." + }, + "longValue": { + "type": "number", + "description": "A long value." + }, + "mapValue": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue" + }, + "description": "An object that maps strings to multiple DataValue objects. \n\n" + }, + "relationshipValue": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValueRelationshipValueProperties", + "description": "A value that relates a component to another component." + }, + "stringValue": { + "type": "string", + "description": "A string value." + } + } + }, + "aws-native:iottwinmaker:ComponentTypeDataValueRelationshipValueProperties": { + "type": "object", + "properties": { + "targetComponentName": { + "type": "string" + }, + "targetEntityId": { + "type": "string" + } + } + }, + "aws-native:iottwinmaker:ComponentTypeFunction": { + "type": "object", + "properties": { + "implementedBy": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataConnector", + "description": "The data connector." + }, + "requiredProperties": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The required properties of the function." + }, + "scope": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeFunctionScope", + "description": "The scope of the function." + } + } + }, + "aws-native:iottwinmaker:ComponentTypeFunctionScope": { + "type": "string" + }, + "aws-native:iottwinmaker:ComponentTypeLambdaFunction": { + "type": "object", + "properties": { + "arn": { + "type": "string" + } + } + }, + "aws-native:iottwinmaker:ComponentTypePropertyDefinition": { + "type": "object", + "properties": { + "configurations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "An object that specifies information about a property." + }, + "dataType": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataType", + "description": "An object that contains information about the data type." + }, + "defaultValue": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue", + "description": "An object that contains the default value." + }, + "isExternalId": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property ID comes from an external data store." + }, + "isRequiredInEntity": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is required." + }, + "isStoredExternally": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is stored externally." + }, + "isTimeSeries": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property consists of time series data." + } + } + }, + "aws-native:iottwinmaker:ComponentTypePropertyGroup": { + "type": "object", + "properties": { + "groupType": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyGroupGroupType", + "description": "The type of property group." + }, + "propertyNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of property names in the property group." + } + } + }, + "aws-native:iottwinmaker:ComponentTypePropertyGroupGroupType": { + "type": "string" + }, + "aws-native:iottwinmaker:ComponentTypeRelationship": { + "type": "object", + "properties": { + "relationshipType": { + "type": "string", + "description": "The type of the relationship." + }, + "targetComponentTypeId": { + "type": "string", + "description": "The ID of the target component type associated with this relationship." + } + } + }, "aws-native:iottwinmaker:ComponentTypeStatus": { "type": "object", "properties": { @@ -109245,6 +110149,266 @@ "aws-native:iottwinmaker:ComponentTypeStatusState": { "type": "string" }, + "aws-native:iottwinmaker:EntityComponent": { + "type": "object", + "properties": { + "componentName": { + "type": "string", + "description": "The name of the component." + }, + "componentTypeId": { + "type": "string", + "description": "The ID of the component type." + }, + "definedIn": { + "type": "string", + "description": "The name of the property definition set in the component." + }, + "description": { + "type": "string", + "description": "The description of the component." + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityProperty" + }, + "description": "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." + }, + "propertyGroups": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyGroup" + }, + "description": "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": { + "$ref": "#/types/aws-native:iottwinmaker:EntityStatus", + "description": "The current status of the entity." + } + } + }, + "aws-native:iottwinmaker:EntityCompositeComponent": { + "type": "object", + "properties": { + "componentName": { + "type": "string", + "description": "The name of the component." + }, + "componentPath": { + "type": "string", + "description": "The path of the component." + }, + "componentTypeId": { + "type": "string", + "description": "The ID of the component type." + }, + "description": { + "type": "string", + "description": "The description of the component." + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityProperty" + }, + "description": "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." + }, + "propertyGroups": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyGroup" + }, + "description": "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": { + "$ref": "#/types/aws-native:iottwinmaker:EntityStatus", + "description": "The current status of the component." + } + } + }, + "aws-native:iottwinmaker:EntityDataType": { + "type": "object", + "properties": { + "allowedValues": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue" + }, + "description": "The allowed values for this data type." + }, + "nestedType": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataType", + "description": "The nested type in the data type." + }, + "relationship": { + "$ref": "#/types/aws-native:iottwinmaker:EntityRelationship", + "description": "A relationship that associates a component with another component." + }, + "type": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataTypeType", + "description": "The underlying type of the data type." + }, + "unitOfMeasure": { + "type": "string", + "description": "The unit of measure used in this data type." + } + } + }, + "aws-native:iottwinmaker:EntityDataTypeType": { + "type": "string" + }, + "aws-native:iottwinmaker:EntityDataValue": { + "type": "object", + "properties": { + "booleanValue": { + "type": "boolean", + "description": "A Boolean value." + }, + "doubleValue": { + "type": "number", + "description": "A double value." + }, + "expression": { + "type": "string", + "description": "An expression that produces the value." + }, + "integerValue": { + "type": "integer", + "description": "An integer value." + }, + "listValue": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue" + }, + "description": "A list of multiple values." + }, + "longValue": { + "type": "number", + "description": "A long value." + }, + "mapValue": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue" + }, + "description": "An object that maps strings to multiple DataValue objects." + }, + "relationshipValue": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValueRelationshipValueProperties", + "description": "A value that relates a component to another component." + }, + "stringValue": { + "type": "string", + "description": "A string value." + } + } + }, + "aws-native:iottwinmaker:EntityDataValueRelationshipValueProperties": { + "type": "object", + "properties": { + "targetComponentName": { + "type": "string" + }, + "targetEntityId": { + "type": "string" + } + } + }, + "aws-native:iottwinmaker:EntityProperty": { + "type": "object", + "properties": { + "definition": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyDefinitionProperties", + "description": "An object that specifies information about a property." + }, + "value": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue", + "description": "The value of the property." + } + } + }, + "aws-native:iottwinmaker:EntityPropertyDefinitionConfiguration": { + "type": "object" + }, + "aws-native:iottwinmaker:EntityPropertyDefinitionProperties": { + "type": "object", + "properties": { + "configuration": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyDefinitionConfiguration", + "description": "An object that specifies information about a property." + }, + "dataType": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataType", + "description": "An object that contains information about the data type." + }, + "defaultValue": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue", + "description": "An object that contains the default value." + }, + "isExternalId": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property ID comes from an external data store." + }, + "isFinal": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property definition can be updated." + }, + "isImported": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property definition is imported from an external data store." + }, + "isInherited": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property definition is inherited from a parent entity." + }, + "isRequiredInEntity": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is required." + }, + "isStoredExternally": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is stored externally." + }, + "isTimeSeries": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property consists of time series data." + } + } + }, + "aws-native:iottwinmaker:EntityPropertyGroup": { + "type": "object", + "properties": { + "groupType": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyGroupGroupType", + "description": "The type of property group." + }, + "propertyNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of property names in the property group." + } + } + }, + "aws-native:iottwinmaker:EntityPropertyGroupGroupType": { + "type": "string" + }, + "aws-native:iottwinmaker:EntityRelationship": { + "type": "object", + "properties": { + "relationshipType": { + "type": "string", + "description": "The type of the relationship." + }, + "targetComponentTypeId": { + "type": "string", + "description": "The ID of the target component type associated with this relationship." + } + } + }, "aws-native:iottwinmaker:EntityStatus": { "type": "object", "properties": { @@ -113811,7 +114975,10 @@ "type": "object", "properties": { "variables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Environment variable key-value pairs." } } @@ -114245,6 +115412,40 @@ } } }, + "aws-native:lex:BotAllowedInputTypes": { + "type": "object", + "properties": { + "allowAudioInput": { + "type": "boolean", + "description": "Indicates whether audio input is allowed." + }, + "allowDtmfInput": { + "type": "boolean", + "description": "Indicates whether DTMF input is allowed." + } + }, + "irreversibleNames": { + "allowDtmfInput": "AllowDTMFInput" + } + }, + "aws-native:lex:BotAudioAndDtmfInputSpecification": { + "type": "object", + "properties": { + "audioSpecification": { + "$ref": "#/types/aws-native:lex:BotAudioSpecification" + }, + "dtmfSpecification": { + "$ref": "#/types/aws-native:lex:BotDtmfSpecification" + }, + "startTimeoutMs": { + "type": "integer", + "description": "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." + } + }, + "irreversibleNames": { + "dtmfSpecification": "DTMFSpecification" + } + }, "aws-native:lex:BotAudioLogDestination": { "type": "object", "properties": { @@ -114270,6 +115471,19 @@ "aws-native:lex:BotAudioRecognitionStrategy": { "type": "string" }, + "aws-native:lex:BotAudioSpecification": { + "type": "object", + "properties": { + "endTimeoutMs": { + "type": "integer", + "description": "Time for which a bot waits after the customer stops speaking to assume the utterance is finished." + }, + "maxLengthMs": { + "type": "integer", + "description": "Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application." + } + } + }, "aws-native:lex:BotButton": { "type": "object", "properties": { @@ -114490,6 +115704,27 @@ } } }, + "aws-native:lex:BotDtmfSpecification": { + "type": "object", + "properties": { + "deletionCharacter": { + "type": "string", + "description": "The DTMF character that clears the accumulated DTMF digits and immediately ends the input." + }, + "endCharacter": { + "type": "string", + "description": "The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout." + }, + "endTimeoutMs": { + "type": "integer", + "description": "How long the bot should wait after the last DTMF character input before assuming that the input has concluded." + }, + "maxLength": { + "type": "integer", + "description": "The maximum number of DTMF digits allowed in an utterance." + } + } + }, "aws-native:lex:BotElicitationCodeHookInvocationSetting": { "type": "object", "properties": { @@ -115055,6 +116290,27 @@ } } }, + "aws-native:lex:BotPromptAttemptSpecification": { + "type": "object", + "properties": { + "allowInterrupt": { + "type": "boolean", + "description": "Indicates whether the user can interrupt a speech prompt attempt from the bot." + }, + "allowedInputTypes": { + "$ref": "#/types/aws-native:lex:BotAllowedInputTypes" + }, + "audioAndDtmfInputSpecification": { + "$ref": "#/types/aws-native:lex:BotAudioAndDtmfInputSpecification" + }, + "textInputSpecification": { + "$ref": "#/types/aws-native:lex:BotTextInputSpecification" + } + }, + "irreversibleNames": { + "audioAndDtmfInputSpecification": "AudioAndDTMFInputSpecification" + } + }, "aws-native:lex:BotPromptSpecification": { "type": "object", "properties": { @@ -115075,7 +116331,10 @@ "$ref": "#/types/aws-native:lex:BotMessageSelectionStrategy" }, "promptAttemptsSpecification": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:lex:BotPromptAttemptSpecification" + }, "description": "Specifies the advanced settings on each attempt of the prompt." } } @@ -115475,6 +116734,15 @@ } } }, + "aws-native:lex:BotTextInputSpecification": { + "type": "object", + "properties": { + "startTimeoutMs": { + "type": "integer", + "description": "Time for which a bot waits before re-prompting a customer for text input." + } + } + }, "aws-native:lex:BotTextLogDestination": { "type": "object", "properties": { @@ -120106,7 +121374,10 @@ "type": "object", "properties": { "logDestination": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to configure the logDestinations." }, "logDestinationType": { @@ -120207,6 +121478,25 @@ "aws-native:networkfirewall:RuleGroupHeaderProtocol": { "type": "string" }, + "aws-native:networkfirewall:RuleGroupIpSet": { + "type": "object", + "properties": { + "definition": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "aws-native:networkfirewall:RuleGroupIpSetReference": { + "type": "object", + "properties": { + "referenceArn": { + "type": "string" + } + } + }, "aws-native:networkfirewall:RuleGroupMatchAttributes": { "type": "object", "properties": { @@ -120262,6 +121552,17 @@ } } }, + "aws-native:networkfirewall:RuleGroupPortSet": { + "type": "object", + "properties": { + "definition": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "aws-native:networkfirewall:RuleGroupPublishMetricAction": { "type": "object", "properties": { @@ -120277,7 +121578,10 @@ "type": "object", "properties": { "ipSetReferences": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:networkfirewall:RuleGroupIpSetReference" + } } }, "irreversibleNames": { @@ -120319,10 +121623,16 @@ "type": "object", "properties": { "ipSets": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:networkfirewall:RuleGroupIpSet" + } }, "portSets": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:networkfirewall:RuleGroupPortSet" + } } }, "irreversibleNames": { @@ -121684,6 +122994,17 @@ } } }, + "aws-native:opensearchservice:DomainLogPublishingOption": { + "type": "object", + "properties": { + "cloudWatchLogsLogGroupArn": { + "type": "string" + }, + "enabled": { + "type": "boolean" + } + } + }, "aws-native:opensearchservice:DomainMasterUserOptions": { "type": "object", "properties": { @@ -122831,7 +124152,10 @@ "type": "object", "properties": { "algorithmHyperParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Lists the hyperparameter names and ranges." }, "autoMlConfig": { @@ -122843,7 +124167,10 @@ "description": "Only events with a value greater than or equal to this threshold are used for training a model." }, "featureTransformationParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Lists the feature transformation parameters." }, "hpoConfig": { @@ -156289,7 +157616,10 @@ "description": "Caveats and recommendations for people who might use this model in their applications." }, "customDetails": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "customer details." }, "ethicalConsiderations": { @@ -156409,7 +157739,10 @@ "type": "string" }, "metadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "additional attributes associated with the evaluation results." }, "metricGroups": { @@ -161620,7 +162953,10 @@ "description": "Enable active tracing if set to true" }, "environmentVariables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Environment variable key-value pairs." }, "memoryInMb": { @@ -165455,7 +166791,10 @@ "type": "object", "properties": { "attributes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Matches attributes derived from the request." }, "fixedRate": { @@ -165546,7 +166885,10 @@ "type": "object", "properties": { "attributes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Matches attributes derived from the request." }, "fixedRate": { diff --git a/provider/cmd/pulumi-resource-aws-native/schema.json b/provider/cmd/pulumi-resource-aws-native/schema.json index f1053cdc8a..1f2ba944a3 100644 --- a/provider/cmd/pulumi-resource-aws-native/schema.json +++ b/provider/cmd/pulumi-resource-aws-native/schema.json @@ -1679,7 +1679,10 @@ "description": "The percent (0-100) of traffic diverted to a canary deployment." }, "stageVariableOverrides": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "useStageCache": { @@ -1697,7 +1700,10 @@ "description": "The percentage (0.0-100.0) of traffic routed to the canary deployment." }, "stageVariableOverrides": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "useStageCache": { @@ -1835,7 +1841,10 @@ "description": "Specifies whether active tracing with X-ray is enabled for this stage.\n 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": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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-._~:/?#\u0026=,]+``." } }, @@ -2039,11 +2048,17 @@ "description": "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." }, "requestParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "requestTemplates": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "timeoutInMillis": { @@ -2118,11 +2133,17 @@ "description": "Specifies how to handle response payload content type conversions. Supported values are ``CONVERT_TO_BINARY`` and ``CONVERT_TO_TEXT``, with the following behaviors:\n If this property is not defined, the response payload will be passed through from the integration response to the method response without modification." }, "responseParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "responseTemplates": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "selectionPattern": { @@ -2183,11 +2204,17 @@ "description": "Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.", "properties": { "responseModels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "responseParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "boolean" + }, "description": "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.)" }, "statusCode": { @@ -2283,7 +2310,10 @@ "description": "The percent (0-100) of traffic diverted to a canary deployment." }, "stageVariableOverrides": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "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." }, "useStageCache": { @@ -2368,7 +2398,10 @@ "description": "API stage name of the associated API stage in a usage plan." }, "throttle": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:apigateway:UsagePlanThrottleSettings" + }, "description": "Map containing method level throttling information for API stage in a usage plan." } }, @@ -2650,6 +2683,32 @@ "value" ] }, + "aws-native:appconfig:ExtensionAction": { + "description": "An action for an extension to take at a specific action point.", + "properties": { + "description": { + "type": "string", + "description": "The description of the extension Action." + }, + "name": { + "type": "string", + "description": "The name of the extension action." + }, + "roleArn": { + "type": "string", + "description": "The ARN of the role for invoking the extension action." + }, + "uri": { + "type": "string", + "description": "The URI of the extension action." + } + }, + "type": "object", + "required": [ + "name", + "uri" + ] + }, "aws-native:appconfig:ExtensionAssociationTag": { "description": "A key-value pair to associate with a resource.", "properties": { @@ -2670,6 +2729,22 @@ "value" ] }, + "aws-native:appconfig:ExtensionParameter": { + "description": "A parameter for the extension to send to a specific action.", + "properties": { + "description": { + "type": "string", + "description": "The description of the extension Parameter." + }, + "required": { + "type": "boolean" + } + }, + "type": "object", + "required": [ + "required" + ] + }, "aws-native:appconfig:ExtensionTag": { "description": "A key-value pair to associate with a resource.", "properties": { @@ -6196,7 +6271,13 @@ "description": "The configuration for what files should be pulled from the source.", "properties": { "filters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, "description": "Restrictions for what files should be pulled from the source." }, "folders": { @@ -9979,7 +10060,10 @@ "$ref": "#/types/aws-native:backup:BackupPlanLifecycleResourceType" }, "recoveryPointTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "ruleName": { "type": "string" @@ -10531,7 +10615,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "type": { @@ -15781,6 +15868,63 @@ }, "type": "object" }, + "aws-native:cognito:IdentityPoolRoleAttachmentMappingRule": { + "properties": { + "claim": { + "type": "string" + }, + "matchType": { + "type": "string" + }, + "roleArn": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "required": [ + "claim", + "matchType", + "roleArn", + "value" + ] + }, + "aws-native:cognito:IdentityPoolRoleAttachmentRoleMapping": { + "properties": { + "ambiguousRoleResolution": { + "type": "string" + }, + "identityProvider": { + "type": "string" + }, + "rulesConfiguration": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentRulesConfigurationType" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "aws-native:cognito:IdentityPoolRoleAttachmentRulesConfigurationType": { + "properties": { + "rules": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentMappingRule" + } + } + }, + "type": "object", + "required": [ + "rules" + ] + }, "aws-native:cognito:LogDeliveryConfigurationCloudWatchLogsConfiguration": { "properties": { "logGroupArn": { @@ -31965,7 +32109,10 @@ "type": "string" }, "options": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "secretOptions": { "type": "array", @@ -32241,7 +32388,10 @@ } }, "dockerLabels": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "dockerSecurityOptions": { "type": "array", @@ -32428,10 +32578,16 @@ "type": "string" }, "driverOpts": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "labels": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "scope": { "type": "string" @@ -32497,7 +32653,10 @@ "aws-native:ecs:TaskDefinitionFirelensConfiguration": { "properties": { "options": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "type": { "type": "string" @@ -32630,7 +32789,10 @@ "type": "string" }, "options": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "secretOptions": { "type": "array", @@ -34413,7 +34575,10 @@ "aws-native:elasticloadbalancingv2:ListenerRuleAuthenticateCognitoConfig": { "properties": { "authenticationRequestExtraParams": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "onUnauthenticatedRequest": { "type": "string" @@ -34447,7 +34612,10 @@ "aws-native:elasticloadbalancingv2:ListenerRuleAuthenticateOidcConfig": { "properties": { "authenticationRequestExtraParams": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "authorizationEndpoint": { "type": "string" @@ -35081,7 +35249,10 @@ } }, "properties": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object", @@ -35343,7 +35514,10 @@ "$ref": "#/types/aws-native:entityresolution:IdMappingWorkflowIntermediateSourceConfiguration" }, "providerConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format" }, "providerServiceArn": { @@ -35450,7 +35624,10 @@ "$ref": "#/types/aws-native:entityresolution:MatchingWorkflowIntermediateSourceConfiguration" }, "providerConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format" }, "providerServiceArn": { @@ -36169,7 +36346,10 @@ "aws-native:events:RuleHttpParameters": { "properties": { "headerParameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "pathParameterValues": { "type": "array", @@ -36178,7 +36358,10 @@ } }, "queryStringParameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object" @@ -36186,7 +36369,10 @@ "aws-native:events:RuleInputTransformer": { "properties": { "inputPathsMap": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "inputTemplate": { "type": "string" @@ -40085,10 +40271,37 @@ "subnetIds" ] }, + "aws-native:greengrassv2:ComponentVersionComponentDependencyRequirement": { + "properties": { + "dependencyType": { + "$ref": "#/types/aws-native:greengrassv2:ComponentVersionComponentDependencyRequirementDependencyType" + }, + "versionRequirement": { + "type": "string" + } + }, + "type": "object" + }, + "aws-native:greengrassv2:ComponentVersionComponentDependencyRequirementDependencyType": { + "type": "string", + "enum": [ + { + "name": "Soft", + "value": "SOFT" + }, + { + "name": "Hard", + "value": "HARD" + } + ] + }, "aws-native:greengrassv2:ComponentVersionComponentPlatform": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "name": { "type": "string" @@ -40160,7 +40373,10 @@ "aws-native:greengrassv2:ComponentVersionLambdaExecutionParameters": { "properties": { "environmentVariables": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "eventSources": { "type": "array", @@ -40230,7 +40446,10 @@ "aws-native:greengrassv2:ComponentVersionLambdaFunctionRecipeSource": { "properties": { "componentDependencies": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:greengrassv2:ComponentVersionComponentDependencyRequirement" + } }, "componentLambdaParameters": { "$ref": "#/types/aws-native:greengrassv2:ComponentVersionLambdaExecutionParameters" @@ -40294,6 +40513,48 @@ }, "type": "object" }, + "aws-native:greengrassv2:DeploymentComponentConfigurationUpdate": { + "properties": { + "merge": { + "type": "string" + }, + "reset": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "aws-native:greengrassv2:DeploymentComponentDeploymentSpecification": { + "properties": { + "componentVersion": { + "type": "string" + }, + "configurationUpdate": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentConfigurationUpdate" + }, + "runWith": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentRunWith" + } + }, + "type": "object" + }, + "aws-native:greengrassv2:DeploymentComponentRunWith": { + "properties": { + "posixUser": { + "type": "string" + }, + "systemResourceLimits": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentSystemResourceLimits" + }, + "windowsUser": { + "type": "string" + } + }, + "type": "object" + }, "aws-native:greengrassv2:DeploymentComponentUpdatePolicy": { "properties": { "action": { @@ -40475,6 +40736,17 @@ } ] }, + "aws-native:greengrassv2:DeploymentSystemResourceLimits": { + "properties": { + "cpus": { + "type": "number" + }, + "memory": { + "type": "integer" + } + }, + "type": "object" + }, "aws-native:groundstation:ConfigAntennaDownlinkConfig": { "properties": { "spectrumConfig": { @@ -41088,10 +41360,66 @@ "value" ] }, + "aws-native:guardduty:FilterCondition": { + "properties": { + "eq": { + "type": "array", + "items": { + "type": "string" + } + }, + "equals": { + "type": "array", + "items": { + "type": "string" + } + }, + "greaterThan": { + "type": "integer" + }, + "greaterThanOrEqual": { + "type": "integer" + }, + "gt": { + "type": "integer" + }, + "gte": { + "type": "integer" + }, + "lessThan": { + "type": "integer" + }, + "lessThanOrEqual": { + "type": "integer" + }, + "lt": { + "type": "integer" + }, + "lte": { + "type": "integer" + }, + "neq": { + "type": "array", + "items": { + "type": "string" + } + }, + "notEquals": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, "aws-native:guardduty:FilterFindingCriteria": { "properties": { "criterion": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:guardduty:FilterCondition" + } } }, "type": "object" @@ -41764,7 +42092,10 @@ "description": "The specific AMI settings (for example, launch permissions, AMI tags).", "properties": { "amiTags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags to apply to AMIs distributed to this Region." }, "description": { @@ -42490,7 +42821,10 @@ "description": "Use to apply lifecycle policy actions on AMIs shared with a set of regions." }, "tagMap": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The AMIs to select by tag." } }, @@ -42503,7 +42837,10 @@ "$ref": "#/types/aws-native:imagebuilder:LifecyclePolicyAmiExclusionRules" }, "tagMap": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Image Builder tags to filter on." } }, @@ -42633,7 +42970,10 @@ "description": "The recipes to select." }, "tagMap": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Image Builder resources to select by tag." } }, @@ -44811,6 +45151,24 @@ "value" ] }, + "aws-native:iot:SecurityProfileAlertTarget": { + "description": "A structure containing the alert target ARN and the role ARN.", + "properties": { + "alertTargetArn": { + "type": "string", + "description": "The ARN of the notification target to which alerts are sent." + }, + "roleArn": { + "type": "string", + "description": "The ARN of the role that grants permission to send alerts to the notification target." + } + }, + "type": "object", + "required": [ + "alertTargetArn", + "roleArn" + ] + }, "aws-native:iot:SecurityProfileBehavior": { "description": "A security profile behavior.", "properties": { @@ -45179,7 +45537,10 @@ "aws-native:iot:ThingAttributePayload": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object" @@ -45187,7 +45548,10 @@ "aws-native:iot:ThingGroupAttributePayload": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object" @@ -45744,7 +46108,10 @@ "aws-native:iot:TopicRuleKafkaAction": { "properties": { "clientProperties": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "destinationArn": { "type": "string" @@ -46791,7 +47158,10 @@ "aws-native:iotanalytics:PipelineAddAttributes": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "name": { "type": "string" @@ -48685,6 +49055,284 @@ "value" ] }, + "aws-native:iottwinmaker:ComponentTypeCompositeComponentType": { + "description": "An object that sets information about a composite component type.", + "properties": { + "componentTypeId": { + "type": "string", + "description": "The id of the composite component type." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypeDataConnector": { + "description": "The data connector.", + "properties": { + "isNative": { + "type": "boolean", + "description": "A Boolean value that specifies whether the data connector is native to IoT TwinMaker." + }, + "lambda": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeLambdaFunction", + "description": "The Lambda function associated with this data connector." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypeDataType": { + "description": "An object that specifies the data type of a property.", + "properties": { + "allowedValues": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue" + }, + "description": "The allowed values for this data type." + }, + "nestedType": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataType", + "description": "The nested type in the data type." + }, + "relationship": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeRelationship", + "description": "A relationship that associates a component with another component." + }, + "type": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataTypeType", + "description": "The underlying type of the data type." + }, + "unitOfMeasure": { + "type": "string", + "description": "The unit of measure used in this data type." + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "aws-native:iottwinmaker:ComponentTypeDataTypeType": { + "description": "The underlying type of the data type.", + "type": "string", + "enum": [ + { + "name": "Relationship", + "value": "RELATIONSHIP" + }, + { + "name": "String", + "value": "STRING" + }, + { + "name": "Long", + "value": "LONG" + }, + { + "name": "Boolean", + "value": "BOOLEAN" + }, + { + "name": "Integer", + "value": "INTEGER" + }, + { + "name": "Double", + "value": "DOUBLE" + }, + { + "name": "List", + "value": "LIST" + }, + { + "name": "Map", + "value": "MAP" + } + ] + }, + "aws-native:iottwinmaker:ComponentTypeDataValue": { + "description": "An object that specifies a value for a property.", + "properties": { + "booleanValue": { + "type": "boolean", + "description": "A Boolean value." + }, + "doubleValue": { + "type": "number", + "description": "A double value." + }, + "expression": { + "type": "string", + "description": "An expression that produces the value." + }, + "integerValue": { + "type": "integer", + "description": "An integer value." + }, + "listValue": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue" + }, + "description": "A list of multiple values." + }, + "longValue": { + "type": "number", + "description": "A long value." + }, + "mapValue": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue" + }, + "description": "An object that maps strings to multiple DataValue objects. \n\n" + }, + "relationshipValue": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValueRelationshipValueProperties", + "description": "A value that relates a component to another component." + }, + "stringValue": { + "type": "string", + "description": "A string value." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypeDataValueRelationshipValueProperties": { + "description": "A value that relates a component to another component.", + "properties": { + "targetComponentName": { + "type": "string" + }, + "targetEntityId": { + "type": "string" + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypeFunction": { + "description": "The function of component type.", + "properties": { + "implementedBy": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataConnector", + "description": "The data connector." + }, + "requiredProperties": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The required properties of the function." + }, + "scope": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeFunctionScope", + "description": "The scope of the function." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypeFunctionScope": { + "description": "The scope of the function.", + "type": "string", + "enum": [ + { + "name": "Entity", + "value": "ENTITY" + }, + { + "name": "Workspace", + "value": "WORKSPACE" + } + ] + }, + "aws-native:iottwinmaker:ComponentTypeLambdaFunction": { + "properties": { + "arn": { + "type": "string" + } + }, + "type": "object", + "required": [ + "arn" + ] + }, + "aws-native:iottwinmaker:ComponentTypePropertyDefinition": { + "description": "An object that sets information about a property.", + "properties": { + "configurations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "An object that specifies information about a property." + }, + "dataType": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataType", + "description": "An object that contains information about the data type." + }, + "defaultValue": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeDataValue", + "description": "An object that contains the default value." + }, + "isExternalId": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property ID comes from an external data store." + }, + "isRequiredInEntity": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is required." + }, + "isStoredExternally": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is stored externally." + }, + "isTimeSeries": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property consists of time series data." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypePropertyGroup": { + "description": "An object that sets information about a property group.", + "properties": { + "groupType": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyGroupGroupType", + "description": "The type of property group." + }, + "propertyNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of property names in the property group." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:ComponentTypePropertyGroupGroupType": { + "description": "The type of property group.", + "type": "string", + "enum": [ + { + "name": "Tabular", + "value": "TABULAR" + } + ] + }, + "aws-native:iottwinmaker:ComponentTypeRelationship": { + "description": "The type of the relationship.", + "properties": { + "relationshipType": { + "type": "string", + "description": "The type of the relationship." + }, + "targetComponentTypeId": { + "type": "string", + "description": "The ID of the target component type associated with this relationship." + } + }, + "type": "object" + }, "aws-native:iottwinmaker:ComponentTypeStatus": { "properties": { "error": { @@ -48778,6 +49426,315 @@ } ] }, + "aws-native:iottwinmaker:EntityComponent": { + "properties": { + "componentName": { + "type": "string", + "description": "The name of the component." + }, + "componentTypeId": { + "type": "string", + "description": "The ID of the component type." + }, + "definedIn": { + "type": "string", + "description": "The name of the property definition set in the component." + }, + "description": { + "type": "string", + "description": "The description of the component." + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityProperty" + }, + "description": "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." + }, + "propertyGroups": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyGroup" + }, + "description": "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": { + "$ref": "#/types/aws-native:iottwinmaker:EntityStatus", + "description": "The current status of the entity." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityCompositeComponent": { + "properties": { + "componentName": { + "type": "string", + "description": "The name of the component." + }, + "componentPath": { + "type": "string", + "description": "The path of the component." + }, + "componentTypeId": { + "type": "string", + "description": "The ID of the component type." + }, + "description": { + "type": "string", + "description": "The description of the component." + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityProperty" + }, + "description": "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." + }, + "propertyGroups": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyGroup" + }, + "description": "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": { + "$ref": "#/types/aws-native:iottwinmaker:EntityStatus", + "description": "The current status of the component." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityDataType": { + "description": "An object that specifies the data type of a property.", + "properties": { + "allowedValues": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue" + }, + "description": "The allowed values for this data type." + }, + "nestedType": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataType", + "description": "The nested type in the data type." + }, + "relationship": { + "$ref": "#/types/aws-native:iottwinmaker:EntityRelationship", + "description": "A relationship that associates a component with another component." + }, + "type": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataTypeType", + "description": "The underlying type of the data type." + }, + "unitOfMeasure": { + "type": "string", + "description": "The unit of measure used in this data type." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityDataTypeType": { + "description": "The underlying type of the data type.", + "type": "string", + "enum": [ + { + "name": "Relationship", + "value": "RELATIONSHIP" + }, + { + "name": "String", + "value": "STRING" + }, + { + "name": "Long", + "value": "LONG" + }, + { + "name": "Boolean", + "value": "BOOLEAN" + }, + { + "name": "Integer", + "value": "INTEGER" + }, + { + "name": "Double", + "value": "DOUBLE" + }, + { + "name": "List", + "value": "LIST" + }, + { + "name": "Map", + "value": "MAP" + } + ] + }, + "aws-native:iottwinmaker:EntityDataValue": { + "description": "An object that specifies a value for a property.", + "properties": { + "booleanValue": { + "type": "boolean", + "description": "A Boolean value." + }, + "doubleValue": { + "type": "number", + "description": "A double value." + }, + "expression": { + "type": "string", + "description": "An expression that produces the value." + }, + "integerValue": { + "type": "integer", + "description": "An integer value." + }, + "listValue": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue" + }, + "description": "A list of multiple values." + }, + "longValue": { + "type": "number", + "description": "A long value." + }, + "mapValue": { + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue" + }, + "description": "An object that maps strings to multiple DataValue objects." + }, + "relationshipValue": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValueRelationshipValueProperties", + "description": "A value that relates a component to another component." + }, + "stringValue": { + "type": "string", + "description": "A string value." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityDataValueRelationshipValueProperties": { + "description": "A value that relates a component to another component.", + "properties": { + "targetComponentName": { + "type": "string" + }, + "targetEntityId": { + "type": "string" + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityProperty": { + "properties": { + "definition": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyDefinitionProperties", + "description": "An object that specifies information about a property." + }, + "value": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue", + "description": "The value of the property." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityPropertyDefinitionConfiguration": { + "description": "An object that specifies information about a property.", + "type": "object" + }, + "aws-native:iottwinmaker:EntityPropertyDefinitionProperties": { + "description": "An object that specifies information about a property.", + "properties": { + "configuration": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyDefinitionConfiguration", + "description": "An object that specifies information about a property." + }, + "dataType": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataType", + "description": "An object that contains information about the data type." + }, + "defaultValue": { + "$ref": "#/types/aws-native:iottwinmaker:EntityDataValue", + "description": "An object that contains the default value." + }, + "isExternalId": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property ID comes from an external data store." + }, + "isFinal": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property definition can be updated." + }, + "isImported": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property definition is imported from an external data store." + }, + "isInherited": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property definition is inherited from a parent entity." + }, + "isRequiredInEntity": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is required." + }, + "isStoredExternally": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property is stored externally." + }, + "isTimeSeries": { + "type": "boolean", + "description": "A Boolean value that specifies whether the property consists of time series data." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityPropertyGroup": { + "description": "An object that specifies information about a property group.", + "properties": { + "groupType": { + "$ref": "#/types/aws-native:iottwinmaker:EntityPropertyGroupGroupType", + "description": "The type of property group." + }, + "propertyNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of property names in the property group." + } + }, + "type": "object" + }, + "aws-native:iottwinmaker:EntityPropertyGroupGroupType": { + "description": "The type of property group.", + "type": "string", + "enum": [ + { + "name": "Tabular", + "value": "TABULAR" + } + ] + }, + "aws-native:iottwinmaker:EntityRelationship": { + "description": "The type of the relationship.", + "properties": { + "relationshipType": { + "type": "string", + "description": "The type of the relationship." + }, + "targetComponentTypeId": { + "type": "string", + "description": "The ID of the target component type associated with this relationship." + } + }, + "type": "object" + }, "aws-native:iottwinmaker:EntityStatus": { "properties": { "error": { @@ -55290,7 +56247,10 @@ "description": "A function's environment variable settings.", "properties": { "variables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Environment variable key-value pairs." } }, @@ -56003,6 +56963,43 @@ "enabled" ] }, + "aws-native:lex:BotAllowedInputTypes": { + "description": "Specifies the allowed input types.", + "properties": { + "allowAudioInput": { + "type": "boolean", + "description": "Indicates whether audio input is allowed." + }, + "allowDtmfInput": { + "type": "boolean", + "description": "Indicates whether DTMF input is allowed." + } + }, + "type": "object", + "required": [ + "allowAudioInput", + "allowDtmfInput" + ] + }, + "aws-native:lex:BotAudioAndDtmfInputSpecification": { + "description": "Specifies the audio and DTMF input specification.", + "properties": { + "audioSpecification": { + "$ref": "#/types/aws-native:lex:BotAudioSpecification" + }, + "dtmfSpecification": { + "$ref": "#/types/aws-native:lex:BotDtmfSpecification" + }, + "startTimeoutMs": { + "type": "integer", + "description": "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." + } + }, + "type": "object", + "required": [ + "startTimeoutMs" + ] + }, "aws-native:lex:BotAudioLogDestination": { "description": "The location of audio log files collected when conversation logging is enabled for a bot.", "properties": { @@ -56041,6 +57038,24 @@ } ] }, + "aws-native:lex:BotAudioSpecification": { + "description": "Specifies the audio input specifications.", + "properties": { + "endTimeoutMs": { + "type": "integer", + "description": "Time for which a bot waits after the customer stops speaking to assume the utterance is finished." + }, + "maxLengthMs": { + "type": "integer", + "description": "Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application." + } + }, + "type": "object", + "required": [ + "endTimeoutMs", + "maxLengthMs" + ] + }, "aws-native:lex:BotButton": { "description": "A button to use on a response card used to gather slot values from a user.", "properties": { @@ -56358,6 +57373,34 @@ }, "type": "object" }, + "aws-native:lex:BotDtmfSpecification": { + "description": "Specifies the settings on DTMF input.", + "properties": { + "deletionCharacter": { + "type": "string", + "description": "The DTMF character that clears the accumulated DTMF digits and immediately ends the input." + }, + "endCharacter": { + "type": "string", + "description": "The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout." + }, + "endTimeoutMs": { + "type": "integer", + "description": "How long the bot should wait after the last DTMF character input before assuming that the input has concluded." + }, + "maxLength": { + "type": "integer", + "description": "The maximum number of DTMF digits allowed in an utterance." + } + }, + "type": "object", + "required": [ + "deletionCharacter", + "endCharacter", + "endTimeoutMs", + "maxLength" + ] + }, "aws-native:lex:BotElicitationCodeHookInvocationSetting": { "description": "Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values.", "properties": { @@ -57022,6 +58065,28 @@ }, "type": "object" }, + "aws-native:lex:BotPromptAttemptSpecification": { + "description": "Specifies the settings on a prompt attempt.", + "properties": { + "allowInterrupt": { + "type": "boolean", + "description": "Indicates whether the user can interrupt a speech prompt attempt from the bot." + }, + "allowedInputTypes": { + "$ref": "#/types/aws-native:lex:BotAllowedInputTypes" + }, + "audioAndDtmfInputSpecification": { + "$ref": "#/types/aws-native:lex:BotAudioAndDtmfInputSpecification" + }, + "textInputSpecification": { + "$ref": "#/types/aws-native:lex:BotTextInputSpecification" + } + }, + "type": "object", + "required": [ + "allowedInputTypes" + ] + }, "aws-native:lex:BotPromptSpecification": { "description": "Prompts the user to confirm the intent.", "properties": { @@ -57042,7 +58107,10 @@ "$ref": "#/types/aws-native:lex:BotMessageSelectionStrategy" }, "promptAttemptsSpecification": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:lex:BotPromptAttemptSpecification" + }, "description": "Specifies the advanced settings on each attempt of the prompt." } }, @@ -57559,6 +58627,19 @@ "detectSentiment" ] }, + "aws-native:lex:BotTextInputSpecification": { + "description": "Specifies the text input specifications.", + "properties": { + "startTimeoutMs": { + "type": "integer", + "description": "Time for which a bot waits before re-prompting a customer for text input." + } + }, + "type": "object", + "required": [ + "startTimeoutMs" + ] + }, "aws-native:lex:BotTextLogDestination": { "description": "Defines the Amazon CloudWatch Logs destination log group for conversation text logs.", "properties": { @@ -64740,7 +65821,10 @@ "aws-native:networkfirewall:LoggingConfigurationLogDestinationConfig": { "properties": { "logDestination": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to configure the logDestinations." }, "logDestinationType": { @@ -64990,6 +66074,25 @@ } ] }, + "aws-native:networkfirewall:RuleGroupIpSet": { + "properties": { + "definition": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "aws-native:networkfirewall:RuleGroupIpSetReference": { + "properties": { + "referenceArn": { + "type": "string" + } + }, + "type": "object" + }, "aws-native:networkfirewall:RuleGroupMatchAttributes": { "properties": { "destinationPorts": { @@ -65046,6 +66149,17 @@ "toPort" ] }, + "aws-native:networkfirewall:RuleGroupPortSet": { + "properties": { + "definition": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, "aws-native:networkfirewall:RuleGroupPublishMetricAction": { "properties": { "dimensions": { @@ -65063,7 +66177,10 @@ "aws-native:networkfirewall:RuleGroupReferenceSets": { "properties": { "ipSetReferences": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:networkfirewall:RuleGroupIpSetReference" + } } }, "type": "object" @@ -65119,10 +66236,16 @@ "aws-native:networkfirewall:RuleGroupRuleVariables": { "properties": { "ipSets": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:networkfirewall:RuleGroupIpSet" + } }, "portSets": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:networkfirewall:RuleGroupPortSet" + } } }, "type": "object" @@ -67170,6 +68293,17 @@ "metadataContent" ] }, + "aws-native:opensearchservice:DomainLogPublishingOption": { + "properties": { + "cloudWatchLogsLogGroupArn": { + "type": "string" + }, + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, "aws-native:opensearchservice:DomainMasterUserOptions": { "properties": { "masterUserArn": { @@ -69048,7 +70182,10 @@ "description": "The configuration to use with the solution. When performAutoML is set to true, Amazon Personalize only evaluates the autoMLConfig section of the solution configuration.", "properties": { "algorithmHyperParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Lists the hyperparameter names and ranges." }, "autoMlConfig": { @@ -69060,7 +70197,10 @@ "description": "Only events with a value greater than or equal to this threshold are used for training a model." }, "featureTransformationParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Lists the feature transformation parameters." }, "hpoConfig": { @@ -114608,7 +115748,10 @@ "description": "Caveats and recommendations for people who might use this model in their applications." }, "customDetails": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "customer details." }, "ethicalConsiderations": { @@ -114745,7 +115888,10 @@ "type": "string" }, "metadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "additional attributes associated with the evaluation results." }, "metricGroups": { @@ -122752,7 +123898,10 @@ "description": "Enable active tracing if set to true" }, "environmentVariables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Environment variable key-value pairs." }, "memoryInMb": { @@ -128767,7 +129916,10 @@ "aws-native:xray:SamplingRule": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Matches attributes derived from the request." }, "fixedRate": { @@ -128867,7 +130019,10 @@ "aws-native:xray:SamplingRuleUpdate": { "properties": { "attributes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Matches attributes derived from the request." }, "fixedRate": { @@ -130717,11 +131872,17 @@ "description": "A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example." }, "requestModels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key)." }, "requestParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "boolean" + }, "description": "A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates." }, "requestValidatorId": { @@ -130785,11 +131946,17 @@ "description": "A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example." }, "requestModels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key)." }, "requestParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "boolean" + }, "description": "A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates." }, "requestValidatorId": { @@ -130970,7 +132137,7 @@ ] }, "aws-native:apigateway:RestApi": { - "description": "The ``AWS::ApiGateway::RestApi`` resource creates a REST API. For more information, see [restapi:create](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateRestApi.html) in the *Amazon API Gateway REST API Reference*.\n 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.\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var description = config.Require(\"description\");\n var version = config.Require(\"version\");\n var type = config.Require(\"type\");\n var property = config.Require(\"property\");\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = apiName,\n });\n\n var documentationPart = new AwsNative.ApiGateway.DocumentationPart(\"documentationPart\", new()\n {\n Location = new AwsNative.ApiGateway.Inputs.DocumentationPartLocationArgs\n {\n Type = System.Enum.Parse\u003cAwsNative.ApiGateway.DocumentationPartLocationType\u003e(type),\n },\n RestApiId = restApi.Id,\n Properties = property,\n });\n\n var documentationVersion = new AwsNative.ApiGateway.DocumentationVersion(\"documentationVersion\", new()\n {\n Description = description,\n DocumentationVersionValue = version,\n RestApiId = restApi.Id,\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n documentationPart,\n },\n });\n\n});\n\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst description = config.require(\"description\");\nconst version = config.require(\"version\");\nconst type = config.require(\"type\");\nconst property = config.require(\"property\");\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: apiName});\nconst documentationPart = new aws_native.apigateway.DocumentationPart(\"documentationPart\", {\n location: {\n type: aws_native.apigateway.DocumentationPartLocationType[type],\n },\n restApiId: restApi.id,\n properties: property,\n});\nconst documentationVersion = new aws_native.apigateway.DocumentationVersion(\"documentationVersion\", {\n description: description,\n documentationVersion: version,\n restApiId: restApi.id,\n}, {\n dependsOn: [documentationPart],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\ndescription = config.require(\"description\")\nversion = config.require(\"version\")\ntype = config.require(\"type\")\nproperty = config.require(\"property\")\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=api_name)\ndocumentation_part = aws_native.apigateway.DocumentationPart(\"documentationPart\",\n location=aws_native.apigateway.DocumentationPartLocationArgs(\n type=aws_native.apigateway.DocumentationPartLocationType(type),\n ),\n rest_api_id=rest_api.id,\n properties=property)\ndocumentation_version = aws_native.apigateway.DocumentationVersion(\"documentationVersion\",\n description=description,\n documentation_version=version,\n rest_api_id=rest_api.id,\n opts=pulumi.ResourceOptions(depends_on=[documentation_part]))\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var description = config.Require(\"description\");\n var version = config.Require(\"version\");\n var type = config.Require(\"type\");\n var property = config.Require(\"property\");\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = apiName,\n });\n\n var documentationPart = new AwsNative.ApiGateway.DocumentationPart(\"documentationPart\", new()\n {\n Location = new AwsNative.ApiGateway.Inputs.DocumentationPartLocationArgs\n {\n Type = System.Enum.Parse\u003cAwsNative.ApiGateway.DocumentationPartLocationType\u003e(type),\n },\n RestApiId = restApi.Id,\n Properties = property,\n });\n\n var documentationVersion = new AwsNative.ApiGateway.DocumentationVersion(\"documentationVersion\", new()\n {\n Description = description,\n DocumentationVersionValue = version,\n RestApiId = restApi.Id,\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n documentationPart,\n },\n });\n\n});\n\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst description = config.require(\"description\");\nconst version = config.require(\"version\");\nconst type = config.require(\"type\");\nconst property = config.require(\"property\");\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: apiName});\nconst documentationPart = new aws_native.apigateway.DocumentationPart(\"documentationPart\", {\n location: {\n type: aws_native.apigateway.DocumentationPartLocationType[type],\n },\n restApiId: restApi.id,\n properties: property,\n});\nconst documentationVersion = new aws_native.apigateway.DocumentationVersion(\"documentationVersion\", {\n description: description,\n documentationVersion: version,\n restApiId: restApi.id,\n}, {\n dependsOn: [documentationPart],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\ndescription = config.require(\"description\")\nversion = config.require(\"version\")\ntype = config.require(\"type\")\nproperty = config.require(\"property\")\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=api_name)\ndocumentation_part = aws_native.apigateway.DocumentationPart(\"documentationPart\",\n location=aws_native.apigateway.DocumentationPartLocationArgs(\n type=aws_native.apigateway.DocumentationPartLocationType(type),\n ),\n rest_api_id=rest_api.id,\n properties=property)\ndocumentation_version = aws_native.apigateway.DocumentationVersion(\"documentationVersion\",\n description=description,\n documentation_version=version,\n rest_api_id=rest_api.id,\n opts=pulumi.ResourceOptions(depends_on=[documentation_part]))\n\n```\n\n{{% /example %}}\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 config = new Config();\n var contentHandling = config.Require(\"contentHandling\");\n var operationName = config.Get(\"operationName\") ?? \"testoperationName\";\n var restApiName = config.Get(\"restApiName\") ?? \"testrestApiName\";\n var validatorName = config.Get(\"validatorName\") ?? \"testvalidatorName\";\n var validateRequestBody = config.Get(\"validateRequestBody\") ?? \"testvalidateRequestBody\";\n var validateRequestParameters = config.Get(\"validateRequestParameters\") ?? true;\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = restApiName,\n });\n\n var requestValidator = new AwsNative.ApiGateway.RequestValidator(\"requestValidator\", new()\n {\n Name = validatorName,\n RestApiId = restApi.Id,\n ValidateRequestBody = validateRequestBody,\n ValidateRequestParameters = validateRequestParameters,\n });\n\n var method = new AwsNative.ApiGateway.Method(\"method\", new()\n {\n HttpMethod = \"POST\",\n ResourceId = restApi.RootResourceId,\n RestApiId = restApi.Id,\n AuthorizationType = AwsNative.ApiGateway.MethodAuthorizationType.None,\n Integration = new AwsNative.ApiGateway.Inputs.MethodIntegrationArgs\n {\n Type = AwsNative.ApiGateway.MethodIntegrationType.Mock,\n ContentHandling = System.Enum.Parse\u003cAwsNative.ApiGateway.MethodIntegrationContentHandling\u003e(contentHandling),\n IntegrationResponses = new[]\n {\n new AwsNative.ApiGateway.Inputs.MethodIntegrationResponseArgs\n {\n ContentHandling = System.Enum.Parse\u003cAwsNative.ApiGateway.MethodIntegrationResponseContentHandling\u003e(contentHandling),\n StatusCode = \"400\",\n },\n },\n },\n RequestValidatorId = requestValidator.Id,\n OperationName = operationName,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"rootResourceId\"] = restApi.RootResourceId,\n };\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\ncfg := config.New(ctx, \"\")\ncontentHandling := cfg.Require(\"contentHandling\")\noperationName := \"testoperationName\";\nif param := cfg.Get(\"operationName\"); param != \"\"{\noperationName = param\n}\nrestApiName := \"testrestApiName\";\nif param := cfg.Get(\"restApiName\"); param != \"\"{\nrestApiName = param\n}\nvalidatorName := \"testvalidatorName\";\nif param := cfg.Get(\"validatorName\"); param != \"\"{\nvalidatorName = param\n}\nvalidateRequestBody := \"testvalidateRequestBody\";\nif param := cfg.Get(\"validateRequestBody\"); param != \"\"{\nvalidateRequestBody = param\n}\nvalidateRequestParameters := true;\nif param := cfg.Get(\"validateRequestParameters\"); param != \"\"{\nvalidateRequestParameters = param\n}\nrestApi, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\nName: pulumi.String(restApiName),\n})\nif err != nil {\nreturn err\n}\nrequestValidator, err := apigateway.NewRequestValidator(ctx, \"requestValidator\", \u0026apigateway.RequestValidatorArgs{\nName: pulumi.String(validatorName),\nRestApiId: restApi.ID(),\nValidateRequestBody: pulumi.String(validateRequestBody),\nValidateRequestParameters: pulumi.String(validateRequestParameters),\n})\nif err != nil {\nreturn err\n}\n_, err = apigateway.NewMethod(ctx, \"method\", \u0026apigateway.MethodArgs{\nHttpMethod: pulumi.String(\"POST\"),\nResourceId: restApi.RootResourceId,\nRestApiId: restApi.ID(),\nAuthorizationType: apigateway.MethodAuthorizationTypeNone,\nIntegration: interface{}{\nType: apigateway.MethodIntegrationTypeMock,\nContentHandling: apigateway.MethodIntegrationContentHandling(contentHandling),\nIntegrationResponses: apigateway.MethodIntegrationResponseArray{\n\u0026apigateway.MethodIntegrationResponseArgs{\nContentHandling: apigateway.MethodIntegrationResponseContentHandling(contentHandling),\nStatusCode: pulumi.String(\"400\"),\n},\n},\n},\nRequestValidatorId: requestValidator.ID(),\nOperationName: pulumi.String(operationName),\n})\nif err != nil {\nreturn err\n}\nctx.Export(\"rootResourceId\", restApi.RootResourceId)\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst contentHandling = config.require(\"contentHandling\");\nconst operationName = config.get(\"operationName\") || \"testoperationName\";\nconst restApiName = config.get(\"restApiName\") || \"testrestApiName\";\nconst validatorName = config.get(\"validatorName\") || \"testvalidatorName\";\nconst validateRequestBody = config.get(\"validateRequestBody\") || \"testvalidateRequestBody\";\nconst validateRequestParameters = config.get(\"validateRequestParameters\") || true;\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: restApiName});\nconst requestValidator = new aws_native.apigateway.RequestValidator(\"requestValidator\", {\n name: validatorName,\n restApiId: restApi.id,\n validateRequestBody: validateRequestBody,\n validateRequestParameters: validateRequestParameters,\n});\nconst method = new aws_native.apigateway.Method(\"method\", {\n httpMethod: \"POST\",\n resourceId: restApi.rootResourceId,\n restApiId: restApi.id,\n authorizationType: aws_native.apigateway.MethodAuthorizationType.None,\n integration: {\n type: aws_native.apigateway.MethodIntegrationType.Mock,\n contentHandling: aws_native.apigateway.MethodIntegrationContentHandling[contentHandling],\n integrationResponses: [{\n contentHandling: aws_native.apigateway.MethodIntegrationResponseContentHandling[contentHandling],\n statusCode: \"400\",\n }],\n },\n requestValidatorId: requestValidator.id,\n operationName: operationName,\n});\nexport const rootResourceId = restApi.rootResourceId;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\ncontent_handling = config.require(\"contentHandling\")\noperation_name = config.get(\"operationName\")\nif operation_name is None:\n operation_name = \"testoperationName\"\nrest_api_name = config.get(\"restApiName\")\nif rest_api_name is None:\n rest_api_name = \"testrestApiName\"\nvalidator_name = config.get(\"validatorName\")\nif validator_name is None:\n validator_name = \"testvalidatorName\"\nvalidate_request_body = config.get(\"validateRequestBody\")\nif validate_request_body is None:\n validate_request_body = \"testvalidateRequestBody\"\nvalidate_request_parameters = config.get(\"validateRequestParameters\")\nif validate_request_parameters is None:\n validate_request_parameters = True\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=rest_api_name)\nrequest_validator = aws_native.apigateway.RequestValidator(\"requestValidator\",\n name=validator_name,\n rest_api_id=rest_api.id,\n validate_request_body=validate_request_body,\n validate_request_parameters=validate_request_parameters)\nmethod = aws_native.apigateway.Method(\"method\",\n http_method=\"POST\",\n resource_id=rest_api.root_resource_id,\n rest_api_id=rest_api.id,\n authorization_type=aws_native.apigateway.MethodAuthorizationType.NONE,\n integration=aws_native.apigateway.MethodIntegrationArgs(\n type=aws_native.apigateway.MethodIntegrationType.MOCK,\n content_handling=aws_native.apigateway.MethodIntegrationContentHandling(content_handling),\n integration_responses=[aws_native.apigateway.MethodIntegrationResponseArgs(\n content_handling=aws_native.apigateway.MethodIntegrationResponseContentHandling(content_handling),\n status_code=\"400\",\n )],\n ),\n request_validator_id=request_validator.id,\n operation_name=operation_name)\npulumi.export(\"rootResourceId\", rest_api.root_resource_id)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var contentHandling = config.Require(\"contentHandling\");\n var operationName = config.Get(\"operationName\") ?? \"testoperationName\";\n var restApiName = config.Get(\"restApiName\") ?? \"testrestApiName\";\n var validatorName = config.Get(\"validatorName\") ?? \"testvalidatorName\";\n var validateRequestBody = config.Get(\"validateRequestBody\") ?? \"testvalidateRequestBody\";\n var validateRequestParameters = config.Get(\"validateRequestParameters\") ?? true;\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = restApiName,\n });\n\n var requestValidator = new AwsNative.ApiGateway.RequestValidator(\"requestValidator\", new()\n {\n Name = validatorName,\n RestApiId = restApi.Id,\n ValidateRequestBody = validateRequestBody,\n ValidateRequestParameters = validateRequestParameters,\n });\n\n var method = new AwsNative.ApiGateway.Method(\"method\", new()\n {\n HttpMethod = \"POST\",\n ResourceId = restApi.RootResourceId,\n RestApiId = restApi.Id,\n AuthorizationType = AwsNative.ApiGateway.MethodAuthorizationType.None,\n Integration = new AwsNative.ApiGateway.Inputs.MethodIntegrationArgs\n {\n Type = AwsNative.ApiGateway.MethodIntegrationType.Mock,\n ContentHandling = System.Enum.Parse\u003cAwsNative.ApiGateway.MethodIntegrationContentHandling\u003e(contentHandling),\n IntegrationResponses = new[]\n {\n new AwsNative.ApiGateway.Inputs.MethodIntegrationResponseArgs\n {\n ContentHandling = System.Enum.Parse\u003cAwsNative.ApiGateway.MethodIntegrationResponseContentHandling\u003e(contentHandling),\n StatusCode = \"400\",\n },\n },\n },\n RequestValidatorId = requestValidator.Id,\n OperationName = operationName,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"rootResourceId\"] = restApi.RootResourceId,\n };\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\ncfg := config.New(ctx, \"\")\ncontentHandling := cfg.Require(\"contentHandling\")\noperationName := \"testoperationName\";\nif param := cfg.Get(\"operationName\"); param != \"\"{\noperationName = param\n}\nrestApiName := \"testrestApiName\";\nif param := cfg.Get(\"restApiName\"); param != \"\"{\nrestApiName = param\n}\nvalidatorName := \"testvalidatorName\";\nif param := cfg.Get(\"validatorName\"); param != \"\"{\nvalidatorName = param\n}\nvalidateRequestBody := \"testvalidateRequestBody\";\nif param := cfg.Get(\"validateRequestBody\"); param != \"\"{\nvalidateRequestBody = param\n}\nvalidateRequestParameters := true;\nif param := cfg.Get(\"validateRequestParameters\"); param != \"\"{\nvalidateRequestParameters = param\n}\nrestApi, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\nName: pulumi.String(restApiName),\n})\nif err != nil {\nreturn err\n}\nrequestValidator, err := apigateway.NewRequestValidator(ctx, \"requestValidator\", \u0026apigateway.RequestValidatorArgs{\nName: pulumi.String(validatorName),\nRestApiId: restApi.ID(),\nValidateRequestBody: pulumi.String(validateRequestBody),\nValidateRequestParameters: pulumi.String(validateRequestParameters),\n})\nif err != nil {\nreturn err\n}\n_, err = apigateway.NewMethod(ctx, \"method\", \u0026apigateway.MethodArgs{\nHttpMethod: pulumi.String(\"POST\"),\nResourceId: restApi.RootResourceId,\nRestApiId: restApi.ID(),\nAuthorizationType: apigateway.MethodAuthorizationTypeNone,\nIntegration: interface{}{\nType: apigateway.MethodIntegrationTypeMock,\nContentHandling: apigateway.MethodIntegrationContentHandling(contentHandling),\nIntegrationResponses: apigateway.MethodIntegrationResponseArray{\n\u0026apigateway.MethodIntegrationResponseArgs{\nContentHandling: apigateway.MethodIntegrationResponseContentHandling(contentHandling),\nStatusCode: pulumi.String(\"400\"),\n},\n},\n},\nRequestValidatorId: requestValidator.ID(),\nOperationName: pulumi.String(operationName),\n})\nif err != nil {\nreturn err\n}\nctx.Export(\"rootResourceId\", restApi.RootResourceId)\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst contentHandling = config.require(\"contentHandling\");\nconst operationName = config.get(\"operationName\") || \"testoperationName\";\nconst restApiName = config.get(\"restApiName\") || \"testrestApiName\";\nconst validatorName = config.get(\"validatorName\") || \"testvalidatorName\";\nconst validateRequestBody = config.get(\"validateRequestBody\") || \"testvalidateRequestBody\";\nconst validateRequestParameters = config.get(\"validateRequestParameters\") || true;\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: restApiName});\nconst requestValidator = new aws_native.apigateway.RequestValidator(\"requestValidator\", {\n name: validatorName,\n restApiId: restApi.id,\n validateRequestBody: validateRequestBody,\n validateRequestParameters: validateRequestParameters,\n});\nconst method = new aws_native.apigateway.Method(\"method\", {\n httpMethod: \"POST\",\n resourceId: restApi.rootResourceId,\n restApiId: restApi.id,\n authorizationType: aws_native.apigateway.MethodAuthorizationType.None,\n integration: {\n type: aws_native.apigateway.MethodIntegrationType.Mock,\n contentHandling: aws_native.apigateway.MethodIntegrationContentHandling[contentHandling],\n integrationResponses: [{\n contentHandling: aws_native.apigateway.MethodIntegrationResponseContentHandling[contentHandling],\n statusCode: \"400\",\n }],\n },\n requestValidatorId: requestValidator.id,\n operationName: operationName,\n});\nexport const rootResourceId = restApi.rootResourceId;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\ncontent_handling = config.require(\"contentHandling\")\noperation_name = config.get(\"operationName\")\nif operation_name is None:\n operation_name = \"testoperationName\"\nrest_api_name = config.get(\"restApiName\")\nif rest_api_name is None:\n rest_api_name = \"testrestApiName\"\nvalidator_name = config.get(\"validatorName\")\nif validator_name is None:\n validator_name = \"testvalidatorName\"\nvalidate_request_body = config.get(\"validateRequestBody\")\nif validate_request_body is None:\n validate_request_body = \"testvalidateRequestBody\"\nvalidate_request_parameters = config.get(\"validateRequestParameters\")\nif validate_request_parameters is None:\n validate_request_parameters = True\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=rest_api_name)\nrequest_validator = aws_native.apigateway.RequestValidator(\"requestValidator\",\n name=validator_name,\n rest_api_id=rest_api.id,\n validate_request_body=validate_request_body,\n validate_request_parameters=validate_request_parameters)\nmethod = aws_native.apigateway.Method(\"method\",\n http_method=\"POST\",\n resource_id=rest_api.root_resource_id,\n rest_api_id=rest_api.id,\n authorization_type=aws_native.apigateway.MethodAuthorizationType.NONE,\n integration=aws_native.apigateway.MethodIntegrationArgs(\n type=aws_native.apigateway.MethodIntegrationType.MOCK,\n content_handling=aws_native.apigateway.MethodIntegrationContentHandling(content_handling),\n integration_responses=[aws_native.apigateway.MethodIntegrationResponseArgs(\n content_handling=aws_native.apigateway.MethodIntegrationResponseContentHandling(content_handling),\n status_code=\"400\",\n )],\n ),\n request_validator_id=request_validator.id,\n operation_name=operation_name)\npulumi.export(\"rootResourceId\", rest_api.root_resource_id)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var validatorName = config.Require(\"validatorName\");\n var validateRequestBody = config.Require(\"validateRequestBody\");\n var validateRequestParameters = config.Require(\"validateRequestParameters\");\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = apiName,\n });\n\n var requestValidator = new AwsNative.ApiGateway.RequestValidator(\"requestValidator\", new()\n {\n Name = validatorName,\n RestApiId = restApi.Id,\n ValidateRequestBody = validateRequestBody,\n ValidateRequestParameters = validateRequestParameters,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\tvalidatorName := cfg.Require(\"validatorName\")\n\t\tvalidateRequestBody := cfg.Require(\"validateRequestBody\")\n\t\tvalidateRequestParameters := cfg.Require(\"validateRequestParameters\")\n\t\trestApi, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = apigateway.NewRequestValidator(ctx, \"requestValidator\", \u0026apigateway.RequestValidatorArgs{\n\t\t\tName: pulumi.String(validatorName),\n\t\t\tRestApiId: restApi.ID(),\n\t\t\tValidateRequestBody: pulumi.String(validateRequestBody),\n\t\t\tValidateRequestParameters: pulumi.String(validateRequestParameters),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst validatorName = config.require(\"validatorName\");\nconst validateRequestBody = config.require(\"validateRequestBody\");\nconst validateRequestParameters = config.require(\"validateRequestParameters\");\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: apiName});\nconst requestValidator = new aws_native.apigateway.RequestValidator(\"requestValidator\", {\n name: validatorName,\n restApiId: restApi.id,\n validateRequestBody: validateRequestBody,\n validateRequestParameters: validateRequestParameters,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\nvalidator_name = config.require(\"validatorName\")\nvalidate_request_body = config.require(\"validateRequestBody\")\nvalidate_request_parameters = config.require(\"validateRequestParameters\")\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=api_name)\nrequest_validator = aws_native.apigateway.RequestValidator(\"requestValidator\",\n name=validator_name,\n rest_api_id=rest_api.id,\n validate_request_body=validate_request_body,\n validate_request_parameters=validate_request_parameters)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var validatorName = config.Require(\"validatorName\");\n var validateRequestBody = config.Require(\"validateRequestBody\");\n var validateRequestParameters = config.Require(\"validateRequestParameters\");\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = apiName,\n });\n\n var requestValidator = new AwsNative.ApiGateway.RequestValidator(\"requestValidator\", new()\n {\n Name = validatorName,\n RestApiId = restApi.Id,\n ValidateRequestBody = validateRequestBody,\n ValidateRequestParameters = validateRequestParameters,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\tvalidatorName := cfg.Require(\"validatorName\")\n\t\tvalidateRequestBody := cfg.Require(\"validateRequestBody\")\n\t\tvalidateRequestParameters := cfg.Require(\"validateRequestParameters\")\n\t\trestApi, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = apigateway.NewRequestValidator(ctx, \"requestValidator\", \u0026apigateway.RequestValidatorArgs{\n\t\t\tName: pulumi.String(validatorName),\n\t\t\tRestApiId: restApi.ID(),\n\t\t\tValidateRequestBody: pulumi.String(validateRequestBody),\n\t\t\tValidateRequestParameters: pulumi.String(validateRequestParameters),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst validatorName = config.require(\"validatorName\");\nconst validateRequestBody = config.require(\"validateRequestBody\");\nconst validateRequestParameters = config.require(\"validateRequestParameters\");\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: apiName});\nconst requestValidator = new aws_native.apigateway.RequestValidator(\"requestValidator\", {\n name: validatorName,\n restApiId: restApi.id,\n validateRequestBody: validateRequestBody,\n validateRequestParameters: validateRequestParameters,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\nvalidator_name = config.require(\"validatorName\")\nvalidate_request_body = config.require(\"validateRequestBody\")\nvalidate_request_parameters = config.require(\"validateRequestParameters\")\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=api_name)\nrequest_validator = aws_native.apigateway.RequestValidator(\"requestValidator\",\n name=validator_name,\n rest_api_id=rest_api.id,\n validate_request_body=validate_request_body,\n validate_request_parameters=validate_request_parameters)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var type = config.Require(\"type\");\n var myRestApi = new AwsNative.ApiGateway.RestApi(\"myRestApi\", new()\n {\n EndpointConfiguration = new AwsNative.ApiGateway.Inputs.RestApiEndpointConfigurationArgs\n {\n Types = new[]\n {\n type,\n },\n },\n Name = apiName,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\t_type := cfg.Require(\"type\")\n\t\t_, err := apigateway.NewRestApi(ctx, \"myRestApi\", \u0026apigateway.RestApiArgs{\n\t\t\tEndpointConfiguration: \u0026apigateway.RestApiEndpointConfigurationArgs{\n\t\t\t\tTypes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(_type),\n\t\t\t\t},\n\t\t\t},\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst type = config.require(\"type\");\nconst myRestApi = new aws_native.apigateway.RestApi(\"myRestApi\", {\n endpointConfiguration: {\n types: [type],\n },\n name: apiName,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\ntype = config.require(\"type\")\nmy_rest_api = aws_native.apigateway.RestApi(\"myRestApi\",\n endpoint_configuration=aws_native.apigateway.RestApiEndpointConfigurationArgs(\n types=[type],\n ),\n name=api_name)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var type = config.Require(\"type\");\n var myRestApi = new AwsNative.ApiGateway.RestApi(\"myRestApi\", new()\n {\n EndpointConfiguration = new AwsNative.ApiGateway.Inputs.RestApiEndpointConfigurationArgs\n {\n Types = new[]\n {\n type,\n },\n },\n Name = apiName,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\t_type := cfg.Require(\"type\")\n\t\t_, err := apigateway.NewRestApi(ctx, \"myRestApi\", \u0026apigateway.RestApiArgs{\n\t\t\tEndpointConfiguration: \u0026apigateway.RestApiEndpointConfigurationArgs{\n\t\t\t\tTypes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(_type),\n\t\t\t\t},\n\t\t\t},\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst type = config.require(\"type\");\nconst myRestApi = new aws_native.apigateway.RestApi(\"myRestApi\", {\n endpointConfiguration: {\n types: [type],\n },\n name: apiName,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\ntype = config.require(\"type\")\nmy_rest_api = aws_native.apigateway.RestApi(\"myRestApi\",\n endpoint_configuration=aws_native.apigateway.RestApiEndpointConfigurationArgs(\n types=[type],\n ),\n name=api_name)\n\n```\n\n{{% /example %}}\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 restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Body = \n {\n { \"swagger\", 2 },\n { \"info\", \n {\n { \"version\", \"0.0.1\" },\n { \"title\", \"test\" },\n } },\n { \"basePath\", \"/pete\" },\n { \"schemes\", new[]\n {\n \"https\",\n } },\n { \"definitions\", \n {\n { \"empty\", \n {\n { \"type\", \"object\" },\n } },\n } },\n },\n Name = \"myApi\",\n Parameters = \n {\n { \"endpointConfigurationTypes\", \"REGIONAL\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\n\t\t\tBody: pulumi.Any{\n\t\t\t\tSwagger: 2,\n\t\t\t\tInfo: map[string]interface{}{\n\t\t\t\t\t\"version\": \"0.0.1\",\n\t\t\t\t\t\"title\": \"test\",\n\t\t\t\t},\n\t\t\t\tBasePath: \"/pete\",\n\t\t\t\tSchemes: []string{\n\t\t\t\t\t\"https\",\n\t\t\t\t},\n\t\t\t\tDefinitions: map[string]interface{}{\n\t\t\t\t\t\"empty\": map[string]interface{}{\n\t\t\t\t\t\t\"type\": \"object\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tName: pulumi.String(\"myApi\"),\n\t\t\tParameters: pulumi.Any{\n\t\t\t\tEndpointConfigurationTypes: \"REGIONAL\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 restApi = new aws_native.apigateway.RestApi(\"restApi\", {\n body: {\n swagger: 2,\n info: {\n version: \"0.0.1\",\n title: \"test\",\n },\n basePath: \"/pete\",\n schemes: [\"https\"],\n definitions: {\n empty: {\n type: \"object\",\n },\n },\n },\n name: \"myApi\",\n parameters: {\n endpointConfigurationTypes: \"REGIONAL\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nrest_api = aws_native.apigateway.RestApi(\"restApi\",\n body={\n \"swagger\": 2,\n \"info\": {\n \"version\": \"0.0.1\",\n \"title\": \"test\",\n },\n \"basePath\": \"/pete\",\n \"schemes\": [\"https\"],\n \"definitions\": {\n \"empty\": {\n \"type\": \"object\",\n },\n },\n },\n name=\"myApi\",\n parameters={\n \"endpointConfigurationTypes\": \"REGIONAL\",\n })\n\n```\n\n{{% /example %}}\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 restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Body = \n {\n { \"swagger\", 2 },\n { \"info\", \n {\n { \"version\", \"0.0.1\" },\n { \"title\", \"test\" },\n } },\n { \"basePath\", \"/pete\" },\n { \"schemes\", new[]\n {\n \"https\",\n } },\n { \"definitions\", \n {\n { \"empty\", \n {\n { \"type\", \"object\" },\n } },\n } },\n },\n Name = \"myApi\",\n Parameters = \n {\n { \"endpointConfigurationTypes\", \"REGIONAL\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\n\t\t\tBody: pulumi.Any{\n\t\t\t\tSwagger: 2,\n\t\t\t\tInfo: map[string]interface{}{\n\t\t\t\t\t\"version\": \"0.0.1\",\n\t\t\t\t\t\"title\": \"test\",\n\t\t\t\t},\n\t\t\t\tBasePath: \"/pete\",\n\t\t\t\tSchemes: []string{\n\t\t\t\t\t\"https\",\n\t\t\t\t},\n\t\t\t\tDefinitions: map[string]interface{}{\n\t\t\t\t\t\"empty\": map[string]interface{}{\n\t\t\t\t\t\t\"type\": \"object\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tName: pulumi.String(\"myApi\"),\n\t\t\tParameters: pulumi.Any{\n\t\t\t\tEndpointConfigurationTypes: \"REGIONAL\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 restApi = new aws_native.apigateway.RestApi(\"restApi\", {\n body: {\n swagger: 2,\n info: {\n version: \"0.0.1\",\n title: \"test\",\n },\n basePath: \"/pete\",\n schemes: [\"https\"],\n definitions: {\n empty: {\n type: \"object\",\n },\n },\n },\n name: \"myApi\",\n parameters: {\n endpointConfigurationTypes: \"REGIONAL\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nrest_api = aws_native.apigateway.RestApi(\"restApi\",\n body={\n \"swagger\": 2,\n \"info\": {\n \"version\": \"0.0.1\",\n \"title\": \"test\",\n },\n \"basePath\": \"/pete\",\n \"schemes\": [\"https\"],\n \"definitions\": {\n \"empty\": {\n \"type\": \"object\",\n },\n },\n },\n name=\"myApi\",\n parameters={\n \"endpointConfigurationTypes\": \"REGIONAL\",\n })\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiKeySourceType = config.Require(\"apiKeySourceType\");\n var apiName = config.Require(\"apiName\");\n var binaryMediaType1 = config.Require(\"binaryMediaType1\");\n var binaryMediaType2 = config.Require(\"binaryMediaType2\");\n var minimumCompressionSize = config.Require(\"minimumCompressionSize\");\n var myRestApi = new AwsNative.ApiGateway.RestApi(\"myRestApi\", new()\n {\n ApiKeySourceType = apiKeySourceType,\n BinaryMediaTypes = new[]\n {\n binaryMediaType1,\n binaryMediaType2,\n },\n MinimumCompressionSize = minimumCompressionSize,\n Name = apiName,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiKeySourceType := cfg.Require(\"apiKeySourceType\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\tbinaryMediaType1 := cfg.Require(\"binaryMediaType1\")\n\t\tbinaryMediaType2 := cfg.Require(\"binaryMediaType2\")\n\t\tminimumCompressionSize := cfg.Require(\"minimumCompressionSize\")\n\t\t_, err := apigateway.NewRestApi(ctx, \"myRestApi\", \u0026apigateway.RestApiArgs{\n\t\t\tApiKeySourceType: pulumi.String(apiKeySourceType),\n\t\t\tBinaryMediaTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(binaryMediaType1),\n\t\t\t\tpulumi.String(binaryMediaType2),\n\t\t\t},\n\t\t\tMinimumCompressionSize: pulumi.String(minimumCompressionSize),\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiKeySourceType = config.require(\"apiKeySourceType\");\nconst apiName = config.require(\"apiName\");\nconst binaryMediaType1 = config.require(\"binaryMediaType1\");\nconst binaryMediaType2 = config.require(\"binaryMediaType2\");\nconst minimumCompressionSize = config.require(\"minimumCompressionSize\");\nconst myRestApi = new aws_native.apigateway.RestApi(\"myRestApi\", {\n apiKeySourceType: apiKeySourceType,\n binaryMediaTypes: [\n binaryMediaType1,\n binaryMediaType2,\n ],\n minimumCompressionSize: minimumCompressionSize,\n name: apiName,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_key_source_type = config.require(\"apiKeySourceType\")\napi_name = config.require(\"apiName\")\nbinary_media_type1 = config.require(\"binaryMediaType1\")\nbinary_media_type2 = config.require(\"binaryMediaType2\")\nminimum_compression_size = config.require(\"minimumCompressionSize\")\nmy_rest_api = aws_native.apigateway.RestApi(\"myRestApi\",\n api_key_source_type=api_key_source_type,\n binary_media_types=[\n binary_media_type1,\n binary_media_type2,\n ],\n minimum_compression_size=minimum_compression_size,\n name=api_name)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiKeySourceType = config.Require(\"apiKeySourceType\");\n var apiName = config.Require(\"apiName\");\n var binaryMediaType1 = config.Require(\"binaryMediaType1\");\n var binaryMediaType2 = config.Require(\"binaryMediaType2\");\n var minimumCompressionSize = config.Require(\"minimumCompressionSize\");\n var myRestApi = new AwsNative.ApiGateway.RestApi(\"myRestApi\", new()\n {\n ApiKeySourceType = apiKeySourceType,\n BinaryMediaTypes = new[]\n {\n binaryMediaType1,\n binaryMediaType2,\n },\n MinimumCompressionSize = minimumCompressionSize,\n Name = apiName,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiKeySourceType := cfg.Require(\"apiKeySourceType\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\tbinaryMediaType1 := cfg.Require(\"binaryMediaType1\")\n\t\tbinaryMediaType2 := cfg.Require(\"binaryMediaType2\")\n\t\tminimumCompressionSize := cfg.Require(\"minimumCompressionSize\")\n\t\t_, err := apigateway.NewRestApi(ctx, \"myRestApi\", \u0026apigateway.RestApiArgs{\n\t\t\tApiKeySourceType: pulumi.String(apiKeySourceType),\n\t\t\tBinaryMediaTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(binaryMediaType1),\n\t\t\t\tpulumi.String(binaryMediaType2),\n\t\t\t},\n\t\t\tMinimumCompressionSize: pulumi.String(minimumCompressionSize),\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiKeySourceType = config.require(\"apiKeySourceType\");\nconst apiName = config.require(\"apiName\");\nconst binaryMediaType1 = config.require(\"binaryMediaType1\");\nconst binaryMediaType2 = config.require(\"binaryMediaType2\");\nconst minimumCompressionSize = config.require(\"minimumCompressionSize\");\nconst myRestApi = new aws_native.apigateway.RestApi(\"myRestApi\", {\n apiKeySourceType: apiKeySourceType,\n binaryMediaTypes: [\n binaryMediaType1,\n binaryMediaType2,\n ],\n minimumCompressionSize: minimumCompressionSize,\n name: apiName,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_key_source_type = config.require(\"apiKeySourceType\")\napi_name = config.require(\"apiName\")\nbinary_media_type1 = config.require(\"binaryMediaType1\")\nbinary_media_type2 = config.require(\"binaryMediaType2\")\nminimum_compression_size = config.require(\"minimumCompressionSize\")\nmy_rest_api = aws_native.apigateway.RestApi(\"myRestApi\",\n api_key_source_type=api_key_source_type,\n binary_media_types=[\n binary_media_type1,\n binary_media_type2,\n ],\n minimum_compression_size=minimum_compression_size,\n name=api_name)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", + "description": "The ``AWS::ApiGateway::RestApi`` resource creates a REST API. For more information, see [restapi:create](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateRestApi.html) in the *Amazon API Gateway REST API Reference*.\n 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.\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var description = config.Require(\"description\");\n var version = config.Require(\"version\");\n var type = config.Require(\"type\");\n var property = config.Require(\"property\");\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = apiName,\n });\n\n var documentationPart = new AwsNative.ApiGateway.DocumentationPart(\"documentationPart\", new()\n {\n Location = new AwsNative.ApiGateway.Inputs.DocumentationPartLocationArgs\n {\n Type = System.Enum.Parse\u003cAwsNative.ApiGateway.DocumentationPartLocationType\u003e(type),\n },\n RestApiId = restApi.Id,\n Properties = property,\n });\n\n var documentationVersion = new AwsNative.ApiGateway.DocumentationVersion(\"documentationVersion\", new()\n {\n Description = description,\n DocumentationVersionValue = version,\n RestApiId = restApi.Id,\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n documentationPart,\n },\n });\n\n});\n\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst description = config.require(\"description\");\nconst version = config.require(\"version\");\nconst type = config.require(\"type\");\nconst property = config.require(\"property\");\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: apiName});\nconst documentationPart = new aws_native.apigateway.DocumentationPart(\"documentationPart\", {\n location: {\n type: aws_native.apigateway.DocumentationPartLocationType[type],\n },\n restApiId: restApi.id,\n properties: property,\n});\nconst documentationVersion = new aws_native.apigateway.DocumentationVersion(\"documentationVersion\", {\n description: description,\n documentationVersion: version,\n restApiId: restApi.id,\n}, {\n dependsOn: [documentationPart],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\ndescription = config.require(\"description\")\nversion = config.require(\"version\")\ntype = config.require(\"type\")\nproperty = config.require(\"property\")\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=api_name)\ndocumentation_part = aws_native.apigateway.DocumentationPart(\"documentationPart\",\n location=aws_native.apigateway.DocumentationPartLocationArgs(\n type=aws_native.apigateway.DocumentationPartLocationType(type),\n ),\n rest_api_id=rest_api.id,\n properties=property)\ndocumentation_version = aws_native.apigateway.DocumentationVersion(\"documentationVersion\",\n description=description,\n documentation_version=version,\n rest_api_id=rest_api.id,\n opts=pulumi.ResourceOptions(depends_on=[documentation_part]))\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var description = config.Require(\"description\");\n var version = config.Require(\"version\");\n var type = config.Require(\"type\");\n var property = config.Require(\"property\");\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = apiName,\n });\n\n var documentationPart = new AwsNative.ApiGateway.DocumentationPart(\"documentationPart\", new()\n {\n Location = new AwsNative.ApiGateway.Inputs.DocumentationPartLocationArgs\n {\n Type = System.Enum.Parse\u003cAwsNative.ApiGateway.DocumentationPartLocationType\u003e(type),\n },\n RestApiId = restApi.Id,\n Properties = property,\n });\n\n var documentationVersion = new AwsNative.ApiGateway.DocumentationVersion(\"documentationVersion\", new()\n {\n Description = description,\n DocumentationVersionValue = version,\n RestApiId = restApi.Id,\n }, new CustomResourceOptions\n {\n DependsOn = new[]\n {\n documentationPart,\n },\n });\n\n});\n\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst description = config.require(\"description\");\nconst version = config.require(\"version\");\nconst type = config.require(\"type\");\nconst property = config.require(\"property\");\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: apiName});\nconst documentationPart = new aws_native.apigateway.DocumentationPart(\"documentationPart\", {\n location: {\n type: aws_native.apigateway.DocumentationPartLocationType[type],\n },\n restApiId: restApi.id,\n properties: property,\n});\nconst documentationVersion = new aws_native.apigateway.DocumentationVersion(\"documentationVersion\", {\n description: description,\n documentationVersion: version,\n restApiId: restApi.id,\n}, {\n dependsOn: [documentationPart],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\ndescription = config.require(\"description\")\nversion = config.require(\"version\")\ntype = config.require(\"type\")\nproperty = config.require(\"property\")\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=api_name)\ndocumentation_part = aws_native.apigateway.DocumentationPart(\"documentationPart\",\n location=aws_native.apigateway.DocumentationPartLocationArgs(\n type=aws_native.apigateway.DocumentationPartLocationType(type),\n ),\n rest_api_id=rest_api.id,\n properties=property)\ndocumentation_version = aws_native.apigateway.DocumentationVersion(\"documentationVersion\",\n description=description,\n documentation_version=version,\n rest_api_id=rest_api.id,\n opts=pulumi.ResourceOptions(depends_on=[documentation_part]))\n\n```\n\n{{% /example %}}\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 config = new Config();\n var contentHandling = config.Require(\"contentHandling\");\n var operationName = config.Get(\"operationName\") ?? \"testoperationName\";\n var restApiName = config.Get(\"restApiName\") ?? \"testrestApiName\";\n var validatorName = config.Get(\"validatorName\") ?? \"testvalidatorName\";\n var validateRequestBody = config.Get(\"validateRequestBody\") ?? \"testvalidateRequestBody\";\n var validateRequestParameters = config.Get(\"validateRequestParameters\") ?? true;\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = restApiName,\n });\n\n var requestValidator = new AwsNative.ApiGateway.RequestValidator(\"requestValidator\", new()\n {\n Name = validatorName,\n RestApiId = restApi.Id,\n ValidateRequestBody = validateRequestBody,\n ValidateRequestParameters = validateRequestParameters,\n });\n\n var method = new AwsNative.ApiGateway.Method(\"method\", new()\n {\n HttpMethod = \"POST\",\n ResourceId = restApi.RootResourceId,\n RestApiId = restApi.Id,\n AuthorizationType = AwsNative.ApiGateway.MethodAuthorizationType.None,\n Integration = new AwsNative.ApiGateway.Inputs.MethodIntegrationArgs\n {\n Type = AwsNative.ApiGateway.MethodIntegrationType.Mock,\n ContentHandling = System.Enum.Parse\u003cAwsNative.ApiGateway.MethodIntegrationContentHandling\u003e(contentHandling),\n IntegrationResponses = new[]\n {\n new AwsNative.ApiGateway.Inputs.MethodIntegrationResponseArgs\n {\n ContentHandling = System.Enum.Parse\u003cAwsNative.ApiGateway.MethodIntegrationResponseContentHandling\u003e(contentHandling),\n StatusCode = \"400\",\n },\n },\n },\n RequestValidatorId = requestValidator.Id,\n OperationName = operationName,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"rootResourceId\"] = restApi.RootResourceId,\n };\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\ncfg := config.New(ctx, \"\")\ncontentHandling := cfg.Require(\"contentHandling\")\noperationName := \"testoperationName\";\nif param := cfg.Get(\"operationName\"); param != \"\"{\noperationName = param\n}\nrestApiName := \"testrestApiName\";\nif param := cfg.Get(\"restApiName\"); param != \"\"{\nrestApiName = param\n}\nvalidatorName := \"testvalidatorName\";\nif param := cfg.Get(\"validatorName\"); param != \"\"{\nvalidatorName = param\n}\nvalidateRequestBody := \"testvalidateRequestBody\";\nif param := cfg.Get(\"validateRequestBody\"); param != \"\"{\nvalidateRequestBody = param\n}\nvalidateRequestParameters := true;\nif param := cfg.Get(\"validateRequestParameters\"); param != \"\"{\nvalidateRequestParameters = param\n}\nrestApi, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\nName: pulumi.String(restApiName),\n})\nif err != nil {\nreturn err\n}\nrequestValidator, err := apigateway.NewRequestValidator(ctx, \"requestValidator\", \u0026apigateway.RequestValidatorArgs{\nName: pulumi.String(validatorName),\nRestApiId: restApi.ID(),\nValidateRequestBody: pulumi.String(validateRequestBody),\nValidateRequestParameters: pulumi.String(validateRequestParameters),\n})\nif err != nil {\nreturn err\n}\n_, err = apigateway.NewMethod(ctx, \"method\", \u0026apigateway.MethodArgs{\nHttpMethod: pulumi.String(\"POST\"),\nResourceId: restApi.RootResourceId,\nRestApiId: restApi.ID(),\nAuthorizationType: apigateway.MethodAuthorizationTypeNone,\nIntegration: interface{}{\nType: apigateway.MethodIntegrationTypeMock,\nContentHandling: apigateway.MethodIntegrationContentHandling(contentHandling),\nIntegrationResponses: apigateway.MethodIntegrationResponseArray{\n\u0026apigateway.MethodIntegrationResponseArgs{\nContentHandling: apigateway.MethodIntegrationResponseContentHandling(contentHandling),\nStatusCode: pulumi.String(\"400\"),\n},\n},\n},\nRequestValidatorId: requestValidator.ID(),\nOperationName: pulumi.String(operationName),\n})\nif err != nil {\nreturn err\n}\nctx.Export(\"rootResourceId\", restApi.RootResourceId)\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst contentHandling = config.require(\"contentHandling\");\nconst operationName = config.get(\"operationName\") || \"testoperationName\";\nconst restApiName = config.get(\"restApiName\") || \"testrestApiName\";\nconst validatorName = config.get(\"validatorName\") || \"testvalidatorName\";\nconst validateRequestBody = config.get(\"validateRequestBody\") || \"testvalidateRequestBody\";\nconst validateRequestParameters = config.get(\"validateRequestParameters\") || true;\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: restApiName});\nconst requestValidator = new aws_native.apigateway.RequestValidator(\"requestValidator\", {\n name: validatorName,\n restApiId: restApi.id,\n validateRequestBody: validateRequestBody,\n validateRequestParameters: validateRequestParameters,\n});\nconst method = new aws_native.apigateway.Method(\"method\", {\n httpMethod: \"POST\",\n resourceId: restApi.rootResourceId,\n restApiId: restApi.id,\n authorizationType: aws_native.apigateway.MethodAuthorizationType.None,\n integration: {\n type: aws_native.apigateway.MethodIntegrationType.Mock,\n contentHandling: aws_native.apigateway.MethodIntegrationContentHandling[contentHandling],\n integrationResponses: [{\n contentHandling: aws_native.apigateway.MethodIntegrationResponseContentHandling[contentHandling],\n statusCode: \"400\",\n }],\n },\n requestValidatorId: requestValidator.id,\n operationName: operationName,\n});\nexport const rootResourceId = restApi.rootResourceId;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\ncontent_handling = config.require(\"contentHandling\")\noperation_name = config.get(\"operationName\")\nif operation_name is None:\n operation_name = \"testoperationName\"\nrest_api_name = config.get(\"restApiName\")\nif rest_api_name is None:\n rest_api_name = \"testrestApiName\"\nvalidator_name = config.get(\"validatorName\")\nif validator_name is None:\n validator_name = \"testvalidatorName\"\nvalidate_request_body = config.get(\"validateRequestBody\")\nif validate_request_body is None:\n validate_request_body = \"testvalidateRequestBody\"\nvalidate_request_parameters = config.get(\"validateRequestParameters\")\nif validate_request_parameters is None:\n validate_request_parameters = True\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=rest_api_name)\nrequest_validator = aws_native.apigateway.RequestValidator(\"requestValidator\",\n name=validator_name,\n rest_api_id=rest_api.id,\n validate_request_body=validate_request_body,\n validate_request_parameters=validate_request_parameters)\nmethod = aws_native.apigateway.Method(\"method\",\n http_method=\"POST\",\n resource_id=rest_api.root_resource_id,\n rest_api_id=rest_api.id,\n authorization_type=aws_native.apigateway.MethodAuthorizationType.NONE,\n integration=aws_native.apigateway.MethodIntegrationArgs(\n type=aws_native.apigateway.MethodIntegrationType.MOCK,\n content_handling=aws_native.apigateway.MethodIntegrationContentHandling(content_handling),\n integration_responses=[aws_native.apigateway.MethodIntegrationResponseArgs(\n content_handling=aws_native.apigateway.MethodIntegrationResponseContentHandling(content_handling),\n status_code=\"400\",\n )],\n ),\n request_validator_id=request_validator.id,\n operation_name=operation_name)\npulumi.export(\"rootResourceId\", rest_api.root_resource_id)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var contentHandling = config.Require(\"contentHandling\");\n var operationName = config.Get(\"operationName\") ?? \"testoperationName\";\n var restApiName = config.Get(\"restApiName\") ?? \"testrestApiName\";\n var validatorName = config.Get(\"validatorName\") ?? \"testvalidatorName\";\n var validateRequestBody = config.Get(\"validateRequestBody\") ?? \"testvalidateRequestBody\";\n var validateRequestParameters = config.Get(\"validateRequestParameters\") ?? true;\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = restApiName,\n });\n\n var requestValidator = new AwsNative.ApiGateway.RequestValidator(\"requestValidator\", new()\n {\n Name = validatorName,\n RestApiId = restApi.Id,\n ValidateRequestBody = validateRequestBody,\n ValidateRequestParameters = validateRequestParameters,\n });\n\n var method = new AwsNative.ApiGateway.Method(\"method\", new()\n {\n HttpMethod = \"POST\",\n ResourceId = restApi.RootResourceId,\n RestApiId = restApi.Id,\n AuthorizationType = AwsNative.ApiGateway.MethodAuthorizationType.None,\n Integration = new AwsNative.ApiGateway.Inputs.MethodIntegrationArgs\n {\n Type = AwsNative.ApiGateway.MethodIntegrationType.Mock,\n ContentHandling = System.Enum.Parse\u003cAwsNative.ApiGateway.MethodIntegrationContentHandling\u003e(contentHandling),\n IntegrationResponses = new[]\n {\n new AwsNative.ApiGateway.Inputs.MethodIntegrationResponseArgs\n {\n ContentHandling = System.Enum.Parse\u003cAwsNative.ApiGateway.MethodIntegrationResponseContentHandling\u003e(contentHandling),\n StatusCode = \"400\",\n },\n },\n },\n RequestValidatorId = requestValidator.Id,\n OperationName = operationName,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"rootResourceId\"] = restApi.RootResourceId,\n };\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\ncfg := config.New(ctx, \"\")\ncontentHandling := cfg.Require(\"contentHandling\")\noperationName := \"testoperationName\";\nif param := cfg.Get(\"operationName\"); param != \"\"{\noperationName = param\n}\nrestApiName := \"testrestApiName\";\nif param := cfg.Get(\"restApiName\"); param != \"\"{\nrestApiName = param\n}\nvalidatorName := \"testvalidatorName\";\nif param := cfg.Get(\"validatorName\"); param != \"\"{\nvalidatorName = param\n}\nvalidateRequestBody := \"testvalidateRequestBody\";\nif param := cfg.Get(\"validateRequestBody\"); param != \"\"{\nvalidateRequestBody = param\n}\nvalidateRequestParameters := true;\nif param := cfg.Get(\"validateRequestParameters\"); param != \"\"{\nvalidateRequestParameters = param\n}\nrestApi, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\nName: pulumi.String(restApiName),\n})\nif err != nil {\nreturn err\n}\nrequestValidator, err := apigateway.NewRequestValidator(ctx, \"requestValidator\", \u0026apigateway.RequestValidatorArgs{\nName: pulumi.String(validatorName),\nRestApiId: restApi.ID(),\nValidateRequestBody: pulumi.String(validateRequestBody),\nValidateRequestParameters: pulumi.String(validateRequestParameters),\n})\nif err != nil {\nreturn err\n}\n_, err = apigateway.NewMethod(ctx, \"method\", \u0026apigateway.MethodArgs{\nHttpMethod: pulumi.String(\"POST\"),\nResourceId: restApi.RootResourceId,\nRestApiId: restApi.ID(),\nAuthorizationType: apigateway.MethodAuthorizationTypeNone,\nIntegration: interface{}{\nType: apigateway.MethodIntegrationTypeMock,\nContentHandling: apigateway.MethodIntegrationContentHandling(contentHandling),\nIntegrationResponses: apigateway.MethodIntegrationResponseArray{\n\u0026apigateway.MethodIntegrationResponseArgs{\nContentHandling: apigateway.MethodIntegrationResponseContentHandling(contentHandling),\nStatusCode: pulumi.String(\"400\"),\n},\n},\n},\nRequestValidatorId: requestValidator.ID(),\nOperationName: pulumi.String(operationName),\n})\nif err != nil {\nreturn err\n}\nctx.Export(\"rootResourceId\", restApi.RootResourceId)\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst config = new pulumi.Config();\nconst contentHandling = config.require(\"contentHandling\");\nconst operationName = config.get(\"operationName\") || \"testoperationName\";\nconst restApiName = config.get(\"restApiName\") || \"testrestApiName\";\nconst validatorName = config.get(\"validatorName\") || \"testvalidatorName\";\nconst validateRequestBody = config.get(\"validateRequestBody\") || \"testvalidateRequestBody\";\nconst validateRequestParameters = config.get(\"validateRequestParameters\") || true;\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: restApiName});\nconst requestValidator = new aws_native.apigateway.RequestValidator(\"requestValidator\", {\n name: validatorName,\n restApiId: restApi.id,\n validateRequestBody: validateRequestBody,\n validateRequestParameters: validateRequestParameters,\n});\nconst method = new aws_native.apigateway.Method(\"method\", {\n httpMethod: \"POST\",\n resourceId: restApi.rootResourceId,\n restApiId: restApi.id,\n authorizationType: aws_native.apigateway.MethodAuthorizationType.None,\n integration: {\n type: aws_native.apigateway.MethodIntegrationType.Mock,\n contentHandling: aws_native.apigateway.MethodIntegrationContentHandling[contentHandling],\n integrationResponses: [{\n contentHandling: aws_native.apigateway.MethodIntegrationResponseContentHandling[contentHandling],\n statusCode: \"400\",\n }],\n },\n requestValidatorId: requestValidator.id,\n operationName: operationName,\n});\nexport const rootResourceId = restApi.rootResourceId;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\ncontent_handling = config.require(\"contentHandling\")\noperation_name = config.get(\"operationName\")\nif operation_name is None:\n operation_name = \"testoperationName\"\nrest_api_name = config.get(\"restApiName\")\nif rest_api_name is None:\n rest_api_name = \"testrestApiName\"\nvalidator_name = config.get(\"validatorName\")\nif validator_name is None:\n validator_name = \"testvalidatorName\"\nvalidate_request_body = config.get(\"validateRequestBody\")\nif validate_request_body is None:\n validate_request_body = \"testvalidateRequestBody\"\nvalidate_request_parameters = config.get(\"validateRequestParameters\")\nif validate_request_parameters is None:\n validate_request_parameters = True\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=rest_api_name)\nrequest_validator = aws_native.apigateway.RequestValidator(\"requestValidator\",\n name=validator_name,\n rest_api_id=rest_api.id,\n validate_request_body=validate_request_body,\n validate_request_parameters=validate_request_parameters)\nmethod = aws_native.apigateway.Method(\"method\",\n http_method=\"POST\",\n resource_id=rest_api.root_resource_id,\n rest_api_id=rest_api.id,\n authorization_type=aws_native.apigateway.MethodAuthorizationType.NONE,\n integration=aws_native.apigateway.MethodIntegrationArgs(\n type=aws_native.apigateway.MethodIntegrationType.MOCK,\n content_handling=aws_native.apigateway.MethodIntegrationContentHandling(content_handling),\n integration_responses=[aws_native.apigateway.MethodIntegrationResponseArgs(\n content_handling=aws_native.apigateway.MethodIntegrationResponseContentHandling(content_handling),\n status_code=\"400\",\n )],\n ),\n request_validator_id=request_validator.id,\n operation_name=operation_name)\npulumi.export(\"rootResourceId\", rest_api.root_resource_id)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var validatorName = config.Require(\"validatorName\");\n var validateRequestBody = config.Require(\"validateRequestBody\");\n var validateRequestParameters = config.Require(\"validateRequestParameters\");\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = apiName,\n });\n\n var requestValidator = new AwsNative.ApiGateway.RequestValidator(\"requestValidator\", new()\n {\n Name = validatorName,\n RestApiId = restApi.Id,\n ValidateRequestBody = validateRequestBody,\n ValidateRequestParameters = validateRequestParameters,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\tvalidatorName := cfg.Require(\"validatorName\")\n\t\tvalidateRequestBody := cfg.Require(\"validateRequestBody\")\n\t\tvalidateRequestParameters := cfg.Require(\"validateRequestParameters\")\n\t\trestApi, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = apigateway.NewRequestValidator(ctx, \"requestValidator\", \u0026apigateway.RequestValidatorArgs{\n\t\t\tName: pulumi.String(validatorName),\n\t\t\tRestApiId: restApi.ID(),\n\t\t\tValidateRequestBody: pulumi.String(validateRequestBody),\n\t\t\tValidateRequestParameters: pulumi.String(validateRequestParameters),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst validatorName = config.require(\"validatorName\");\nconst validateRequestBody = config.require(\"validateRequestBody\");\nconst validateRequestParameters = config.require(\"validateRequestParameters\");\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: apiName});\nconst requestValidator = new aws_native.apigateway.RequestValidator(\"requestValidator\", {\n name: validatorName,\n restApiId: restApi.id,\n validateRequestBody: validateRequestBody,\n validateRequestParameters: validateRequestParameters,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\nvalidator_name = config.require(\"validatorName\")\nvalidate_request_body = config.require(\"validateRequestBody\")\nvalidate_request_parameters = config.require(\"validateRequestParameters\")\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=api_name)\nrequest_validator = aws_native.apigateway.RequestValidator(\"requestValidator\",\n name=validator_name,\n rest_api_id=rest_api.id,\n validate_request_body=validate_request_body,\n validate_request_parameters=validate_request_parameters)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var validatorName = config.Require(\"validatorName\");\n var validateRequestBody = config.Require(\"validateRequestBody\");\n var validateRequestParameters = config.Require(\"validateRequestParameters\");\n var restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Name = apiName,\n });\n\n var requestValidator = new AwsNative.ApiGateway.RequestValidator(\"requestValidator\", new()\n {\n Name = validatorName,\n RestApiId = restApi.Id,\n ValidateRequestBody = validateRequestBody,\n ValidateRequestParameters = validateRequestParameters,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\tvalidatorName := cfg.Require(\"validatorName\")\n\t\tvalidateRequestBody := cfg.Require(\"validateRequestBody\")\n\t\tvalidateRequestParameters := cfg.Require(\"validateRequestParameters\")\n\t\trestApi, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = apigateway.NewRequestValidator(ctx, \"requestValidator\", \u0026apigateway.RequestValidatorArgs{\n\t\t\tName: pulumi.String(validatorName),\n\t\t\tRestApiId: restApi.ID(),\n\t\t\tValidateRequestBody: pulumi.String(validateRequestBody),\n\t\t\tValidateRequestParameters: pulumi.String(validateRequestParameters),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst validatorName = config.require(\"validatorName\");\nconst validateRequestBody = config.require(\"validateRequestBody\");\nconst validateRequestParameters = config.require(\"validateRequestParameters\");\nconst restApi = new aws_native.apigateway.RestApi(\"restApi\", {name: apiName});\nconst requestValidator = new aws_native.apigateway.RequestValidator(\"requestValidator\", {\n name: validatorName,\n restApiId: restApi.id,\n validateRequestBody: validateRequestBody,\n validateRequestParameters: validateRequestParameters,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\nvalidator_name = config.require(\"validatorName\")\nvalidate_request_body = config.require(\"validateRequestBody\")\nvalidate_request_parameters = config.require(\"validateRequestParameters\")\nrest_api = aws_native.apigateway.RestApi(\"restApi\", name=api_name)\nrequest_validator = aws_native.apigateway.RequestValidator(\"requestValidator\",\n name=validator_name,\n rest_api_id=rest_api.id,\n validate_request_body=validate_request_body,\n validate_request_parameters=validate_request_parameters)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var type = config.Require(\"type\");\n var myRestApi = new AwsNative.ApiGateway.RestApi(\"myRestApi\", new()\n {\n EndpointConfiguration = new AwsNative.ApiGateway.Inputs.RestApiEndpointConfigurationArgs\n {\n Types = new[]\n {\n type,\n },\n },\n Name = apiName,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\t_type := cfg.Require(\"type\")\n\t\t_, err := apigateway.NewRestApi(ctx, \"myRestApi\", \u0026apigateway.RestApiArgs{\n\t\t\tEndpointConfiguration: \u0026apigateway.RestApiEndpointConfigurationArgs{\n\t\t\t\tTypes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(_type),\n\t\t\t\t},\n\t\t\t},\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst type = config.require(\"type\");\nconst myRestApi = new aws_native.apigateway.RestApi(\"myRestApi\", {\n endpointConfiguration: {\n types: [type],\n },\n name: apiName,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\ntype = config.require(\"type\")\nmy_rest_api = aws_native.apigateway.RestApi(\"myRestApi\",\n endpoint_configuration=aws_native.apigateway.RestApiEndpointConfigurationArgs(\n types=[type],\n ),\n name=api_name)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiName = config.Require(\"apiName\");\n var type = config.Require(\"type\");\n var myRestApi = new AwsNative.ApiGateway.RestApi(\"myRestApi\", new()\n {\n EndpointConfiguration = new AwsNative.ApiGateway.Inputs.RestApiEndpointConfigurationArgs\n {\n Types = new[]\n {\n type,\n },\n },\n Name = apiName,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\t_type := cfg.Require(\"type\")\n\t\t_, err := apigateway.NewRestApi(ctx, \"myRestApi\", \u0026apigateway.RestApiArgs{\n\t\t\tEndpointConfiguration: \u0026apigateway.RestApiEndpointConfigurationArgs{\n\t\t\t\tTypes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(_type),\n\t\t\t\t},\n\t\t\t},\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiName = config.require(\"apiName\");\nconst type = config.require(\"type\");\nconst myRestApi = new aws_native.apigateway.RestApi(\"myRestApi\", {\n endpointConfiguration: {\n types: [type],\n },\n name: apiName,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_name = config.require(\"apiName\")\ntype = config.require(\"type\")\nmy_rest_api = aws_native.apigateway.RestApi(\"myRestApi\",\n endpoint_configuration=aws_native.apigateway.RestApiEndpointConfigurationArgs(\n types=[type],\n ),\n name=api_name)\n\n```\n\n{{% /example %}}\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 restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Body = \n {\n { \"swagger\", 2 },\n { \"info\", \n {\n { \"version\", \"0.0.1\" },\n { \"title\", \"test\" },\n } },\n { \"basePath\", \"/pete\" },\n { \"schemes\", new[]\n {\n \"https\",\n } },\n { \"definitions\", \n {\n { \"empty\", \n {\n { \"type\", \"object\" },\n } },\n } },\n },\n Name = \"myApi\",\n Parameters = \n {\n { \"endpointConfigurationTypes\", \"REGIONAL\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\n\t\t\tBody: pulumi.Any{\n\t\t\t\tSwagger: 2,\n\t\t\t\tInfo: map[string]interface{}{\n\t\t\t\t\t\"version\": \"0.0.1\",\n\t\t\t\t\t\"title\": \"test\",\n\t\t\t\t},\n\t\t\t\tBasePath: \"/pete\",\n\t\t\t\tSchemes: []string{\n\t\t\t\t\t\"https\",\n\t\t\t\t},\n\t\t\t\tDefinitions: map[string]interface{}{\n\t\t\t\t\t\"empty\": map[string]interface{}{\n\t\t\t\t\t\t\"type\": \"object\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tName: pulumi.String(\"myApi\"),\n\t\t\tParameters: pulumi.StringMap{\n\t\t\t\t\"endpointConfigurationTypes\": pulumi.String(\"REGIONAL\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 restApi = new aws_native.apigateway.RestApi(\"restApi\", {\n body: {\n swagger: 2,\n info: {\n version: \"0.0.1\",\n title: \"test\",\n },\n basePath: \"/pete\",\n schemes: [\"https\"],\n definitions: {\n empty: {\n type: \"object\",\n },\n },\n },\n name: \"myApi\",\n parameters: {\n endpointConfigurationTypes: \"REGIONAL\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nrest_api = aws_native.apigateway.RestApi(\"restApi\",\n body={\n \"swagger\": 2,\n \"info\": {\n \"version\": \"0.0.1\",\n \"title\": \"test\",\n },\n \"basePath\": \"/pete\",\n \"schemes\": [\"https\"],\n \"definitions\": {\n \"empty\": {\n \"type\": \"object\",\n },\n },\n },\n name=\"myApi\",\n parameters={\n \"endpointConfigurationTypes\": \"REGIONAL\",\n })\n\n```\n\n{{% /example %}}\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 restApi = new AwsNative.ApiGateway.RestApi(\"restApi\", new()\n {\n Body = \n {\n { \"swagger\", 2 },\n { \"info\", \n {\n { \"version\", \"0.0.1\" },\n { \"title\", \"test\" },\n } },\n { \"basePath\", \"/pete\" },\n { \"schemes\", new[]\n {\n \"https\",\n } },\n { \"definitions\", \n {\n { \"empty\", \n {\n { \"type\", \"object\" },\n } },\n } },\n },\n Name = \"myApi\",\n Parameters = \n {\n { \"endpointConfigurationTypes\", \"REGIONAL\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := apigateway.NewRestApi(ctx, \"restApi\", \u0026apigateway.RestApiArgs{\n\t\t\tBody: pulumi.Any{\n\t\t\t\tSwagger: 2,\n\t\t\t\tInfo: map[string]interface{}{\n\t\t\t\t\t\"version\": \"0.0.1\",\n\t\t\t\t\t\"title\": \"test\",\n\t\t\t\t},\n\t\t\t\tBasePath: \"/pete\",\n\t\t\t\tSchemes: []string{\n\t\t\t\t\t\"https\",\n\t\t\t\t},\n\t\t\t\tDefinitions: map[string]interface{}{\n\t\t\t\t\t\"empty\": map[string]interface{}{\n\t\t\t\t\t\t\"type\": \"object\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tName: pulumi.String(\"myApi\"),\n\t\t\tParameters: pulumi.StringMap{\n\t\t\t\t\"endpointConfigurationTypes\": pulumi.String(\"REGIONAL\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 restApi = new aws_native.apigateway.RestApi(\"restApi\", {\n body: {\n swagger: 2,\n info: {\n version: \"0.0.1\",\n title: \"test\",\n },\n basePath: \"/pete\",\n schemes: [\"https\"],\n definitions: {\n empty: {\n type: \"object\",\n },\n },\n },\n name: \"myApi\",\n parameters: {\n endpointConfigurationTypes: \"REGIONAL\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nrest_api = aws_native.apigateway.RestApi(\"restApi\",\n body={\n \"swagger\": 2,\n \"info\": {\n \"version\": \"0.0.1\",\n \"title\": \"test\",\n },\n \"basePath\": \"/pete\",\n \"schemes\": [\"https\"],\n \"definitions\": {\n \"empty\": {\n \"type\": \"object\",\n },\n },\n },\n name=\"myApi\",\n parameters={\n \"endpointConfigurationTypes\": \"REGIONAL\",\n })\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiKeySourceType = config.Require(\"apiKeySourceType\");\n var apiName = config.Require(\"apiName\");\n var binaryMediaType1 = config.Require(\"binaryMediaType1\");\n var binaryMediaType2 = config.Require(\"binaryMediaType2\");\n var minimumCompressionSize = config.Require(\"minimumCompressionSize\");\n var myRestApi = new AwsNative.ApiGateway.RestApi(\"myRestApi\", new()\n {\n ApiKeySourceType = apiKeySourceType,\n BinaryMediaTypes = new[]\n {\n binaryMediaType1,\n binaryMediaType2,\n },\n MinimumCompressionSize = minimumCompressionSize,\n Name = apiName,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiKeySourceType := cfg.Require(\"apiKeySourceType\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\tbinaryMediaType1 := cfg.Require(\"binaryMediaType1\")\n\t\tbinaryMediaType2 := cfg.Require(\"binaryMediaType2\")\n\t\tminimumCompressionSize := cfg.Require(\"minimumCompressionSize\")\n\t\t_, err := apigateway.NewRestApi(ctx, \"myRestApi\", \u0026apigateway.RestApiArgs{\n\t\t\tApiKeySourceType: pulumi.String(apiKeySourceType),\n\t\t\tBinaryMediaTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(binaryMediaType1),\n\t\t\t\tpulumi.String(binaryMediaType2),\n\t\t\t},\n\t\t\tMinimumCompressionSize: pulumi.String(minimumCompressionSize),\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiKeySourceType = config.require(\"apiKeySourceType\");\nconst apiName = config.require(\"apiName\");\nconst binaryMediaType1 = config.require(\"binaryMediaType1\");\nconst binaryMediaType2 = config.require(\"binaryMediaType2\");\nconst minimumCompressionSize = config.require(\"minimumCompressionSize\");\nconst myRestApi = new aws_native.apigateway.RestApi(\"myRestApi\", {\n apiKeySourceType: apiKeySourceType,\n binaryMediaTypes: [\n binaryMediaType1,\n binaryMediaType2,\n ],\n minimumCompressionSize: minimumCompressionSize,\n name: apiName,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_key_source_type = config.require(\"apiKeySourceType\")\napi_name = config.require(\"apiName\")\nbinary_media_type1 = config.require(\"binaryMediaType1\")\nbinary_media_type2 = config.require(\"binaryMediaType2\")\nminimum_compression_size = config.require(\"minimumCompressionSize\")\nmy_rest_api = aws_native.apigateway.RestApi(\"myRestApi\",\n api_key_source_type=api_key_source_type,\n binary_media_types=[\n binary_media_type1,\n binary_media_type2,\n ],\n minimum_compression_size=minimum_compression_size,\n name=api_name)\n\n```\n\n{{% /example %}}\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 config = new Config();\n var apiKeySourceType = config.Require(\"apiKeySourceType\");\n var apiName = config.Require(\"apiName\");\n var binaryMediaType1 = config.Require(\"binaryMediaType1\");\n var binaryMediaType2 = config.Require(\"binaryMediaType2\");\n var minimumCompressionSize = config.Require(\"minimumCompressionSize\");\n var myRestApi = new AwsNative.ApiGateway.RestApi(\"myRestApi\", new()\n {\n ApiKeySourceType = apiKeySourceType,\n BinaryMediaTypes = new[]\n {\n binaryMediaType1,\n binaryMediaType2,\n },\n MinimumCompressionSize = minimumCompressionSize,\n Name = apiName,\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/apigateway\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tapiKeySourceType := cfg.Require(\"apiKeySourceType\")\n\t\tapiName := cfg.Require(\"apiName\")\n\t\tbinaryMediaType1 := cfg.Require(\"binaryMediaType1\")\n\t\tbinaryMediaType2 := cfg.Require(\"binaryMediaType2\")\n\t\tminimumCompressionSize := cfg.Require(\"minimumCompressionSize\")\n\t\t_, err := apigateway.NewRestApi(ctx, \"myRestApi\", \u0026apigateway.RestApiArgs{\n\t\t\tApiKeySourceType: pulumi.String(apiKeySourceType),\n\t\t\tBinaryMediaTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(binaryMediaType1),\n\t\t\t\tpulumi.String(binaryMediaType2),\n\t\t\t},\n\t\t\tMinimumCompressionSize: pulumi.String(minimumCompressionSize),\n\t\t\tName: pulumi.String(apiName),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 config = new pulumi.Config();\nconst apiKeySourceType = config.require(\"apiKeySourceType\");\nconst apiName = config.require(\"apiName\");\nconst binaryMediaType1 = config.require(\"binaryMediaType1\");\nconst binaryMediaType2 = config.require(\"binaryMediaType2\");\nconst minimumCompressionSize = config.require(\"minimumCompressionSize\");\nconst myRestApi = new aws_native.apigateway.RestApi(\"myRestApi\", {\n apiKeySourceType: apiKeySourceType,\n binaryMediaTypes: [\n binaryMediaType1,\n binaryMediaType2,\n ],\n minimumCompressionSize: minimumCompressionSize,\n name: apiName,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\napi_key_source_type = config.require(\"apiKeySourceType\")\napi_name = config.require(\"apiName\")\nbinary_media_type1 = config.require(\"binaryMediaType1\")\nbinary_media_type2 = config.require(\"binaryMediaType2\")\nminimum_compression_size = config.require(\"minimumCompressionSize\")\nmy_rest_api = aws_native.apigateway.RestApi(\"myRestApi\",\n api_key_source_type=api_key_source_type,\n binary_media_types=[\n binary_media_type1,\n binary_media_type2,\n ],\n minimum_compression_size=minimum_compression_size,\n name=api_name)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "apiKeySourceType": { "type": "string", @@ -131024,7 +132191,10 @@ "description": "The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification." }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``." }, "policy": { @@ -131103,7 +132273,10 @@ "description": "The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification." }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``." }, "policy": { @@ -131183,7 +132356,10 @@ "description": "Specifies whether active tracing with X-ray is enabled for the Stage." }, "variables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#\u0026=,]+``." } }, @@ -131251,7 +132427,10 @@ "description": "Specifies whether active tracing with X-ray is enabled for the Stage." }, "variables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#\u0026=,]+``." } }, @@ -131504,7 +132683,10 @@ "description": "The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags. Each tag element is associated with a given resource." }, "target": { @@ -131579,7 +132761,10 @@ "description": "The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags. Each tag element is associated with a given resource." }, "target": { @@ -131815,7 +133000,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags associated with a domain name." } }, @@ -131847,7 +133035,10 @@ "description": "The mutual TLS authentication configuration for a custom domain name." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags associated with a domain name." } }, @@ -132213,7 +133404,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "This resource type use map for Tags, suggest to use List of Tag" }, "vpcLinkId": { @@ -132243,7 +133437,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "This resource type use map for Tags, suggest to use List of Tag" } }, @@ -132485,10 +133682,16 @@ ] }, "aws-native:appconfig:Extension": { - "description": "Resource Type definition for AWS::AppConfig::Extension\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 basicExtension = new AwsNative.AppConfig.Extension(\"basicExtension\", new()\n {\n Name = \"My Test Extension\",\n Description = \"My test extension\",\n LatestVersionNumber = 0,\n Actions = \n {\n { \"pre_create_hosted_configuration_version\", new[]\n {\n \n {\n { \"name\", \"My Test Action\" },\n { \"uri\", \"DependentLambda.Arn\" },\n { \"roleArn\", \"DependentRole.Arn\" },\n { \"description\", \"My test action point\" },\n },\n } },\n },\n Parameters = \n {\n { \"myTestParam\", \n {\n { \"required\", false },\n { \"description\", \"My test parameter\" },\n } },\n },\n Tags = new[]\n {\n new AwsNative.AppConfig.Inputs.ExtensionTagArgs\n {\n Key = \"Ext\",\n Value = \"Test\",\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/appconfig\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appconfig.NewExtension(ctx, \"basicExtension\", \u0026appconfig.ExtensionArgs{\n\t\t\tName: pulumi.String(\"My Test Extension\"),\n\t\t\tDescription: pulumi.String(\"My test extension\"),\n\t\t\tLatestVersionNumber: pulumi.Int(0),\n\t\t\tActions: pulumi.Any{\n\t\t\t\tPre_create_hosted_configuration_version: []map[string]interface{}{\n\t\t\t\t\tmap[string]interface{}{\n\t\t\t\t\t\t\"name\": \"My Test Action\",\n\t\t\t\t\t\t\"uri\": \"DependentLambda.Arn\",\n\t\t\t\t\t\t\"roleArn\": \"DependentRole.Arn\",\n\t\t\t\t\t\t\"description\": \"My test action point\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tParameters: pulumi.Any{\n\t\t\t\tMyTestParam: map[string]interface{}{\n\t\t\t\t\t\"required\": false,\n\t\t\t\t\t\"description\": \"My test parameter\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: []appconfig.ExtensionTagArgs{\n\t\t\t\t{\n\t\t\t\t\tKey: pulumi.String(\"Ext\"),\n\t\t\t\t\tValue: pulumi.String(\"Test\"),\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\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 basicExtension = new aws_native.appconfig.Extension(\"basicExtension\", {\n name: \"My Test Extension\",\n description: \"My test extension\",\n latestVersionNumber: 0,\n actions: {\n pre_create_hosted_configuration_version: [{\n name: \"My Test Action\",\n uri: \"DependentLambda.Arn\",\n roleArn: \"DependentRole.Arn\",\n description: \"My test action point\",\n }],\n },\n parameters: {\n myTestParam: {\n required: false,\n description: \"My test parameter\",\n },\n },\n tags: [{\n key: \"Ext\",\n value: \"Test\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_extension = aws_native.appconfig.Extension(\"basicExtension\",\n name=\"My Test Extension\",\n description=\"My test extension\",\n latest_version_number=0,\n actions={\n \"pre_create_hosted_configuration_version\": [{\n \"name\": \"My Test Action\",\n \"uri\": \"DependentLambda.Arn\",\n \"roleArn\": \"DependentRole.Arn\",\n \"description\": \"My test action point\",\n }],\n },\n parameters={\n \"myTestParam\": {\n \"required\": False,\n \"description\": \"My test parameter\",\n },\n },\n tags=[aws_native.appconfig.ExtensionTagArgs(\n key=\"Ext\",\n value=\"Test\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", + "description": "Resource Type definition for AWS::AppConfig::Extension\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 basicExtension = new AwsNative.AppConfig.Extension(\"basicExtension\", new()\n {\n Name = \"My Test Extension\",\n Description = \"My test extension\",\n LatestVersionNumber = 0,\n Actions = \n {\n { \"pre_create_hosted_configuration_version\", new[]\n {\n new AwsNative.AppConfig.Inputs.ExtensionActionArgs\n {\n Name = \"My Test Action\",\n Uri = \"DependentLambda.Arn\",\n RoleArn = \"DependentRole.Arn\",\n Description = \"My test action point\",\n },\n } },\n },\n Parameters = \n {\n { \"myTestParam\", new AwsNative.AppConfig.Inputs.ExtensionParameterArgs\n {\n Required = false,\n Description = \"My test parameter\",\n } },\n },\n Tags = new[]\n {\n new AwsNative.AppConfig.Inputs.ExtensionTagArgs\n {\n Key = \"Ext\",\n Value = \"Test\",\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/appconfig\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appconfig.NewExtension(ctx, \"basicExtension\", \u0026appconfig.ExtensionArgs{\n\t\t\tName: pulumi.String(\"My Test Extension\"),\n\t\t\tDescription: pulumi.String(\"My test extension\"),\n\t\t\tLatestVersionNumber: pulumi.Int(0),\n\t\t\tActions: appconfig.ExtensionActionArrayMap{\n\t\t\t\t\"pre_create_hosted_configuration_version\": appconfig.ExtensionActionArray{\n\t\t\t\t\t\u0026appconfig.ExtensionActionArgs{\n\t\t\t\t\t\tName: pulumi.String(\"My Test Action\"),\n\t\t\t\t\t\tUri: pulumi.String(\"DependentLambda.Arn\"),\n\t\t\t\t\t\tRoleArn: pulumi.String(\"DependentRole.Arn\"),\n\t\t\t\t\t\tDescription: pulumi.String(\"My test action point\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tParameters: appconfig.ExtensionParameterMap{\n\t\t\t\t\"myTestParam\": \u0026appconfig.ExtensionParameterArgs{\n\t\t\t\t\tRequired: pulumi.Bool(false),\n\t\t\t\t\tDescription: pulumi.String(\"My test parameter\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: []appconfig.ExtensionTagArgs{\n\t\t\t\t{\n\t\t\t\t\tKey: pulumi.String(\"Ext\"),\n\t\t\t\t\tValue: pulumi.String(\"Test\"),\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\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 basicExtension = new aws_native.appconfig.Extension(\"basicExtension\", {\n name: \"My Test Extension\",\n description: \"My test extension\",\n latestVersionNumber: 0,\n actions: {\n pre_create_hosted_configuration_version: [{\n name: \"My Test Action\",\n uri: \"DependentLambda.Arn\",\n roleArn: \"DependentRole.Arn\",\n description: \"My test action point\",\n }],\n },\n parameters: {\n myTestParam: {\n required: false,\n description: \"My test parameter\",\n },\n },\n tags: [{\n key: \"Ext\",\n value: \"Test\",\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_extension = aws_native.appconfig.Extension(\"basicExtension\",\n name=\"My Test Extension\",\n description=\"My test extension\",\n latest_version_number=0,\n actions={\n \"pre_create_hosted_configuration_version\": [aws_native.appconfig.ExtensionActionArgs(\n name=\"My Test Action\",\n uri=\"DependentLambda.Arn\",\n role_arn=\"DependentRole.Arn\",\n description=\"My test action point\",\n )],\n },\n parameters={\n \"myTestParam\": aws_native.appconfig.ExtensionParameterArgs(\n required=False,\n description=\"My test parameter\",\n ),\n },\n tags=[aws_native.appconfig.ExtensionTagArgs(\n key=\"Ext\",\n value=\"Test\",\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "actions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:appconfig:ExtensionAction" + } + } }, "arn": { "type": "string" @@ -132506,7 +133709,10 @@ "replaceOnChanges": true }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:appconfig:ExtensionParameter" + } }, "tags": { "type": "array", @@ -132529,7 +133735,13 @@ ], "inputProperties": { "actions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:appconfig:ExtensionAction" + } + } }, "description": { "type": "string", @@ -132543,7 +133755,10 @@ "description": "Name of the extension." }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:appconfig:ExtensionParameter" + } }, "tags": { "type": "array", @@ -132575,7 +133790,10 @@ "replaceOnChanges": true }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "resourceArn": { "type": "string" @@ -132607,7 +133825,10 @@ "type": "integer" }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "resourceIdentifier": { "type": "string" @@ -135175,7 +136396,7 @@ ] }, "aws-native:athena:DataCatalog": { - "description": "Resource schema for AWS::Athena::DataCatalog\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 myAthenaDataCatalog = new AwsNative.Athena.DataCatalog(\"myAthenaDataCatalog\", new()\n {\n Name = \"MyCustomDataCatalog\",\n Type = AwsNative.Athena.DataCatalogType.Hive,\n Description = \"Custom Hive Catalog Description\",\n Tags = new[]\n {\n new AwsNative.Athena.Inputs.DataCatalogTagArgs\n {\n Key = \"key1\",\n Value = \"value1\",\n },\n new AwsNative.Athena.Inputs.DataCatalogTagArgs\n {\n Key = \"key2\",\n Value = \"value2\",\n },\n },\n Parameters = \n {\n { \"metadata-function\", \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/athena\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := athena.NewDataCatalog(ctx, \"myAthenaDataCatalog\", \u0026athena.DataCatalogArgs{\n\t\t\tName: pulumi.String(\"MyCustomDataCatalog\"),\n\t\t\tType: athena.DataCatalogTypeHive,\n\t\t\tDescription: pulumi.String(\"Custom Hive Catalog Description\"),\n\t\t\tTags: []athena.DataCatalogTagArgs{\n\t\t\t\t{\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{\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\tParameters: pulumi.Any{\n\t\t\t\tMetadataFunction: \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 myAthenaDataCatalog = new aws_native.athena.DataCatalog(\"myAthenaDataCatalog\", {\n name: \"MyCustomDataCatalog\",\n type: aws_native.athena.DataCatalogType.Hive,\n description: \"Custom Hive Catalog Description\",\n tags: [\n {\n key: \"key1\",\n value: \"value1\",\n },\n {\n key: \"key2\",\n value: \"value2\",\n },\n ],\n parameters: {\n \"metadata-function\": \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_athena_data_catalog = aws_native.athena.DataCatalog(\"myAthenaDataCatalog\",\n name=\"MyCustomDataCatalog\",\n type=aws_native.athena.DataCatalogType.HIVE,\n description=\"Custom Hive Catalog Description\",\n tags=[\n aws_native.athena.DataCatalogTagArgs(\n key=\"key1\",\n value=\"value1\",\n ),\n aws_native.athena.DataCatalogTagArgs(\n key=\"key2\",\n value=\"value2\",\n ),\n ],\n parameters={\n \"metadata-function\": \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n })\n\n```\n\n{{% /example %}}\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 myAthenaDataCatalog = new AwsNative.Athena.DataCatalog(\"myAthenaDataCatalog\", new()\n {\n Name = \"MyCustomDataCatalog\",\n Type = AwsNative.Athena.DataCatalogType.Hive,\n Description = \"Custom Hive Catalog Description\",\n Tags = new[]\n {\n new AwsNative.Athena.Inputs.DataCatalogTagArgs\n {\n Key = \"key1\",\n Value = \"value1\",\n },\n new AwsNative.Athena.Inputs.DataCatalogTagArgs\n {\n Key = \"key2\",\n Value = \"value2\",\n },\n },\n Parameters = \n {\n { \"metadata-function\", \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/athena\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := athena.NewDataCatalog(ctx, \"myAthenaDataCatalog\", \u0026athena.DataCatalogArgs{\n\t\t\tName: pulumi.String(\"MyCustomDataCatalog\"),\n\t\t\tType: athena.DataCatalogTypeHive,\n\t\t\tDescription: pulumi.String(\"Custom Hive Catalog Description\"),\n\t\t\tTags: []athena.DataCatalogTagArgs{\n\t\t\t\t{\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{\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\tParameters: pulumi.Any{\n\t\t\t\tMetadataFunction: \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 myAthenaDataCatalog = new aws_native.athena.DataCatalog(\"myAthenaDataCatalog\", {\n name: \"MyCustomDataCatalog\",\n type: aws_native.athena.DataCatalogType.Hive,\n description: \"Custom Hive Catalog Description\",\n tags: [\n {\n key: \"key1\",\n value: \"value1\",\n },\n {\n key: \"key2\",\n value: \"value2\",\n },\n ],\n parameters: {\n \"metadata-function\": \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_athena_data_catalog = aws_native.athena.DataCatalog(\"myAthenaDataCatalog\",\n name=\"MyCustomDataCatalog\",\n type=aws_native.athena.DataCatalogType.HIVE,\n description=\"Custom Hive Catalog Description\",\n tags=[\n aws_native.athena.DataCatalogTagArgs(\n key=\"key1\",\n value=\"value1\",\n ),\n aws_native.athena.DataCatalogTagArgs(\n key=\"key2\",\n value=\"value2\",\n ),\n ],\n parameters={\n \"metadata-function\": \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n })\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", + "description": "Resource schema for AWS::Athena::DataCatalog\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 myAthenaDataCatalog = new AwsNative.Athena.DataCatalog(\"myAthenaDataCatalog\", new()\n {\n Name = \"MyCustomDataCatalog\",\n Type = AwsNative.Athena.DataCatalogType.Hive,\n Description = \"Custom Hive Catalog Description\",\n Tags = new[]\n {\n new AwsNative.Athena.Inputs.DataCatalogTagArgs\n {\n Key = \"key1\",\n Value = \"value1\",\n },\n new AwsNative.Athena.Inputs.DataCatalogTagArgs\n {\n Key = \"key2\",\n Value = \"value2\",\n },\n },\n Parameters = \n {\n { \"metadata-function\", \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/athena\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := athena.NewDataCatalog(ctx, \"myAthenaDataCatalog\", \u0026athena.DataCatalogArgs{\n\t\t\tName: pulumi.String(\"MyCustomDataCatalog\"),\n\t\t\tType: athena.DataCatalogTypeHive,\n\t\t\tDescription: pulumi.String(\"Custom Hive Catalog Description\"),\n\t\t\tTags: []athena.DataCatalogTagArgs{\n\t\t\t\t{\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{\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\tParameters: pulumi.StringMap{\n\t\t\t\t\"metadata-function\": pulumi.String(\"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 myAthenaDataCatalog = new aws_native.athena.DataCatalog(\"myAthenaDataCatalog\", {\n name: \"MyCustomDataCatalog\",\n type: aws_native.athena.DataCatalogType.Hive,\n description: \"Custom Hive Catalog Description\",\n tags: [\n {\n key: \"key1\",\n value: \"value1\",\n },\n {\n key: \"key2\",\n value: \"value2\",\n },\n ],\n parameters: {\n \"metadata-function\": \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_athena_data_catalog = aws_native.athena.DataCatalog(\"myAthenaDataCatalog\",\n name=\"MyCustomDataCatalog\",\n type=aws_native.athena.DataCatalogType.HIVE,\n description=\"Custom Hive Catalog Description\",\n tags=[\n aws_native.athena.DataCatalogTagArgs(\n key=\"key1\",\n value=\"value1\",\n ),\n aws_native.athena.DataCatalogTagArgs(\n key=\"key2\",\n value=\"value2\",\n ),\n ],\n parameters={\n \"metadata-function\": \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n })\n\n```\n\n{{% /example %}}\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 myAthenaDataCatalog = new AwsNative.Athena.DataCatalog(\"myAthenaDataCatalog\", new()\n {\n Name = \"MyCustomDataCatalog\",\n Type = AwsNative.Athena.DataCatalogType.Hive,\n Description = \"Custom Hive Catalog Description\",\n Tags = new[]\n {\n new AwsNative.Athena.Inputs.DataCatalogTagArgs\n {\n Key = \"key1\",\n Value = \"value1\",\n },\n new AwsNative.Athena.Inputs.DataCatalogTagArgs\n {\n Key = \"key2\",\n Value = \"value2\",\n },\n },\n Parameters = \n {\n { \"metadata-function\", \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/athena\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := athena.NewDataCatalog(ctx, \"myAthenaDataCatalog\", \u0026athena.DataCatalogArgs{\n\t\t\tName: pulumi.String(\"MyCustomDataCatalog\"),\n\t\t\tType: athena.DataCatalogTypeHive,\n\t\t\tDescription: pulumi.String(\"Custom Hive Catalog Description\"),\n\t\t\tTags: []athena.DataCatalogTagArgs{\n\t\t\t\t{\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{\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\tParameters: pulumi.StringMap{\n\t\t\t\t\"metadata-function\": pulumi.String(\"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 myAthenaDataCatalog = new aws_native.athena.DataCatalog(\"myAthenaDataCatalog\", {\n name: \"MyCustomDataCatalog\",\n type: aws_native.athena.DataCatalogType.Hive,\n description: \"Custom Hive Catalog Description\",\n tags: [\n {\n key: \"key1\",\n value: \"value1\",\n },\n {\n key: \"key2\",\n value: \"value2\",\n },\n ],\n parameters: {\n \"metadata-function\": \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nmy_athena_data_catalog = aws_native.athena.DataCatalog(\"myAthenaDataCatalog\",\n name=\"MyCustomDataCatalog\",\n type=aws_native.athena.DataCatalogType.HIVE,\n description=\"Custom Hive Catalog Description\",\n tags=[\n aws_native.athena.DataCatalogTagArgs(\n key=\"key1\",\n value=\"value1\",\n ),\n aws_native.athena.DataCatalogTagArgs(\n key=\"key2\",\n value=\"value2\",\n ),\n ],\n parameters={\n \"metadata-function\": \"arn:aws:lambda:us-west-2:111122223333:function:lambdaname\",\n })\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "description": { "type": "string", @@ -135187,7 +136408,10 @@ "replaceOnChanges": true }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. " }, "tags": { @@ -135217,7 +136441,10 @@ "description": "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. " }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. " }, "tags": { @@ -136678,7 +137905,10 @@ "type": "string" }, "backupPlanTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "versionId": { "type": "string" @@ -136701,7 +137931,10 @@ } }, "backupPlanTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "requiredInputs": [ @@ -136766,7 +137999,10 @@ "replaceOnChanges": true }, "backupVaultTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "encryptionKeyArn": { "type": "string", @@ -136792,7 +138028,10 @@ "type": "string" }, "backupVaultTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "encryptionKeyArn": { "type": "string" @@ -137183,7 +138422,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true }, @@ -137223,7 +138465,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "type": { @@ -137360,7 +138605,10 @@ "$ref": "#/types/aws-native:batch:JobQueueState" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true } @@ -137391,7 +138639,10 @@ "$ref": "#/types/aws-native:batch:JobQueueState" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } }, @@ -137415,7 +138666,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true } @@ -137433,7 +138687,10 @@ "description": "Name of Scheduling Policy." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } } @@ -139211,7 +140468,10 @@ } }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "parentId": { "type": "string" @@ -139292,7 +140552,10 @@ } }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "roleArn": { "type": "string" @@ -141751,7 +143014,10 @@ "$ref": "#/types/aws-native:codestarnotifications:NotificationRuleStatus" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetAddress": { "type": "string" @@ -141798,7 +143064,10 @@ "$ref": "#/types/aws-native:codestarnotifications:NotificationRuleStatus" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetAddress": { "type": "string" @@ -141969,10 +143238,16 @@ "replaceOnChanges": true }, "roleMappings": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentRoleMapping" + } }, "roles": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object", @@ -141984,10 +143259,16 @@ "type": "string" }, "roleMappings": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentRoleMapping" + } }, "roles": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "requiredInputs": [ @@ -142115,7 +143396,10 @@ "type": "string" }, "userPoolTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "usernameAttributes": { "type": "array", @@ -142211,7 +143495,10 @@ "type": "string" }, "userPoolTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "usernameAttributes": { "type": "array", @@ -142673,7 +143960,10 @@ "description": "Resource Type definition for AWS::Cognito::UserPoolUser", "properties": { "clientMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "replaceOnChanges": true }, "desiredDeliveryMediums": { @@ -142720,7 +144010,10 @@ ], "inputProperties": { "clientMetadata": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "desiredDeliveryMediums": { "type": "array", @@ -158193,7 +159486,7 @@ ] }, "aws-native:eks:Nodegroup": { - "description": "Resource schema for AWS::EKS::Nodegroup\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 eksNodegroup = new AwsNative.Eks.Nodegroup(\"eksNodegroup\", new()\n {\n ClusterName = \"prod\",\n NodeRole = \"arn:aws:iam::012345678910:role/eksInstanceRole\",\n ScalingConfig = new AwsNative.Eks.Inputs.NodegroupScalingConfigArgs\n {\n MinSize = 3,\n DesiredSize = 5,\n MaxSize = 7,\n },\n Labels = \n {\n { \"key1\", \"Value1\" },\n { \"key2\", \"Value2\" },\n },\n Subnets = new[]\n {\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/eks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := eks.NewNodegroup(ctx, \"eksNodegroup\", \u0026eks.NodegroupArgs{\n\t\t\tClusterName: pulumi.String(\"prod\"),\n\t\t\tNodeRole: pulumi.String(\"arn:aws:iam::012345678910:role/eksInstanceRole\"),\n\t\t\tScalingConfig: \u0026eks.NodegroupScalingConfigArgs{\n\t\t\t\tMinSize: pulumi.Int(3),\n\t\t\t\tDesiredSize: pulumi.Int(5),\n\t\t\t\tMaxSize: pulumi.Int(7),\n\t\t\t},\n\t\t\tLabels: pulumi.Any{\n\t\t\t\tKey1: \"Value1\",\n\t\t\t\tKey2: \"Value2\",\n\t\t\t},\n\t\t\tSubnets: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"subnet-6782e71e\"),\n\t\t\t\tpulumi.String(\"subnet-e7e761ac\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 eksNodegroup = new aws_native.eks.Nodegroup(\"eksNodegroup\", {\n clusterName: \"prod\",\n nodeRole: \"arn:aws:iam::012345678910:role/eksInstanceRole\",\n scalingConfig: {\n minSize: 3,\n desiredSize: 5,\n maxSize: 7,\n },\n labels: {\n key1: \"Value1\",\n key2: \"Value2\",\n },\n subnets: [\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\neks_nodegroup = aws_native.eks.Nodegroup(\"eksNodegroup\",\n cluster_name=\"prod\",\n node_role=\"arn:aws:iam::012345678910:role/eksInstanceRole\",\n scaling_config=aws_native.eks.NodegroupScalingConfigArgs(\n min_size=3,\n desired_size=5,\n max_size=7,\n ),\n labels={\n \"key1\": \"Value1\",\n \"key2\": \"Value2\",\n },\n subnets=[\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n ])\n\n```\n\n{{% /example %}}\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 eksNodegroup = new AwsNative.Eks.Nodegroup(\"eksNodegroup\", new()\n {\n ClusterName = \"prod\",\n NodeRole = \"arn:aws:iam::012345678910:role/eksInstanceRole\",\n ScalingConfig = new AwsNative.Eks.Inputs.NodegroupScalingConfigArgs\n {\n MinSize = 3,\n DesiredSize = 5,\n MaxSize = 7,\n },\n Labels = \n {\n { \"key1\", \"Value1\" },\n { \"key2\", \"Value2\" },\n },\n Subnets = new[]\n {\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/eks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := eks.NewNodegroup(ctx, \"eksNodegroup\", \u0026eks.NodegroupArgs{\n\t\t\tClusterName: pulumi.String(\"prod\"),\n\t\t\tNodeRole: pulumi.String(\"arn:aws:iam::012345678910:role/eksInstanceRole\"),\n\t\t\tScalingConfig: \u0026eks.NodegroupScalingConfigArgs{\n\t\t\t\tMinSize: pulumi.Int(3),\n\t\t\t\tDesiredSize: pulumi.Int(5),\n\t\t\t\tMaxSize: pulumi.Int(7),\n\t\t\t},\n\t\t\tLabels: pulumi.Any{\n\t\t\t\tKey1: \"Value1\",\n\t\t\t\tKey2: \"Value2\",\n\t\t\t},\n\t\t\tSubnets: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"subnet-6782e71e\"),\n\t\t\t\tpulumi.String(\"subnet-e7e761ac\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 eksNodegroup = new aws_native.eks.Nodegroup(\"eksNodegroup\", {\n clusterName: \"prod\",\n nodeRole: \"arn:aws:iam::012345678910:role/eksInstanceRole\",\n scalingConfig: {\n minSize: 3,\n desiredSize: 5,\n maxSize: 7,\n },\n labels: {\n key1: \"Value1\",\n key2: \"Value2\",\n },\n subnets: [\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\neks_nodegroup = aws_native.eks.Nodegroup(\"eksNodegroup\",\n cluster_name=\"prod\",\n node_role=\"arn:aws:iam::012345678910:role/eksInstanceRole\",\n scaling_config=aws_native.eks.NodegroupScalingConfigArgs(\n min_size=3,\n desired_size=5,\n max_size=7,\n ),\n labels={\n \"key1\": \"Value1\",\n \"key2\": \"Value2\",\n },\n subnets=[\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", + "description": "Resource schema for AWS::EKS::Nodegroup\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 eksNodegroup = new AwsNative.Eks.Nodegroup(\"eksNodegroup\", new()\n {\n ClusterName = \"prod\",\n NodeRole = \"arn:aws:iam::012345678910:role/eksInstanceRole\",\n ScalingConfig = new AwsNative.Eks.Inputs.NodegroupScalingConfigArgs\n {\n MinSize = 3,\n DesiredSize = 5,\n MaxSize = 7,\n },\n Labels = \n {\n { \"key1\", \"Value1\" },\n { \"key2\", \"Value2\" },\n },\n Subnets = new[]\n {\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/eks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := eks.NewNodegroup(ctx, \"eksNodegroup\", \u0026eks.NodegroupArgs{\n\t\t\tClusterName: pulumi.String(\"prod\"),\n\t\t\tNodeRole: pulumi.String(\"arn:aws:iam::012345678910:role/eksInstanceRole\"),\n\t\t\tScalingConfig: \u0026eks.NodegroupScalingConfigArgs{\n\t\t\t\tMinSize: pulumi.Int(3),\n\t\t\t\tDesiredSize: pulumi.Int(5),\n\t\t\t\tMaxSize: pulumi.Int(7),\n\t\t\t},\n\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\"key1\": pulumi.String(\"Value1\"),\n\t\t\t\t\"key2\": pulumi.String(\"Value2\"),\n\t\t\t},\n\t\t\tSubnets: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"subnet-6782e71e\"),\n\t\t\t\tpulumi.String(\"subnet-e7e761ac\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 eksNodegroup = new aws_native.eks.Nodegroup(\"eksNodegroup\", {\n clusterName: \"prod\",\n nodeRole: \"arn:aws:iam::012345678910:role/eksInstanceRole\",\n scalingConfig: {\n minSize: 3,\n desiredSize: 5,\n maxSize: 7,\n },\n labels: {\n key1: \"Value1\",\n key2: \"Value2\",\n },\n subnets: [\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\neks_nodegroup = aws_native.eks.Nodegroup(\"eksNodegroup\",\n cluster_name=\"prod\",\n node_role=\"arn:aws:iam::012345678910:role/eksInstanceRole\",\n scaling_config=aws_native.eks.NodegroupScalingConfigArgs(\n min_size=3,\n desired_size=5,\n max_size=7,\n ),\n labels={\n \"key1\": \"Value1\",\n \"key2\": \"Value2\",\n },\n subnets=[\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n ])\n\n```\n\n{{% /example %}}\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 eksNodegroup = new AwsNative.Eks.Nodegroup(\"eksNodegroup\", new()\n {\n ClusterName = \"prod\",\n NodeRole = \"arn:aws:iam::012345678910:role/eksInstanceRole\",\n ScalingConfig = new AwsNative.Eks.Inputs.NodegroupScalingConfigArgs\n {\n MinSize = 3,\n DesiredSize = 5,\n MaxSize = 7,\n },\n Labels = \n {\n { \"key1\", \"Value1\" },\n { \"key2\", \"Value2\" },\n },\n Subnets = new[]\n {\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/eks\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := eks.NewNodegroup(ctx, \"eksNodegroup\", \u0026eks.NodegroupArgs{\n\t\t\tClusterName: pulumi.String(\"prod\"),\n\t\t\tNodeRole: pulumi.String(\"arn:aws:iam::012345678910:role/eksInstanceRole\"),\n\t\t\tScalingConfig: \u0026eks.NodegroupScalingConfigArgs{\n\t\t\t\tMinSize: pulumi.Int(3),\n\t\t\t\tDesiredSize: pulumi.Int(5),\n\t\t\t\tMaxSize: pulumi.Int(7),\n\t\t\t},\n\t\t\tLabels: pulumi.StringMap{\n\t\t\t\t\"key1\": pulumi.String(\"Value1\"),\n\t\t\t\t\"key2\": pulumi.String(\"Value2\"),\n\t\t\t},\n\t\t\tSubnets: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"subnet-6782e71e\"),\n\t\t\t\tpulumi.String(\"subnet-e7e761ac\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 eksNodegroup = new aws_native.eks.Nodegroup(\"eksNodegroup\", {\n clusterName: \"prod\",\n nodeRole: \"arn:aws:iam::012345678910:role/eksInstanceRole\",\n scalingConfig: {\n minSize: 3,\n desiredSize: 5,\n maxSize: 7,\n },\n labels: {\n key1: \"Value1\",\n key2: \"Value2\",\n },\n subnets: [\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n ],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\neks_nodegroup = aws_native.eks.Nodegroup(\"eksNodegroup\",\n cluster_name=\"prod\",\n node_role=\"arn:aws:iam::012345678910:role/eksInstanceRole\",\n scaling_config=aws_native.eks.NodegroupScalingConfigArgs(\n min_size=3,\n desired_size=5,\n max_size=7,\n ),\n labels={\n \"key1\": \"Value1\",\n \"key2\": \"Value2\",\n },\n subnets=[\n \"subnet-6782e71e\",\n \"subnet-e7e761ac\",\n ])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "amiType": { "type": "string", @@ -158231,7 +159524,10 @@ "replaceOnChanges": true }, "labels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Kubernetes labels to be applied to the nodes in the node group when they are created." }, "launchTemplate": { @@ -158270,7 +159566,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency." }, "taints": { @@ -158325,7 +159624,10 @@ "description": "Specify the instance types for a node group." }, "labels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Kubernetes labels to be applied to the nodes in the node group when they are created." }, "launchTemplate": { @@ -158360,7 +159662,10 @@ "description": "The subnets to use for the Auto Scaling group that is created for your node group." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency." }, "taints": { @@ -161917,7 +163222,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "replaceOnChanges": true }, "targets": { @@ -161955,7 +163263,10 @@ } }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targets": { "$ref": "#/types/aws-native:fis:ExperimentTemplateTargetMap" @@ -164739,7 +166050,10 @@ "description": "Resource for Greengrass V2 deployment.", "properties": { "components": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentDeploymentSpecification" + }, "replaceOnChanges": true }, "deploymentId": { @@ -164762,7 +166076,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetArn": { "type": "string", @@ -164776,7 +166093,10 @@ ], "inputProperties": { "components": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:greengrassv2:DeploymentComponentDeploymentSpecification" + } }, "deploymentName": { "type": "string" @@ -164791,7 +166111,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targetArn": { "type": "string" @@ -166332,7 +167655,7 @@ ] }, "aws-native:imagebuilder:Component": { - "description": "Resource schema for AWS::ImageBuilder::Component\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 componentAllParameters = new AwsNative.ImageBuilder.Component(\"componentAllParameters\", new()\n {\n Name = \"component-name\",\n Platform = AwsNative.ImageBuilder.ComponentPlatform.Linux,\n Version = \"1.0.0\",\n Description = \"description\",\n ChangeDescription = \"change-description\",\n KmsKeyId = \"customer-kms-key-id\",\n SupportedOsVersions = new[]\n {\n \"Amazon Linux 2\",\n },\n Tags = \n {\n { \"customerComponentTagKey1\", \"CustomerComponentTagValue1\" },\n { \"customerComponentTagKey2\", \"CustomerComponentTagValue2\" },\n },\n Data = @\"name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Build.\"\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Validate.\"\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Test.\"\"\n\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/imagebuilder\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := imagebuilder.NewComponent(ctx, \"componentAllParameters\", \u0026imagebuilder.ComponentArgs{\n\t\t\tName: pulumi.String(\"component-name\"),\n\t\t\tPlatform: imagebuilder.ComponentPlatformLinux,\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tDescription: pulumi.String(\"description\"),\n\t\t\tChangeDescription: pulumi.String(\"change-description\"),\n\t\t\tKmsKeyId: pulumi.String(\"customer-kms-key-id\"),\n\t\t\tSupportedOsVersions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Amazon Linux 2\"),\n\t\t\t},\n\t\t\tTags: pulumi.Any{\n\t\t\t\tCustomerComponentTagKey1: \"CustomerComponentTagValue1\",\n\t\t\t\tCustomerComponentTagKey2: \"CustomerComponentTagValue2\",\n\t\t\t},\n\t\t\tData: pulumi.String(`name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n`),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 componentAllParameters = new aws_native.imagebuilder.Component(\"componentAllParameters\", {\n name: \"component-name\",\n platform: aws_native.imagebuilder.ComponentPlatform.Linux,\n version: \"1.0.0\",\n description: \"description\",\n changeDescription: \"change-description\",\n kmsKeyId: \"customer-kms-key-id\",\n supportedOsVersions: [\"Amazon Linux 2\"],\n tags: {\n customerComponentTagKey1: \"CustomerComponentTagValue1\",\n customerComponentTagKey2: \"CustomerComponentTagValue2\",\n },\n data: `name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n`,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncomponent_all_parameters = aws_native.imagebuilder.Component(\"componentAllParameters\",\n name=\"component-name\",\n platform=aws_native.imagebuilder.ComponentPlatform.LINUX,\n version=\"1.0.0\",\n description=\"description\",\n change_description=\"change-description\",\n kms_key_id=\"customer-kms-key-id\",\n supported_os_versions=[\"Amazon Linux 2\"],\n tags={\n \"customerComponentTagKey1\": \"CustomerComponentTagValue1\",\n \"customerComponentTagKey2\": \"CustomerComponentTagValue2\",\n },\n data=\"\"\"name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n\"\"\")\n\n```\n\n{{% /example %}}\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 componentAllParameters = new AwsNative.ImageBuilder.Component(\"componentAllParameters\", new()\n {\n Name = \"component-name\",\n Platform = AwsNative.ImageBuilder.ComponentPlatform.Linux,\n Version = \"1.0.0\",\n Description = \"description\",\n ChangeDescription = \"change-description\",\n KmsKeyId = \"customer-kms-key-id\",\n SupportedOsVersions = new[]\n {\n \"Amazon Linux 2\",\n },\n Tags = \n {\n { \"customerComponentTagKey1\", \"CustomerComponentTagValue1\" },\n { \"customerComponentTagKey2\", \"CustomerComponentTagValue2\" },\n },\n Data = @\"name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Build.\"\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Validate.\"\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Test.\"\"\n\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/imagebuilder\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := imagebuilder.NewComponent(ctx, \"componentAllParameters\", \u0026imagebuilder.ComponentArgs{\n\t\t\tName: pulumi.String(\"component-name\"),\n\t\t\tPlatform: imagebuilder.ComponentPlatformLinux,\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tDescription: pulumi.String(\"description\"),\n\t\t\tChangeDescription: pulumi.String(\"change-description\"),\n\t\t\tKmsKeyId: pulumi.String(\"customer-kms-key-id\"),\n\t\t\tSupportedOsVersions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Amazon Linux 2\"),\n\t\t\t},\n\t\t\tTags: pulumi.Any{\n\t\t\t\tCustomerComponentTagKey1: \"CustomerComponentTagValue1\",\n\t\t\t\tCustomerComponentTagKey2: \"CustomerComponentTagValue2\",\n\t\t\t},\n\t\t\tData: pulumi.String(`name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n`),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 componentAllParameters = new aws_native.imagebuilder.Component(\"componentAllParameters\", {\n name: \"component-name\",\n platform: aws_native.imagebuilder.ComponentPlatform.Linux,\n version: \"1.0.0\",\n description: \"description\",\n changeDescription: \"change-description\",\n kmsKeyId: \"customer-kms-key-id\",\n supportedOsVersions: [\"Amazon Linux 2\"],\n tags: {\n customerComponentTagKey1: \"CustomerComponentTagValue1\",\n customerComponentTagKey2: \"CustomerComponentTagValue2\",\n },\n data: `name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n`,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncomponent_all_parameters = aws_native.imagebuilder.Component(\"componentAllParameters\",\n name=\"component-name\",\n platform=aws_native.imagebuilder.ComponentPlatform.LINUX,\n version=\"1.0.0\",\n description=\"description\",\n change_description=\"change-description\",\n kms_key_id=\"customer-kms-key-id\",\n supported_os_versions=[\"Amazon Linux 2\"],\n tags={\n \"customerComponentTagKey1\": \"CustomerComponentTagValue1\",\n \"customerComponentTagKey2\": \"CustomerComponentTagValue2\",\n },\n data=\"\"\"name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n\"\"\")\n\n```\n\n{{% /example %}}\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 componentAllParameters = new AwsNative.ImageBuilder.Component(\"componentAllParameters\", new()\n {\n Name = \"component-name\",\n Platform = AwsNative.ImageBuilder.ComponentPlatform.Linux,\n Version = \"1.0.0\",\n Uri = \"s3://imagebuilder/component_document.yml\",\n Description = \"description\",\n ChangeDescription = \"change-description\",\n KmsKeyId = \"customer-kms-key-id\",\n SupportedOsVersions = new[]\n {\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n },\n Tags = \n {\n { \"customerComponentTagKey1\", \"CustomerComponentTagValue1\" },\n { \"customerComponentTagKey2\", \"CustomerComponentTagValue2\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/imagebuilder\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := imagebuilder.NewComponent(ctx, \"componentAllParameters\", \u0026imagebuilder.ComponentArgs{\n\t\t\tName: pulumi.String(\"component-name\"),\n\t\t\tPlatform: imagebuilder.ComponentPlatformLinux,\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tUri: pulumi.String(\"s3://imagebuilder/component_document.yml\"),\n\t\t\tDescription: pulumi.String(\"description\"),\n\t\t\tChangeDescription: pulumi.String(\"change-description\"),\n\t\t\tKmsKeyId: pulumi.String(\"customer-kms-key-id\"),\n\t\t\tSupportedOsVersions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CentOS\"),\n\t\t\t\tpulumi.String(\"Red Hat Enterprise Linux\"),\n\t\t\t},\n\t\t\tTags: pulumi.Any{\n\t\t\t\tCustomerComponentTagKey1: \"CustomerComponentTagValue1\",\n\t\t\t\tCustomerComponentTagKey2: \"CustomerComponentTagValue2\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 componentAllParameters = new aws_native.imagebuilder.Component(\"componentAllParameters\", {\n name: \"component-name\",\n platform: aws_native.imagebuilder.ComponentPlatform.Linux,\n version: \"1.0.0\",\n uri: \"s3://imagebuilder/component_document.yml\",\n description: \"description\",\n changeDescription: \"change-description\",\n kmsKeyId: \"customer-kms-key-id\",\n supportedOsVersions: [\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n ],\n tags: {\n customerComponentTagKey1: \"CustomerComponentTagValue1\",\n customerComponentTagKey2: \"CustomerComponentTagValue2\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncomponent_all_parameters = aws_native.imagebuilder.Component(\"componentAllParameters\",\n name=\"component-name\",\n platform=aws_native.imagebuilder.ComponentPlatform.LINUX,\n version=\"1.0.0\",\n uri=\"s3://imagebuilder/component_document.yml\",\n description=\"description\",\n change_description=\"change-description\",\n kms_key_id=\"customer-kms-key-id\",\n supported_os_versions=[\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n ],\n tags={\n \"customerComponentTagKey1\": \"CustomerComponentTagValue1\",\n \"customerComponentTagKey2\": \"CustomerComponentTagValue2\",\n })\n\n```\n\n{{% /example %}}\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 componentAllParameters = new AwsNative.ImageBuilder.Component(\"componentAllParameters\", new()\n {\n Name = \"component-name\",\n Platform = AwsNative.ImageBuilder.ComponentPlatform.Linux,\n Version = \"1.0.0\",\n Uri = \"s3://imagebuilder/component_document.yml\",\n Description = \"description\",\n ChangeDescription = \"change-description\",\n KmsKeyId = \"customer-kms-key-id\",\n SupportedOsVersions = new[]\n {\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n },\n Tags = \n {\n { \"customerComponentTagKey1\", \"CustomerComponentTagValue1\" },\n { \"customerComponentTagKey2\", \"CustomerComponentTagValue2\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/imagebuilder\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := imagebuilder.NewComponent(ctx, \"componentAllParameters\", \u0026imagebuilder.ComponentArgs{\n\t\t\tName: pulumi.String(\"component-name\"),\n\t\t\tPlatform: imagebuilder.ComponentPlatformLinux,\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tUri: pulumi.String(\"s3://imagebuilder/component_document.yml\"),\n\t\t\tDescription: pulumi.String(\"description\"),\n\t\t\tChangeDescription: pulumi.String(\"change-description\"),\n\t\t\tKmsKeyId: pulumi.String(\"customer-kms-key-id\"),\n\t\t\tSupportedOsVersions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CentOS\"),\n\t\t\t\tpulumi.String(\"Red Hat Enterprise Linux\"),\n\t\t\t},\n\t\t\tTags: pulumi.Any{\n\t\t\t\tCustomerComponentTagKey1: \"CustomerComponentTagValue1\",\n\t\t\t\tCustomerComponentTagKey2: \"CustomerComponentTagValue2\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 componentAllParameters = new aws_native.imagebuilder.Component(\"componentAllParameters\", {\n name: \"component-name\",\n platform: aws_native.imagebuilder.ComponentPlatform.Linux,\n version: \"1.0.0\",\n uri: \"s3://imagebuilder/component_document.yml\",\n description: \"description\",\n changeDescription: \"change-description\",\n kmsKeyId: \"customer-kms-key-id\",\n supportedOsVersions: [\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n ],\n tags: {\n customerComponentTagKey1: \"CustomerComponentTagValue1\",\n customerComponentTagKey2: \"CustomerComponentTagValue2\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncomponent_all_parameters = aws_native.imagebuilder.Component(\"componentAllParameters\",\n name=\"component-name\",\n platform=aws_native.imagebuilder.ComponentPlatform.LINUX,\n version=\"1.0.0\",\n uri=\"s3://imagebuilder/component_document.yml\",\n description=\"description\",\n change_description=\"change-description\",\n kms_key_id=\"customer-kms-key-id\",\n supported_os_versions=[\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n ],\n tags={\n \"customerComponentTagKey1\": \"CustomerComponentTagValue1\",\n \"customerComponentTagKey2\": \"CustomerComponentTagValue2\",\n })\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", + "description": "Resource schema for AWS::ImageBuilder::Component\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 componentAllParameters = new AwsNative.ImageBuilder.Component(\"componentAllParameters\", new()\n {\n Name = \"component-name\",\n Platform = AwsNative.ImageBuilder.ComponentPlatform.Linux,\n Version = \"1.0.0\",\n Description = \"description\",\n ChangeDescription = \"change-description\",\n KmsKeyId = \"customer-kms-key-id\",\n SupportedOsVersions = new[]\n {\n \"Amazon Linux 2\",\n },\n Tags = \n {\n { \"customerComponentTagKey1\", \"CustomerComponentTagValue1\" },\n { \"customerComponentTagKey2\", \"CustomerComponentTagValue2\" },\n },\n Data = @\"name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Build.\"\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Validate.\"\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Test.\"\"\n\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/imagebuilder\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := imagebuilder.NewComponent(ctx, \"componentAllParameters\", \u0026imagebuilder.ComponentArgs{\n\t\t\tName: pulumi.String(\"component-name\"),\n\t\t\tPlatform: imagebuilder.ComponentPlatformLinux,\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tDescription: pulumi.String(\"description\"),\n\t\t\tChangeDescription: pulumi.String(\"change-description\"),\n\t\t\tKmsKeyId: pulumi.String(\"customer-kms-key-id\"),\n\t\t\tSupportedOsVersions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Amazon Linux 2\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"customerComponentTagKey1\": pulumi.String(\"CustomerComponentTagValue1\"),\n\t\t\t\t\"customerComponentTagKey2\": pulumi.String(\"CustomerComponentTagValue2\"),\n\t\t\t},\n\t\t\tData: pulumi.String(`name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n`),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 componentAllParameters = new aws_native.imagebuilder.Component(\"componentAllParameters\", {\n name: \"component-name\",\n platform: aws_native.imagebuilder.ComponentPlatform.Linux,\n version: \"1.0.0\",\n description: \"description\",\n changeDescription: \"change-description\",\n kmsKeyId: \"customer-kms-key-id\",\n supportedOsVersions: [\"Amazon Linux 2\"],\n tags: {\n customerComponentTagKey1: \"CustomerComponentTagValue1\",\n customerComponentTagKey2: \"CustomerComponentTagValue2\",\n },\n data: `name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n`,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncomponent_all_parameters = aws_native.imagebuilder.Component(\"componentAllParameters\",\n name=\"component-name\",\n platform=aws_native.imagebuilder.ComponentPlatform.LINUX,\n version=\"1.0.0\",\n description=\"description\",\n change_description=\"change-description\",\n kms_key_id=\"customer-kms-key-id\",\n supported_os_versions=[\"Amazon Linux 2\"],\n tags={\n \"customerComponentTagKey1\": \"CustomerComponentTagValue1\",\n \"customerComponentTagKey2\": \"CustomerComponentTagValue2\",\n },\n data=\"\"\"name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n\"\"\")\n\n```\n\n{{% /example %}}\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 componentAllParameters = new AwsNative.ImageBuilder.Component(\"componentAllParameters\", new()\n {\n Name = \"component-name\",\n Platform = AwsNative.ImageBuilder.ComponentPlatform.Linux,\n Version = \"1.0.0\",\n Description = \"description\",\n ChangeDescription = \"change-description\",\n KmsKeyId = \"customer-kms-key-id\",\n SupportedOsVersions = new[]\n {\n \"Amazon Linux 2\",\n },\n Tags = \n {\n { \"customerComponentTagKey1\", \"CustomerComponentTagValue1\" },\n { \"customerComponentTagKey2\", \"CustomerComponentTagValue2\" },\n },\n Data = @\"name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Build.\"\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Validate.\"\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"\"Hello World! Test.\"\"\n\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/imagebuilder\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := imagebuilder.NewComponent(ctx, \"componentAllParameters\", \u0026imagebuilder.ComponentArgs{\n\t\t\tName: pulumi.String(\"component-name\"),\n\t\t\tPlatform: imagebuilder.ComponentPlatformLinux,\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tDescription: pulumi.String(\"description\"),\n\t\t\tChangeDescription: pulumi.String(\"change-description\"),\n\t\t\tKmsKeyId: pulumi.String(\"customer-kms-key-id\"),\n\t\t\tSupportedOsVersions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Amazon Linux 2\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"customerComponentTagKey1\": pulumi.String(\"CustomerComponentTagValue1\"),\n\t\t\t\t\"customerComponentTagKey2\": pulumi.String(\"CustomerComponentTagValue2\"),\n\t\t\t},\n\t\t\tData: pulumi.String(`name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n`),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 componentAllParameters = new aws_native.imagebuilder.Component(\"componentAllParameters\", {\n name: \"component-name\",\n platform: aws_native.imagebuilder.ComponentPlatform.Linux,\n version: \"1.0.0\",\n description: \"description\",\n changeDescription: \"change-description\",\n kmsKeyId: \"customer-kms-key-id\",\n supportedOsVersions: [\"Amazon Linux 2\"],\n tags: {\n customerComponentTagKey1: \"CustomerComponentTagValue1\",\n customerComponentTagKey2: \"CustomerComponentTagValue2\",\n },\n data: `name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n`,\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncomponent_all_parameters = aws_native.imagebuilder.Component(\"componentAllParameters\",\n name=\"component-name\",\n platform=aws_native.imagebuilder.ComponentPlatform.LINUX,\n version=\"1.0.0\",\n description=\"description\",\n change_description=\"change-description\",\n kms_key_id=\"customer-kms-key-id\",\n supported_os_versions=[\"Amazon Linux 2\"],\n tags={\n \"customerComponentTagKey1\": \"CustomerComponentTagValue1\",\n \"customerComponentTagKey2\": \"CustomerComponentTagValue2\",\n },\n data=\"\"\"name: HelloWorldTestingLinuxDoc - InlineData\ndescription: This is hello world testing doc\nschemaVersion: 1.0\n\nphases:\n - name: build\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Build.\"\n - name: validate\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Validate.\"\n - name: test\n steps:\n - name: HelloWorldStep\n action: ExecuteBash\n inputs:\n commands:\n - echo \"Hello World! Test.\"\n\"\"\")\n\n```\n\n{{% /example %}}\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 componentAllParameters = new AwsNative.ImageBuilder.Component(\"componentAllParameters\", new()\n {\n Name = \"component-name\",\n Platform = AwsNative.ImageBuilder.ComponentPlatform.Linux,\n Version = \"1.0.0\",\n Uri = \"s3://imagebuilder/component_document.yml\",\n Description = \"description\",\n ChangeDescription = \"change-description\",\n KmsKeyId = \"customer-kms-key-id\",\n SupportedOsVersions = new[]\n {\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n },\n Tags = \n {\n { \"customerComponentTagKey1\", \"CustomerComponentTagValue1\" },\n { \"customerComponentTagKey2\", \"CustomerComponentTagValue2\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/imagebuilder\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := imagebuilder.NewComponent(ctx, \"componentAllParameters\", \u0026imagebuilder.ComponentArgs{\n\t\t\tName: pulumi.String(\"component-name\"),\n\t\t\tPlatform: imagebuilder.ComponentPlatformLinux,\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tUri: pulumi.String(\"s3://imagebuilder/component_document.yml\"),\n\t\t\tDescription: pulumi.String(\"description\"),\n\t\t\tChangeDescription: pulumi.String(\"change-description\"),\n\t\t\tKmsKeyId: pulumi.String(\"customer-kms-key-id\"),\n\t\t\tSupportedOsVersions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CentOS\"),\n\t\t\t\tpulumi.String(\"Red Hat Enterprise Linux\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"customerComponentTagKey1\": pulumi.String(\"CustomerComponentTagValue1\"),\n\t\t\t\t\"customerComponentTagKey2\": pulumi.String(\"CustomerComponentTagValue2\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 componentAllParameters = new aws_native.imagebuilder.Component(\"componentAllParameters\", {\n name: \"component-name\",\n platform: aws_native.imagebuilder.ComponentPlatform.Linux,\n version: \"1.0.0\",\n uri: \"s3://imagebuilder/component_document.yml\",\n description: \"description\",\n changeDescription: \"change-description\",\n kmsKeyId: \"customer-kms-key-id\",\n supportedOsVersions: [\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n ],\n tags: {\n customerComponentTagKey1: \"CustomerComponentTagValue1\",\n customerComponentTagKey2: \"CustomerComponentTagValue2\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncomponent_all_parameters = aws_native.imagebuilder.Component(\"componentAllParameters\",\n name=\"component-name\",\n platform=aws_native.imagebuilder.ComponentPlatform.LINUX,\n version=\"1.0.0\",\n uri=\"s3://imagebuilder/component_document.yml\",\n description=\"description\",\n change_description=\"change-description\",\n kms_key_id=\"customer-kms-key-id\",\n supported_os_versions=[\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n ],\n tags={\n \"customerComponentTagKey1\": \"CustomerComponentTagValue1\",\n \"customerComponentTagKey2\": \"CustomerComponentTagValue2\",\n })\n\n```\n\n{{% /example %}}\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 componentAllParameters = new AwsNative.ImageBuilder.Component(\"componentAllParameters\", new()\n {\n Name = \"component-name\",\n Platform = AwsNative.ImageBuilder.ComponentPlatform.Linux,\n Version = \"1.0.0\",\n Uri = \"s3://imagebuilder/component_document.yml\",\n Description = \"description\",\n ChangeDescription = \"change-description\",\n KmsKeyId = \"customer-kms-key-id\",\n SupportedOsVersions = new[]\n {\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n },\n Tags = \n {\n { \"customerComponentTagKey1\", \"CustomerComponentTagValue1\" },\n { \"customerComponentTagKey2\", \"CustomerComponentTagValue2\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/imagebuilder\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := imagebuilder.NewComponent(ctx, \"componentAllParameters\", \u0026imagebuilder.ComponentArgs{\n\t\t\tName: pulumi.String(\"component-name\"),\n\t\t\tPlatform: imagebuilder.ComponentPlatformLinux,\n\t\t\tVersion: pulumi.String(\"1.0.0\"),\n\t\t\tUri: pulumi.String(\"s3://imagebuilder/component_document.yml\"),\n\t\t\tDescription: pulumi.String(\"description\"),\n\t\t\tChangeDescription: pulumi.String(\"change-description\"),\n\t\t\tKmsKeyId: pulumi.String(\"customer-kms-key-id\"),\n\t\t\tSupportedOsVersions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"CentOS\"),\n\t\t\t\tpulumi.String(\"Red Hat Enterprise Linux\"),\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"customerComponentTagKey1\": pulumi.String(\"CustomerComponentTagValue1\"),\n\t\t\t\t\"customerComponentTagKey2\": pulumi.String(\"CustomerComponentTagValue2\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 componentAllParameters = new aws_native.imagebuilder.Component(\"componentAllParameters\", {\n name: \"component-name\",\n platform: aws_native.imagebuilder.ComponentPlatform.Linux,\n version: \"1.0.0\",\n uri: \"s3://imagebuilder/component_document.yml\",\n description: \"description\",\n changeDescription: \"change-description\",\n kmsKeyId: \"customer-kms-key-id\",\n supportedOsVersions: [\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n ],\n tags: {\n customerComponentTagKey1: \"CustomerComponentTagValue1\",\n customerComponentTagKey2: \"CustomerComponentTagValue2\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\ncomponent_all_parameters = aws_native.imagebuilder.Component(\"componentAllParameters\",\n name=\"component-name\",\n platform=aws_native.imagebuilder.ComponentPlatform.LINUX,\n version=\"1.0.0\",\n uri=\"s3://imagebuilder/component_document.yml\",\n description=\"description\",\n change_description=\"change-description\",\n kms_key_id=\"customer-kms-key-id\",\n supported_os_versions=[\n \"CentOS\",\n \"Red Hat Enterprise Linux\",\n ],\n tags={\n \"customerComponentTagKey1\": \"CustomerComponentTagValue1\",\n \"customerComponentTagKey2\": \"CustomerComponentTagValue2\",\n })\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string", @@ -166381,7 +167704,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component.", "replaceOnChanges": true }, @@ -166442,7 +167768,10 @@ "description": "The operating system (OS) version supported by the component." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." }, "uri": { @@ -166525,7 +167854,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Tags that are attached to the container recipe.", "replaceOnChanges": true }, @@ -166598,7 +167930,10 @@ "description": "Specifies the operating system platform when you use a custom source image." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Tags that are attached to the container recipe." }, "targetRepository": { @@ -166639,7 +167974,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." } }, @@ -166666,7 +168004,10 @@ "description": "The name of the distribution configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." } }, @@ -166733,7 +168074,10 @@ "description": "The name of the image." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the image.", "replaceOnChanges": true }, @@ -166787,7 +168131,10 @@ "description": "The Amazon Resource Name (ARN) of the infrastructure configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the image." }, "workflows": { @@ -166856,7 +168203,10 @@ "description": "The status of the image pipeline." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of this image pipeline." }, "workflows": { @@ -166921,7 +168271,10 @@ "description": "The status of the image pipeline." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of this image pipeline." }, "workflows": { @@ -166976,7 +168329,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of the image recipe.", "replaceOnChanges": true }, @@ -167031,7 +168387,10 @@ "description": "The parent image of the image recipe." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of the image recipe." }, "version": { @@ -167089,7 +168448,10 @@ "replaceOnChanges": true }, "resourceTags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags attached to the resource created by Image Builder." }, "securityGroupIds": { @@ -167108,7 +168470,10 @@ "description": "The subnet ID of the infrastructure configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." }, "terminateInstanceOnFailure": { @@ -167155,7 +168520,10 @@ "description": "The name of the infrastructure configuration." }, "resourceTags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags attached to the resource created by Image Builder." }, "securityGroupIds": { @@ -167174,7 +168542,10 @@ "description": "The subnet ID of the infrastructure configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." }, "terminateInstanceOnFailure": { @@ -167226,7 +168597,10 @@ "description": "The status of the lifecycle policy." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the lifecycle policy." } }, @@ -167272,7 +168646,10 @@ "description": "The status of the lifecycle policy." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the lifecycle policy." } }, @@ -167316,7 +168693,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the workflow.", "replaceOnChanges": true }, @@ -167365,7 +168745,10 @@ "description": "The name of the workflow." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the workflow." }, "type": { @@ -167842,7 +169225,10 @@ "type": "string" }, "tokenSigningPublicKeys": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "type": "object", @@ -167876,7 +169262,10 @@ "type": "string" }, "tokenSigningPublicKeys": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "requiredInputs": [ @@ -169032,7 +170421,10 @@ "description": "A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here." }, "alertTargets": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iot:SecurityProfileAlertTarget" + }, "description": "Specifies the destinations to which alerts are sent." }, "behaviors": { @@ -169087,7 +170479,10 @@ "description": "A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here." }, "alertTargets": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iot:SecurityProfileAlertTarget" + }, "description": "Specifies the destinations to which alerts are sent." }, "behaviors": { @@ -169233,7 +170628,7 @@ ] }, "aws-native:iot:Thing": { - "description": "Resource Type definition for AWS::IoT::Thing\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 config = new Config();\n var nameParameter = config.Require(\"nameParameter\");\n var myAttributeValueA = config.Get(\"myAttributeValueA\") ?? \"myStringA123\";\n var myAttributeValueB = config.Get(\"myAttributeValueB\") ?? \"myStringB123\";\n var myAttributeValueC = config.Get(\"myAttributeValueC\") ?? \"myStringC123\";\n var myThing = new AwsNative.IoT.Thing(\"myThing\", new()\n {\n ThingName = nameParameter,\n AttributePayload = new AwsNative.IoT.Inputs.ThingAttributePayloadArgs\n {\n Attributes = \n {\n { \"myAttributeA\", myAttributeValueA },\n { \"myAttributeB\", myAttributeValueB },\n { \"myAttributeC\", myAttributeValueC },\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tnameParameter := cfg.Require(\"nameParameter\")\n\t\tmyAttributeValueA := \"myStringA123\"\n\t\tif param := cfg.Get(\"myAttributeValueA\"); param != \"\" {\n\t\t\tmyAttributeValueA = param\n\t\t}\n\t\tmyAttributeValueB := \"myStringB123\"\n\t\tif param := cfg.Get(\"myAttributeValueB\"); param != \"\" {\n\t\t\tmyAttributeValueB = param\n\t\t}\n\t\tmyAttributeValueC := \"myStringC123\"\n\t\tif param := cfg.Get(\"myAttributeValueC\"); param != \"\" {\n\t\t\tmyAttributeValueC = param\n\t\t}\n\t\t_, err := iot.NewThing(ctx, \"myThing\", \u0026iot.ThingArgs{\n\t\t\tThingName: pulumi.String(nameParameter),\n\t\t\tAttributePayload: \u0026iot.ThingAttributePayloadArgs{\n\t\t\t\tAttributes: pulumi.Any{\n\t\t\t\t\tMyAttributeA: myAttributeValueA,\n\t\t\t\t\tMyAttributeB: myAttributeValueB,\n\t\t\t\t\tMyAttributeC: myAttributeValueC,\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\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 config = new pulumi.Config();\nconst nameParameter = config.require(\"nameParameter\");\nconst myAttributeValueA = config.get(\"myAttributeValueA\") || \"myStringA123\";\nconst myAttributeValueB = config.get(\"myAttributeValueB\") || \"myStringB123\";\nconst myAttributeValueC = config.get(\"myAttributeValueC\") || \"myStringC123\";\nconst myThing = new aws_native.iot.Thing(\"myThing\", {\n thingName: nameParameter,\n attributePayload: {\n attributes: {\n myAttributeA: myAttributeValueA,\n myAttributeB: myAttributeValueB,\n myAttributeC: myAttributeValueC,\n },\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\nname_parameter = config.require(\"nameParameter\")\nmy_attribute_value_a = config.get(\"myAttributeValueA\")\nif my_attribute_value_a is None:\n my_attribute_value_a = \"myStringA123\"\nmy_attribute_value_b = config.get(\"myAttributeValueB\")\nif my_attribute_value_b is None:\n my_attribute_value_b = \"myStringB123\"\nmy_attribute_value_c = config.get(\"myAttributeValueC\")\nif my_attribute_value_c is None:\n my_attribute_value_c = \"myStringC123\"\nmy_thing = aws_native.iot.Thing(\"myThing\",\n thing_name=name_parameter,\n attribute_payload=aws_native.iot.ThingAttributePayloadArgs(\n attributes={\n \"myAttributeA\": my_attribute_value_a,\n \"myAttributeB\": my_attribute_value_b,\n \"myAttributeC\": my_attribute_value_c,\n },\n ))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", + "description": "Resource Type definition for AWS::IoT::Thing\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 config = new Config();\n var nameParameter = config.Require(\"nameParameter\");\n var myAttributeValueA = config.Get(\"myAttributeValueA\") ?? \"myStringA123\";\n var myAttributeValueB = config.Get(\"myAttributeValueB\") ?? \"myStringB123\";\n var myAttributeValueC = config.Get(\"myAttributeValueC\") ?? \"myStringC123\";\n var myThing = new AwsNative.IoT.Thing(\"myThing\", new()\n {\n ThingName = nameParameter,\n AttributePayload = new AwsNative.IoT.Inputs.ThingAttributePayloadArgs\n {\n Attributes = \n {\n { \"myAttributeA\", myAttributeValueA },\n { \"myAttributeB\", myAttributeValueB },\n { \"myAttributeC\", myAttributeValueC },\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iot\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tnameParameter := cfg.Require(\"nameParameter\")\n\t\tmyAttributeValueA := \"myStringA123\"\n\t\tif param := cfg.Get(\"myAttributeValueA\"); param != \"\" {\n\t\t\tmyAttributeValueA = param\n\t\t}\n\t\tmyAttributeValueB := \"myStringB123\"\n\t\tif param := cfg.Get(\"myAttributeValueB\"); param != \"\" {\n\t\t\tmyAttributeValueB = param\n\t\t}\n\t\tmyAttributeValueC := \"myStringC123\"\n\t\tif param := cfg.Get(\"myAttributeValueC\"); param != \"\" {\n\t\t\tmyAttributeValueC = param\n\t\t}\n\t\t_, err := iot.NewThing(ctx, \"myThing\", \u0026iot.ThingArgs{\n\t\t\tThingName: pulumi.String(nameParameter),\n\t\t\tAttributePayload: \u0026iot.ThingAttributePayloadArgs{\n\t\t\t\tAttributes: pulumi.StringMap{\n\t\t\t\t\t\"myAttributeA\": pulumi.String(myAttributeValueA),\n\t\t\t\t\t\"myAttributeB\": pulumi.String(myAttributeValueB),\n\t\t\t\t\t\"myAttributeC\": pulumi.String(myAttributeValueC),\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\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 config = new pulumi.Config();\nconst nameParameter = config.require(\"nameParameter\");\nconst myAttributeValueA = config.get(\"myAttributeValueA\") || \"myStringA123\";\nconst myAttributeValueB = config.get(\"myAttributeValueB\") || \"myStringB123\";\nconst myAttributeValueC = config.get(\"myAttributeValueC\") || \"myStringC123\";\nconst myThing = new aws_native.iot.Thing(\"myThing\", {\n thingName: nameParameter,\n attributePayload: {\n attributes: {\n myAttributeA: myAttributeValueA,\n myAttributeB: myAttributeValueB,\n myAttributeC: myAttributeValueC,\n },\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nconfig = pulumi.Config()\nname_parameter = config.require(\"nameParameter\")\nmy_attribute_value_a = config.get(\"myAttributeValueA\")\nif my_attribute_value_a is None:\n my_attribute_value_a = \"myStringA123\"\nmy_attribute_value_b = config.get(\"myAttributeValueB\")\nif my_attribute_value_b is None:\n my_attribute_value_b = \"myStringB123\"\nmy_attribute_value_c = config.get(\"myAttributeValueC\")\nif my_attribute_value_c is None:\n my_attribute_value_c = \"myStringC123\"\nmy_thing = aws_native.iot.Thing(\"myThing\",\n thing_name=name_parameter,\n attribute_payload=aws_native.iot.ThingAttributePayloadArgs(\n attributes={\n \"myAttributeA\": my_attribute_value_a,\n \"myAttributeB\": my_attribute_value_b,\n \"myAttributeC\": my_attribute_value_c,\n },\n ))\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string" @@ -169634,7 +171029,7 @@ } }, "aws-native:iotanalytics:Pipeline": { - "description": "Resource Type definition for AWS::IoTAnalytics::Pipeline\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 pipeline = new AwsNative.IoTAnalytics.Pipeline(\"pipeline\", new()\n {\n PipelineName = \"SimplePipeline\",\n PipelineActivities = new[]\n {\n new AwsNative.IoTAnalytics.Inputs.PipelineActivityArgs\n {\n Channel = new AwsNative.IoTAnalytics.Inputs.PipelineChannelArgs\n {\n Name = \"ChannelActivity\",\n ChannelName = \"SimpleChannel\",\n Next = \"DatastoreActivity\",\n },\n Datastore = new AwsNative.IoTAnalytics.Inputs.PipelineDatastoreArgs\n {\n Name = \"DatastoreActivity\",\n DatastoreName = \"SimpleDatastore\",\n },\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := iotanalytics.NewPipeline(ctx, \"pipeline\", \u0026iotanalytics.PipelineArgs{\nPipelineName: pulumi.String(\"SimplePipeline\"),\nPipelineActivities: iotanalytics.PipelineActivityArray{\ninterface{}{\nChannel: \u0026iotanalytics.PipelineChannelArgs{\nName: pulumi.String(\"ChannelActivity\"),\nChannelName: pulumi.String(\"SimpleChannel\"),\nNext: pulumi.String(\"DatastoreActivity\"),\n},\nDatastore: \u0026iotanalytics.PipelineDatastoreArgs{\nName: pulumi.String(\"DatastoreActivity\"),\nDatastoreName: pulumi.String(\"SimpleDatastore\"),\n},\n},\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst pipeline = new aws_native.iotanalytics.Pipeline(\"pipeline\", {\n pipelineName: \"SimplePipeline\",\n pipelineActivities: [{\n channel: {\n name: \"ChannelActivity\",\n channelName: \"SimpleChannel\",\n next: \"DatastoreActivity\",\n },\n datastore: {\n name: \"DatastoreActivity\",\n datastoreName: \"SimpleDatastore\",\n },\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\npipeline = aws_native.iotanalytics.Pipeline(\"pipeline\",\n pipeline_name=\"SimplePipeline\",\n pipeline_activities=[aws_native.iotanalytics.PipelineActivityArgs(\n channel=aws_native.iotanalytics.PipelineChannelArgs(\n name=\"ChannelActivity\",\n channel_name=\"SimpleChannel\",\n next=\"DatastoreActivity\",\n ),\n datastore=aws_native.iotanalytics.PipelineDatastoreArgs(\n name=\"DatastoreActivity\",\n datastore_name=\"SimpleDatastore\",\n ),\n )])\n\n```\n\n{{% /example %}}\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 pipeline = new AwsNative.IoTAnalytics.Pipeline(\"pipeline\", new()\n {\n PipelineName = \"SimplePipeline\",\n PipelineActivities = new[]\n {\n new AwsNative.IoTAnalytics.Inputs.PipelineActivityArgs\n {\n Channel = new AwsNative.IoTAnalytics.Inputs.PipelineChannelArgs\n {\n Name = \"ChannelActivity\",\n ChannelName = \"SimpleChannel\",\n Next = \"DatastoreActivity\",\n },\n Datastore = new AwsNative.IoTAnalytics.Inputs.PipelineDatastoreArgs\n {\n Name = \"DatastoreActivity\",\n DatastoreName = \"SimpleDatastore\",\n },\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := iotanalytics.NewPipeline(ctx, \"pipeline\", \u0026iotanalytics.PipelineArgs{\nPipelineName: pulumi.String(\"SimplePipeline\"),\nPipelineActivities: iotanalytics.PipelineActivityArray{\ninterface{}{\nChannel: \u0026iotanalytics.PipelineChannelArgs{\nName: pulumi.String(\"ChannelActivity\"),\nChannelName: pulumi.String(\"SimpleChannel\"),\nNext: pulumi.String(\"DatastoreActivity\"),\n},\nDatastore: \u0026iotanalytics.PipelineDatastoreArgs{\nName: pulumi.String(\"DatastoreActivity\"),\nDatastoreName: pulumi.String(\"SimpleDatastore\"),\n},\n},\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst pipeline = new aws_native.iotanalytics.Pipeline(\"pipeline\", {\n pipelineName: \"SimplePipeline\",\n pipelineActivities: [{\n channel: {\n name: \"ChannelActivity\",\n channelName: \"SimpleChannel\",\n next: \"DatastoreActivity\",\n },\n datastore: {\n name: \"DatastoreActivity\",\n datastoreName: \"SimpleDatastore\",\n },\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\npipeline = aws_native.iotanalytics.Pipeline(\"pipeline\",\n pipeline_name=\"SimplePipeline\",\n pipeline_activities=[aws_native.iotanalytics.PipelineActivityArgs(\n channel=aws_native.iotanalytics.PipelineChannelArgs(\n name=\"ChannelActivity\",\n channel_name=\"SimpleChannel\",\n next=\"DatastoreActivity\",\n ),\n datastore=aws_native.iotanalytics.PipelineDatastoreArgs(\n name=\"DatastoreActivity\",\n datastore_name=\"SimpleDatastore\",\n ),\n )])\n\n```\n\n{{% /example %}}\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 pipeline = new AwsNative.IoTAnalytics.Pipeline(\"pipeline\", new()\n {\n PipelineName = \"ComplexPipeline\",\n PipelineActivities = new[]\n {\n new AwsNative.IoTAnalytics.Inputs.PipelineActivityArgs\n {\n Channel = new AwsNative.IoTAnalytics.Inputs.PipelineChannelArgs\n {\n Name = \"ChannelActivity\",\n ChannelName = \"Channel\",\n Next = \"LambdaActivity\",\n },\n Lambda = new AwsNative.IoTAnalytics.Inputs.PipelineLambdaArgs\n {\n Name = \"LambdaActivity\",\n LambdaName = \"Lambda\",\n BatchSize = 1,\n Next = \"AddAttributesActivity\",\n },\n AddAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineAddAttributesArgs\n {\n Name = \"AddAttributesActivity\",\n Attributes = \n {\n { \"key1\", \"attribute1\" },\n { \"key2\", \"attribute2\" },\n },\n Next = \"RemoveAttributesActivity\",\n },\n RemoveAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineRemoveAttributesArgs\n {\n Name = \"RemoveAttributesActivity\",\n Attributes = new[]\n {\n \"attribute1\",\n \"attribute2\",\n },\n Next = \"SelectAttributesActivity\",\n },\n SelectAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineSelectAttributesArgs\n {\n Name = \"SelectAttributesActivity\",\n Attributes = new[]\n {\n \"attribute1\",\n \"attribute2\",\n },\n Next = \"FilterActivity\",\n },\n Filter = new AwsNative.IoTAnalytics.Inputs.PipelineFilterArgs\n {\n Name = \"FilterActivity\",\n Filter = \"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n Next = \"MathActivity\",\n },\n Math = new AwsNative.IoTAnalytics.Inputs.PipelineMathArgs\n {\n Name = \"MathActivity\",\n Attribute = \"attribute\",\n Math = \"attribute - 10\",\n Next = \"DeviceRegistryEnrichActivity\",\n },\n DeviceRegistryEnrich = new AwsNative.IoTAnalytics.Inputs.PipelineDeviceRegistryEnrichArgs\n {\n Name = \"DeviceRegistryEnrichActivity\",\n Attribute = \"attribute\",\n ThingName = \"thingName\",\n RoleArn = \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n Next = \"DeviceShadowEnrichActivity\",\n },\n DeviceShadowEnrich = new AwsNative.IoTAnalytics.Inputs.PipelineDeviceShadowEnrichArgs\n {\n Name = \"DeviceShadowEnrichActivity\",\n Attribute = \"attribute\",\n ThingName = \"thingName\",\n RoleArn = \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n Next = \"DatastoreActivity\",\n },\n Datastore = new AwsNative.IoTAnalytics.Inputs.PipelineDatastoreArgs\n {\n Name = \"DatastoreActivity\",\n DatastoreName = \"Datastore\",\n },\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := iotanalytics.NewPipeline(ctx, \"pipeline\", \u0026iotanalytics.PipelineArgs{\nPipelineName: pulumi.String(\"ComplexPipeline\"),\nPipelineActivities: iotanalytics.PipelineActivityArray{\ninterface{}{\nChannel: \u0026iotanalytics.PipelineChannelArgs{\nName: pulumi.String(\"ChannelActivity\"),\nChannelName: pulumi.String(\"Channel\"),\nNext: pulumi.String(\"LambdaActivity\"),\n},\nLambda: \u0026iotanalytics.PipelineLambdaArgs{\nName: pulumi.String(\"LambdaActivity\"),\nLambdaName: pulumi.String(\"Lambda\"),\nBatchSize: pulumi.Int(1),\nNext: pulumi.String(\"AddAttributesActivity\"),\n},\nAddAttributes: \u0026iotanalytics.PipelineAddAttributesArgs{\nName: pulumi.String(\"AddAttributesActivity\"),\nAttributes: pulumi.Any{\nKey1: \"attribute1\",\nKey2: \"attribute2\",\n},\nNext: pulumi.String(\"RemoveAttributesActivity\"),\n},\nRemoveAttributes: \u0026iotanalytics.PipelineRemoveAttributesArgs{\nName: pulumi.String(\"RemoveAttributesActivity\"),\nAttributes: pulumi.StringArray{\npulumi.String(\"attribute1\"),\npulumi.String(\"attribute2\"),\n},\nNext: pulumi.String(\"SelectAttributesActivity\"),\n},\nSelectAttributes: \u0026iotanalytics.PipelineSelectAttributesArgs{\nName: pulumi.String(\"SelectAttributesActivity\"),\nAttributes: pulumi.StringArray{\npulumi.String(\"attribute1\"),\npulumi.String(\"attribute2\"),\n},\nNext: pulumi.String(\"FilterActivity\"),\n},\nFilter: \u0026iotanalytics.PipelineFilterArgs{\nName: pulumi.String(\"FilterActivity\"),\nFilter: pulumi.String(\"attribute1 \u003e 40 AND attribute2 \u003c 20\"),\nNext: pulumi.String(\"MathActivity\"),\n},\nMath: \u0026iotanalytics.PipelineMathArgs{\nName: pulumi.String(\"MathActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nMath: pulumi.String(\"attribute - 10\"),\nNext: pulumi.String(\"DeviceRegistryEnrichActivity\"),\n},\nDeviceRegistryEnrich: \u0026iotanalytics.PipelineDeviceRegistryEnrichArgs{\nName: pulumi.String(\"DeviceRegistryEnrichActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nThingName: pulumi.String(\"thingName\"),\nRoleArn: pulumi.String(\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\"),\nNext: pulumi.String(\"DeviceShadowEnrichActivity\"),\n},\nDeviceShadowEnrich: \u0026iotanalytics.PipelineDeviceShadowEnrichArgs{\nName: pulumi.String(\"DeviceShadowEnrichActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nThingName: pulumi.String(\"thingName\"),\nRoleArn: pulumi.String(\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\"),\nNext: pulumi.String(\"DatastoreActivity\"),\n},\nDatastore: \u0026iotanalytics.PipelineDatastoreArgs{\nName: pulumi.String(\"DatastoreActivity\"),\nDatastoreName: pulumi.String(\"Datastore\"),\n},\n},\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst pipeline = new aws_native.iotanalytics.Pipeline(\"pipeline\", {\n pipelineName: \"ComplexPipeline\",\n pipelineActivities: [{\n channel: {\n name: \"ChannelActivity\",\n channelName: \"Channel\",\n next: \"LambdaActivity\",\n },\n lambda: {\n name: \"LambdaActivity\",\n lambdaName: \"Lambda\",\n batchSize: 1,\n next: \"AddAttributesActivity\",\n },\n addAttributes: {\n name: \"AddAttributesActivity\",\n attributes: {\n key1: \"attribute1\",\n key2: \"attribute2\",\n },\n next: \"RemoveAttributesActivity\",\n },\n removeAttributes: {\n name: \"RemoveAttributesActivity\",\n attributes: [\n \"attribute1\",\n \"attribute2\",\n ],\n next: \"SelectAttributesActivity\",\n },\n selectAttributes: {\n name: \"SelectAttributesActivity\",\n attributes: [\n \"attribute1\",\n \"attribute2\",\n ],\n next: \"FilterActivity\",\n },\n filter: {\n name: \"FilterActivity\",\n filter: \"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n next: \"MathActivity\",\n },\n math: {\n name: \"MathActivity\",\n attribute: \"attribute\",\n math: \"attribute - 10\",\n next: \"DeviceRegistryEnrichActivity\",\n },\n deviceRegistryEnrich: {\n name: \"DeviceRegistryEnrichActivity\",\n attribute: \"attribute\",\n thingName: \"thingName\",\n roleArn: \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next: \"DeviceShadowEnrichActivity\",\n },\n deviceShadowEnrich: {\n name: \"DeviceShadowEnrichActivity\",\n attribute: \"attribute\",\n thingName: \"thingName\",\n roleArn: \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next: \"DatastoreActivity\",\n },\n datastore: {\n name: \"DatastoreActivity\",\n datastoreName: \"Datastore\",\n },\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\npipeline = aws_native.iotanalytics.Pipeline(\"pipeline\",\n pipeline_name=\"ComplexPipeline\",\n pipeline_activities=[aws_native.iotanalytics.PipelineActivityArgs(\n channel=aws_native.iotanalytics.PipelineChannelArgs(\n name=\"ChannelActivity\",\n channel_name=\"Channel\",\n next=\"LambdaActivity\",\n ),\n lambda_=aws_native.iotanalytics.PipelineLambdaArgs(\n name=\"LambdaActivity\",\n lambda_name=\"Lambda\",\n batch_size=1,\n next=\"AddAttributesActivity\",\n ),\n add_attributes=aws_native.iotanalytics.PipelineAddAttributesArgs(\n name=\"AddAttributesActivity\",\n attributes={\n \"key1\": \"attribute1\",\n \"key2\": \"attribute2\",\n },\n next=\"RemoveAttributesActivity\",\n ),\n remove_attributes=aws_native.iotanalytics.PipelineRemoveAttributesArgs(\n name=\"RemoveAttributesActivity\",\n attributes=[\n \"attribute1\",\n \"attribute2\",\n ],\n next=\"SelectAttributesActivity\",\n ),\n select_attributes=aws_native.iotanalytics.PipelineSelectAttributesArgs(\n name=\"SelectAttributesActivity\",\n attributes=[\n \"attribute1\",\n \"attribute2\",\n ],\n next=\"FilterActivity\",\n ),\n filter=aws_native.iotanalytics.PipelineFilterArgs(\n name=\"FilterActivity\",\n filter=\"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n next=\"MathActivity\",\n ),\n math=aws_native.iotanalytics.PipelineMathArgs(\n name=\"MathActivity\",\n attribute=\"attribute\",\n math=\"attribute - 10\",\n next=\"DeviceRegistryEnrichActivity\",\n ),\n device_registry_enrich=aws_native.iotanalytics.PipelineDeviceRegistryEnrichArgs(\n name=\"DeviceRegistryEnrichActivity\",\n attribute=\"attribute\",\n thing_name=\"thingName\",\n role_arn=\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next=\"DeviceShadowEnrichActivity\",\n ),\n device_shadow_enrich=aws_native.iotanalytics.PipelineDeviceShadowEnrichArgs(\n name=\"DeviceShadowEnrichActivity\",\n attribute=\"attribute\",\n thing_name=\"thingName\",\n role_arn=\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next=\"DatastoreActivity\",\n ),\n datastore=aws_native.iotanalytics.PipelineDatastoreArgs(\n name=\"DatastoreActivity\",\n datastore_name=\"Datastore\",\n ),\n )])\n\n```\n\n{{% /example %}}\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 pipeline = new AwsNative.IoTAnalytics.Pipeline(\"pipeline\", new()\n {\n PipelineName = \"ComplexPipeline\",\n PipelineActivities = new[]\n {\n new AwsNative.IoTAnalytics.Inputs.PipelineActivityArgs\n {\n Channel = new AwsNative.IoTAnalytics.Inputs.PipelineChannelArgs\n {\n Name = \"ChannelActivity\",\n ChannelName = \"Channel\",\n Next = \"LambdaActivity\",\n },\n Lambda = new AwsNative.IoTAnalytics.Inputs.PipelineLambdaArgs\n {\n Name = \"LambdaActivity\",\n LambdaName = \"Lambda\",\n BatchSize = 1,\n Next = \"AddAttributesActivity\",\n },\n AddAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineAddAttributesArgs\n {\n Name = \"AddAttributesActivity\",\n Attributes = \n {\n { \"key1\", \"attribute1\" },\n { \"key2\", \"attribute2\" },\n },\n Next = \"RemoveAttributesActivity\",\n },\n RemoveAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineRemoveAttributesArgs\n {\n Name = \"RemoveAttributesActivity\",\n Attributes = new[]\n {\n \"attribute1\",\n \"attribute2\",\n },\n Next = \"SelectAttributesActivity\",\n },\n SelectAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineSelectAttributesArgs\n {\n Name = \"SelectAttributesActivity\",\n Attributes = new[]\n {\n \"attribute1\",\n \"attribute2\",\n },\n Next = \"FilterActivity\",\n },\n Filter = new AwsNative.IoTAnalytics.Inputs.PipelineFilterArgs\n {\n Name = \"FilterActivity\",\n Filter = \"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n Next = \"MathActivity\",\n },\n Math = new AwsNative.IoTAnalytics.Inputs.PipelineMathArgs\n {\n Name = \"MathActivity\",\n Attribute = \"attribute\",\n Math = \"attribute - 10\",\n Next = \"DeviceRegistryEnrichActivity\",\n },\n DeviceRegistryEnrich = new AwsNative.IoTAnalytics.Inputs.PipelineDeviceRegistryEnrichArgs\n {\n Name = \"DeviceRegistryEnrichActivity\",\n Attribute = \"attribute\",\n ThingName = \"thingName\",\n RoleArn = \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n Next = \"DeviceShadowEnrichActivity\",\n },\n DeviceShadowEnrich = new AwsNative.IoTAnalytics.Inputs.PipelineDeviceShadowEnrichArgs\n {\n Name = \"DeviceShadowEnrichActivity\",\n Attribute = \"attribute\",\n ThingName = \"thingName\",\n RoleArn = \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n Next = \"DatastoreActivity\",\n },\n Datastore = new AwsNative.IoTAnalytics.Inputs.PipelineDatastoreArgs\n {\n Name = \"DatastoreActivity\",\n DatastoreName = \"Datastore\",\n },\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := iotanalytics.NewPipeline(ctx, \"pipeline\", \u0026iotanalytics.PipelineArgs{\nPipelineName: pulumi.String(\"ComplexPipeline\"),\nPipelineActivities: iotanalytics.PipelineActivityArray{\ninterface{}{\nChannel: \u0026iotanalytics.PipelineChannelArgs{\nName: pulumi.String(\"ChannelActivity\"),\nChannelName: pulumi.String(\"Channel\"),\nNext: pulumi.String(\"LambdaActivity\"),\n},\nLambda: \u0026iotanalytics.PipelineLambdaArgs{\nName: pulumi.String(\"LambdaActivity\"),\nLambdaName: pulumi.String(\"Lambda\"),\nBatchSize: pulumi.Int(1),\nNext: pulumi.String(\"AddAttributesActivity\"),\n},\nAddAttributes: \u0026iotanalytics.PipelineAddAttributesArgs{\nName: pulumi.String(\"AddAttributesActivity\"),\nAttributes: pulumi.Any{\nKey1: \"attribute1\",\nKey2: \"attribute2\",\n},\nNext: pulumi.String(\"RemoveAttributesActivity\"),\n},\nRemoveAttributes: \u0026iotanalytics.PipelineRemoveAttributesArgs{\nName: pulumi.String(\"RemoveAttributesActivity\"),\nAttributes: pulumi.StringArray{\npulumi.String(\"attribute1\"),\npulumi.String(\"attribute2\"),\n},\nNext: pulumi.String(\"SelectAttributesActivity\"),\n},\nSelectAttributes: \u0026iotanalytics.PipelineSelectAttributesArgs{\nName: pulumi.String(\"SelectAttributesActivity\"),\nAttributes: pulumi.StringArray{\npulumi.String(\"attribute1\"),\npulumi.String(\"attribute2\"),\n},\nNext: pulumi.String(\"FilterActivity\"),\n},\nFilter: \u0026iotanalytics.PipelineFilterArgs{\nName: pulumi.String(\"FilterActivity\"),\nFilter: pulumi.String(\"attribute1 \u003e 40 AND attribute2 \u003c 20\"),\nNext: pulumi.String(\"MathActivity\"),\n},\nMath: \u0026iotanalytics.PipelineMathArgs{\nName: pulumi.String(\"MathActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nMath: pulumi.String(\"attribute - 10\"),\nNext: pulumi.String(\"DeviceRegistryEnrichActivity\"),\n},\nDeviceRegistryEnrich: \u0026iotanalytics.PipelineDeviceRegistryEnrichArgs{\nName: pulumi.String(\"DeviceRegistryEnrichActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nThingName: pulumi.String(\"thingName\"),\nRoleArn: pulumi.String(\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\"),\nNext: pulumi.String(\"DeviceShadowEnrichActivity\"),\n},\nDeviceShadowEnrich: \u0026iotanalytics.PipelineDeviceShadowEnrichArgs{\nName: pulumi.String(\"DeviceShadowEnrichActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nThingName: pulumi.String(\"thingName\"),\nRoleArn: pulumi.String(\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\"),\nNext: pulumi.String(\"DatastoreActivity\"),\n},\nDatastore: \u0026iotanalytics.PipelineDatastoreArgs{\nName: pulumi.String(\"DatastoreActivity\"),\nDatastoreName: pulumi.String(\"Datastore\"),\n},\n},\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst pipeline = new aws_native.iotanalytics.Pipeline(\"pipeline\", {\n pipelineName: \"ComplexPipeline\",\n pipelineActivities: [{\n channel: {\n name: \"ChannelActivity\",\n channelName: \"Channel\",\n next: \"LambdaActivity\",\n },\n lambda: {\n name: \"LambdaActivity\",\n lambdaName: \"Lambda\",\n batchSize: 1,\n next: \"AddAttributesActivity\",\n },\n addAttributes: {\n name: \"AddAttributesActivity\",\n attributes: {\n key1: \"attribute1\",\n key2: \"attribute2\",\n },\n next: \"RemoveAttributesActivity\",\n },\n removeAttributes: {\n name: \"RemoveAttributesActivity\",\n attributes: [\n \"attribute1\",\n \"attribute2\",\n ],\n next: \"SelectAttributesActivity\",\n },\n selectAttributes: {\n name: \"SelectAttributesActivity\",\n attributes: [\n \"attribute1\",\n \"attribute2\",\n ],\n next: \"FilterActivity\",\n },\n filter: {\n name: \"FilterActivity\",\n filter: \"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n next: \"MathActivity\",\n },\n math: {\n name: \"MathActivity\",\n attribute: \"attribute\",\n math: \"attribute - 10\",\n next: \"DeviceRegistryEnrichActivity\",\n },\n deviceRegistryEnrich: {\n name: \"DeviceRegistryEnrichActivity\",\n attribute: \"attribute\",\n thingName: \"thingName\",\n roleArn: \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next: \"DeviceShadowEnrichActivity\",\n },\n deviceShadowEnrich: {\n name: \"DeviceShadowEnrichActivity\",\n attribute: \"attribute\",\n thingName: \"thingName\",\n roleArn: \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next: \"DatastoreActivity\",\n },\n datastore: {\n name: \"DatastoreActivity\",\n datastoreName: \"Datastore\",\n },\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\npipeline = aws_native.iotanalytics.Pipeline(\"pipeline\",\n pipeline_name=\"ComplexPipeline\",\n pipeline_activities=[aws_native.iotanalytics.PipelineActivityArgs(\n channel=aws_native.iotanalytics.PipelineChannelArgs(\n name=\"ChannelActivity\",\n channel_name=\"Channel\",\n next=\"LambdaActivity\",\n ),\n lambda_=aws_native.iotanalytics.PipelineLambdaArgs(\n name=\"LambdaActivity\",\n lambda_name=\"Lambda\",\n batch_size=1,\n next=\"AddAttributesActivity\",\n ),\n add_attributes=aws_native.iotanalytics.PipelineAddAttributesArgs(\n name=\"AddAttributesActivity\",\n attributes={\n \"key1\": \"attribute1\",\n \"key2\": \"attribute2\",\n },\n next=\"RemoveAttributesActivity\",\n ),\n remove_attributes=aws_native.iotanalytics.PipelineRemoveAttributesArgs(\n name=\"RemoveAttributesActivity\",\n attributes=[\n \"attribute1\",\n \"attribute2\",\n ],\n next=\"SelectAttributesActivity\",\n ),\n select_attributes=aws_native.iotanalytics.PipelineSelectAttributesArgs(\n name=\"SelectAttributesActivity\",\n attributes=[\n \"attribute1\",\n \"attribute2\",\n ],\n next=\"FilterActivity\",\n ),\n filter=aws_native.iotanalytics.PipelineFilterArgs(\n name=\"FilterActivity\",\n filter=\"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n next=\"MathActivity\",\n ),\n math=aws_native.iotanalytics.PipelineMathArgs(\n name=\"MathActivity\",\n attribute=\"attribute\",\n math=\"attribute - 10\",\n next=\"DeviceRegistryEnrichActivity\",\n ),\n device_registry_enrich=aws_native.iotanalytics.PipelineDeviceRegistryEnrichArgs(\n name=\"DeviceRegistryEnrichActivity\",\n attribute=\"attribute\",\n thing_name=\"thingName\",\n role_arn=\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next=\"DeviceShadowEnrichActivity\",\n ),\n device_shadow_enrich=aws_native.iotanalytics.PipelineDeviceShadowEnrichArgs(\n name=\"DeviceShadowEnrichActivity\",\n attribute=\"attribute\",\n thing_name=\"thingName\",\n role_arn=\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next=\"DatastoreActivity\",\n ),\n datastore=aws_native.iotanalytics.PipelineDatastoreArgs(\n name=\"DatastoreActivity\",\n datastore_name=\"Datastore\",\n ),\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", + "description": "Resource Type definition for AWS::IoTAnalytics::Pipeline\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 pipeline = new AwsNative.IoTAnalytics.Pipeline(\"pipeline\", new()\n {\n PipelineName = \"SimplePipeline\",\n PipelineActivities = new[]\n {\n new AwsNative.IoTAnalytics.Inputs.PipelineActivityArgs\n {\n Channel = new AwsNative.IoTAnalytics.Inputs.PipelineChannelArgs\n {\n Name = \"ChannelActivity\",\n ChannelName = \"SimpleChannel\",\n Next = \"DatastoreActivity\",\n },\n Datastore = new AwsNative.IoTAnalytics.Inputs.PipelineDatastoreArgs\n {\n Name = \"DatastoreActivity\",\n DatastoreName = \"SimpleDatastore\",\n },\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := iotanalytics.NewPipeline(ctx, \"pipeline\", \u0026iotanalytics.PipelineArgs{\nPipelineName: pulumi.String(\"SimplePipeline\"),\nPipelineActivities: iotanalytics.PipelineActivityArray{\ninterface{}{\nChannel: \u0026iotanalytics.PipelineChannelArgs{\nName: pulumi.String(\"ChannelActivity\"),\nChannelName: pulumi.String(\"SimpleChannel\"),\nNext: pulumi.String(\"DatastoreActivity\"),\n},\nDatastore: \u0026iotanalytics.PipelineDatastoreArgs{\nName: pulumi.String(\"DatastoreActivity\"),\nDatastoreName: pulumi.String(\"SimpleDatastore\"),\n},\n},\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst pipeline = new aws_native.iotanalytics.Pipeline(\"pipeline\", {\n pipelineName: \"SimplePipeline\",\n pipelineActivities: [{\n channel: {\n name: \"ChannelActivity\",\n channelName: \"SimpleChannel\",\n next: \"DatastoreActivity\",\n },\n datastore: {\n name: \"DatastoreActivity\",\n datastoreName: \"SimpleDatastore\",\n },\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\npipeline = aws_native.iotanalytics.Pipeline(\"pipeline\",\n pipeline_name=\"SimplePipeline\",\n pipeline_activities=[aws_native.iotanalytics.PipelineActivityArgs(\n channel=aws_native.iotanalytics.PipelineChannelArgs(\n name=\"ChannelActivity\",\n channel_name=\"SimpleChannel\",\n next=\"DatastoreActivity\",\n ),\n datastore=aws_native.iotanalytics.PipelineDatastoreArgs(\n name=\"DatastoreActivity\",\n datastore_name=\"SimpleDatastore\",\n ),\n )])\n\n```\n\n{{% /example %}}\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 pipeline = new AwsNative.IoTAnalytics.Pipeline(\"pipeline\", new()\n {\n PipelineName = \"SimplePipeline\",\n PipelineActivities = new[]\n {\n new AwsNative.IoTAnalytics.Inputs.PipelineActivityArgs\n {\n Channel = new AwsNative.IoTAnalytics.Inputs.PipelineChannelArgs\n {\n Name = \"ChannelActivity\",\n ChannelName = \"SimpleChannel\",\n Next = \"DatastoreActivity\",\n },\n Datastore = new AwsNative.IoTAnalytics.Inputs.PipelineDatastoreArgs\n {\n Name = \"DatastoreActivity\",\n DatastoreName = \"SimpleDatastore\",\n },\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := iotanalytics.NewPipeline(ctx, \"pipeline\", \u0026iotanalytics.PipelineArgs{\nPipelineName: pulumi.String(\"SimplePipeline\"),\nPipelineActivities: iotanalytics.PipelineActivityArray{\ninterface{}{\nChannel: \u0026iotanalytics.PipelineChannelArgs{\nName: pulumi.String(\"ChannelActivity\"),\nChannelName: pulumi.String(\"SimpleChannel\"),\nNext: pulumi.String(\"DatastoreActivity\"),\n},\nDatastore: \u0026iotanalytics.PipelineDatastoreArgs{\nName: pulumi.String(\"DatastoreActivity\"),\nDatastoreName: pulumi.String(\"SimpleDatastore\"),\n},\n},\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst pipeline = new aws_native.iotanalytics.Pipeline(\"pipeline\", {\n pipelineName: \"SimplePipeline\",\n pipelineActivities: [{\n channel: {\n name: \"ChannelActivity\",\n channelName: \"SimpleChannel\",\n next: \"DatastoreActivity\",\n },\n datastore: {\n name: \"DatastoreActivity\",\n datastoreName: \"SimpleDatastore\",\n },\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\npipeline = aws_native.iotanalytics.Pipeline(\"pipeline\",\n pipeline_name=\"SimplePipeline\",\n pipeline_activities=[aws_native.iotanalytics.PipelineActivityArgs(\n channel=aws_native.iotanalytics.PipelineChannelArgs(\n name=\"ChannelActivity\",\n channel_name=\"SimpleChannel\",\n next=\"DatastoreActivity\",\n ),\n datastore=aws_native.iotanalytics.PipelineDatastoreArgs(\n name=\"DatastoreActivity\",\n datastore_name=\"SimpleDatastore\",\n ),\n )])\n\n```\n\n{{% /example %}}\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 pipeline = new AwsNative.IoTAnalytics.Pipeline(\"pipeline\", new()\n {\n PipelineName = \"ComplexPipeline\",\n PipelineActivities = new[]\n {\n new AwsNative.IoTAnalytics.Inputs.PipelineActivityArgs\n {\n Channel = new AwsNative.IoTAnalytics.Inputs.PipelineChannelArgs\n {\n Name = \"ChannelActivity\",\n ChannelName = \"Channel\",\n Next = \"LambdaActivity\",\n },\n Lambda = new AwsNative.IoTAnalytics.Inputs.PipelineLambdaArgs\n {\n Name = \"LambdaActivity\",\n LambdaName = \"Lambda\",\n BatchSize = 1,\n Next = \"AddAttributesActivity\",\n },\n AddAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineAddAttributesArgs\n {\n Name = \"AddAttributesActivity\",\n Attributes = \n {\n { \"key1\", \"attribute1\" },\n { \"key2\", \"attribute2\" },\n },\n Next = \"RemoveAttributesActivity\",\n },\n RemoveAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineRemoveAttributesArgs\n {\n Name = \"RemoveAttributesActivity\",\n Attributes = new[]\n {\n \"attribute1\",\n \"attribute2\",\n },\n Next = \"SelectAttributesActivity\",\n },\n SelectAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineSelectAttributesArgs\n {\n Name = \"SelectAttributesActivity\",\n Attributes = new[]\n {\n \"attribute1\",\n \"attribute2\",\n },\n Next = \"FilterActivity\",\n },\n Filter = new AwsNative.IoTAnalytics.Inputs.PipelineFilterArgs\n {\n Name = \"FilterActivity\",\n Filter = \"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n Next = \"MathActivity\",\n },\n Math = new AwsNative.IoTAnalytics.Inputs.PipelineMathArgs\n {\n Name = \"MathActivity\",\n Attribute = \"attribute\",\n Math = \"attribute - 10\",\n Next = \"DeviceRegistryEnrichActivity\",\n },\n DeviceRegistryEnrich = new AwsNative.IoTAnalytics.Inputs.PipelineDeviceRegistryEnrichArgs\n {\n Name = \"DeviceRegistryEnrichActivity\",\n Attribute = \"attribute\",\n ThingName = \"thingName\",\n RoleArn = \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n Next = \"DeviceShadowEnrichActivity\",\n },\n DeviceShadowEnrich = new AwsNative.IoTAnalytics.Inputs.PipelineDeviceShadowEnrichArgs\n {\n Name = \"DeviceShadowEnrichActivity\",\n Attribute = \"attribute\",\n ThingName = \"thingName\",\n RoleArn = \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n Next = \"DatastoreActivity\",\n },\n Datastore = new AwsNative.IoTAnalytics.Inputs.PipelineDatastoreArgs\n {\n Name = \"DatastoreActivity\",\n DatastoreName = \"Datastore\",\n },\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := iotanalytics.NewPipeline(ctx, \"pipeline\", \u0026iotanalytics.PipelineArgs{\nPipelineName: pulumi.String(\"ComplexPipeline\"),\nPipelineActivities: iotanalytics.PipelineActivityArray{\ninterface{}{\nChannel: \u0026iotanalytics.PipelineChannelArgs{\nName: pulumi.String(\"ChannelActivity\"),\nChannelName: pulumi.String(\"Channel\"),\nNext: pulumi.String(\"LambdaActivity\"),\n},\nLambda: \u0026iotanalytics.PipelineLambdaArgs{\nName: pulumi.String(\"LambdaActivity\"),\nLambdaName: pulumi.String(\"Lambda\"),\nBatchSize: pulumi.Int(1),\nNext: pulumi.String(\"AddAttributesActivity\"),\n},\nAddAttributes: \u0026iotanalytics.PipelineAddAttributesArgs{\nName: pulumi.String(\"AddAttributesActivity\"),\nAttributes: pulumi.StringMap{\n\"key1\": pulumi.String(\"attribute1\"),\n\"key2\": pulumi.String(\"attribute2\"),\n},\nNext: pulumi.String(\"RemoveAttributesActivity\"),\n},\nRemoveAttributes: \u0026iotanalytics.PipelineRemoveAttributesArgs{\nName: pulumi.String(\"RemoveAttributesActivity\"),\nAttributes: pulumi.StringArray{\npulumi.String(\"attribute1\"),\npulumi.String(\"attribute2\"),\n},\nNext: pulumi.String(\"SelectAttributesActivity\"),\n},\nSelectAttributes: \u0026iotanalytics.PipelineSelectAttributesArgs{\nName: pulumi.String(\"SelectAttributesActivity\"),\nAttributes: pulumi.StringArray{\npulumi.String(\"attribute1\"),\npulumi.String(\"attribute2\"),\n},\nNext: pulumi.String(\"FilterActivity\"),\n},\nFilter: \u0026iotanalytics.PipelineFilterArgs{\nName: pulumi.String(\"FilterActivity\"),\nFilter: pulumi.String(\"attribute1 \u003e 40 AND attribute2 \u003c 20\"),\nNext: pulumi.String(\"MathActivity\"),\n},\nMath: \u0026iotanalytics.PipelineMathArgs{\nName: pulumi.String(\"MathActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nMath: pulumi.String(\"attribute - 10\"),\nNext: pulumi.String(\"DeviceRegistryEnrichActivity\"),\n},\nDeviceRegistryEnrich: \u0026iotanalytics.PipelineDeviceRegistryEnrichArgs{\nName: pulumi.String(\"DeviceRegistryEnrichActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nThingName: pulumi.String(\"thingName\"),\nRoleArn: pulumi.String(\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\"),\nNext: pulumi.String(\"DeviceShadowEnrichActivity\"),\n},\nDeviceShadowEnrich: \u0026iotanalytics.PipelineDeviceShadowEnrichArgs{\nName: pulumi.String(\"DeviceShadowEnrichActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nThingName: pulumi.String(\"thingName\"),\nRoleArn: pulumi.String(\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\"),\nNext: pulumi.String(\"DatastoreActivity\"),\n},\nDatastore: \u0026iotanalytics.PipelineDatastoreArgs{\nName: pulumi.String(\"DatastoreActivity\"),\nDatastoreName: pulumi.String(\"Datastore\"),\n},\n},\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst pipeline = new aws_native.iotanalytics.Pipeline(\"pipeline\", {\n pipelineName: \"ComplexPipeline\",\n pipelineActivities: [{\n channel: {\n name: \"ChannelActivity\",\n channelName: \"Channel\",\n next: \"LambdaActivity\",\n },\n lambda: {\n name: \"LambdaActivity\",\n lambdaName: \"Lambda\",\n batchSize: 1,\n next: \"AddAttributesActivity\",\n },\n addAttributes: {\n name: \"AddAttributesActivity\",\n attributes: {\n key1: \"attribute1\",\n key2: \"attribute2\",\n },\n next: \"RemoveAttributesActivity\",\n },\n removeAttributes: {\n name: \"RemoveAttributesActivity\",\n attributes: [\n \"attribute1\",\n \"attribute2\",\n ],\n next: \"SelectAttributesActivity\",\n },\n selectAttributes: {\n name: \"SelectAttributesActivity\",\n attributes: [\n \"attribute1\",\n \"attribute2\",\n ],\n next: \"FilterActivity\",\n },\n filter: {\n name: \"FilterActivity\",\n filter: \"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n next: \"MathActivity\",\n },\n math: {\n name: \"MathActivity\",\n attribute: \"attribute\",\n math: \"attribute - 10\",\n next: \"DeviceRegistryEnrichActivity\",\n },\n deviceRegistryEnrich: {\n name: \"DeviceRegistryEnrichActivity\",\n attribute: \"attribute\",\n thingName: \"thingName\",\n roleArn: \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next: \"DeviceShadowEnrichActivity\",\n },\n deviceShadowEnrich: {\n name: \"DeviceShadowEnrichActivity\",\n attribute: \"attribute\",\n thingName: \"thingName\",\n roleArn: \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next: \"DatastoreActivity\",\n },\n datastore: {\n name: \"DatastoreActivity\",\n datastoreName: \"Datastore\",\n },\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\npipeline = aws_native.iotanalytics.Pipeline(\"pipeline\",\n pipeline_name=\"ComplexPipeline\",\n pipeline_activities=[aws_native.iotanalytics.PipelineActivityArgs(\n channel=aws_native.iotanalytics.PipelineChannelArgs(\n name=\"ChannelActivity\",\n channel_name=\"Channel\",\n next=\"LambdaActivity\",\n ),\n lambda_=aws_native.iotanalytics.PipelineLambdaArgs(\n name=\"LambdaActivity\",\n lambda_name=\"Lambda\",\n batch_size=1,\n next=\"AddAttributesActivity\",\n ),\n add_attributes=aws_native.iotanalytics.PipelineAddAttributesArgs(\n name=\"AddAttributesActivity\",\n attributes={\n \"key1\": \"attribute1\",\n \"key2\": \"attribute2\",\n },\n next=\"RemoveAttributesActivity\",\n ),\n remove_attributes=aws_native.iotanalytics.PipelineRemoveAttributesArgs(\n name=\"RemoveAttributesActivity\",\n attributes=[\n \"attribute1\",\n \"attribute2\",\n ],\n next=\"SelectAttributesActivity\",\n ),\n select_attributes=aws_native.iotanalytics.PipelineSelectAttributesArgs(\n name=\"SelectAttributesActivity\",\n attributes=[\n \"attribute1\",\n \"attribute2\",\n ],\n next=\"FilterActivity\",\n ),\n filter=aws_native.iotanalytics.PipelineFilterArgs(\n name=\"FilterActivity\",\n filter=\"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n next=\"MathActivity\",\n ),\n math=aws_native.iotanalytics.PipelineMathArgs(\n name=\"MathActivity\",\n attribute=\"attribute\",\n math=\"attribute - 10\",\n next=\"DeviceRegistryEnrichActivity\",\n ),\n device_registry_enrich=aws_native.iotanalytics.PipelineDeviceRegistryEnrichArgs(\n name=\"DeviceRegistryEnrichActivity\",\n attribute=\"attribute\",\n thing_name=\"thingName\",\n role_arn=\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next=\"DeviceShadowEnrichActivity\",\n ),\n device_shadow_enrich=aws_native.iotanalytics.PipelineDeviceShadowEnrichArgs(\n name=\"DeviceShadowEnrichActivity\",\n attribute=\"attribute\",\n thing_name=\"thingName\",\n role_arn=\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next=\"DatastoreActivity\",\n ),\n datastore=aws_native.iotanalytics.PipelineDatastoreArgs(\n name=\"DatastoreActivity\",\n datastore_name=\"Datastore\",\n ),\n )])\n\n```\n\n{{% /example %}}\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 pipeline = new AwsNative.IoTAnalytics.Pipeline(\"pipeline\", new()\n {\n PipelineName = \"ComplexPipeline\",\n PipelineActivities = new[]\n {\n new AwsNative.IoTAnalytics.Inputs.PipelineActivityArgs\n {\n Channel = new AwsNative.IoTAnalytics.Inputs.PipelineChannelArgs\n {\n Name = \"ChannelActivity\",\n ChannelName = \"Channel\",\n Next = \"LambdaActivity\",\n },\n Lambda = new AwsNative.IoTAnalytics.Inputs.PipelineLambdaArgs\n {\n Name = \"LambdaActivity\",\n LambdaName = \"Lambda\",\n BatchSize = 1,\n Next = \"AddAttributesActivity\",\n },\n AddAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineAddAttributesArgs\n {\n Name = \"AddAttributesActivity\",\n Attributes = \n {\n { \"key1\", \"attribute1\" },\n { \"key2\", \"attribute2\" },\n },\n Next = \"RemoveAttributesActivity\",\n },\n RemoveAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineRemoveAttributesArgs\n {\n Name = \"RemoveAttributesActivity\",\n Attributes = new[]\n {\n \"attribute1\",\n \"attribute2\",\n },\n Next = \"SelectAttributesActivity\",\n },\n SelectAttributes = new AwsNative.IoTAnalytics.Inputs.PipelineSelectAttributesArgs\n {\n Name = \"SelectAttributesActivity\",\n Attributes = new[]\n {\n \"attribute1\",\n \"attribute2\",\n },\n Next = \"FilterActivity\",\n },\n Filter = new AwsNative.IoTAnalytics.Inputs.PipelineFilterArgs\n {\n Name = \"FilterActivity\",\n Filter = \"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n Next = \"MathActivity\",\n },\n Math = new AwsNative.IoTAnalytics.Inputs.PipelineMathArgs\n {\n Name = \"MathActivity\",\n Attribute = \"attribute\",\n Math = \"attribute - 10\",\n Next = \"DeviceRegistryEnrichActivity\",\n },\n DeviceRegistryEnrich = new AwsNative.IoTAnalytics.Inputs.PipelineDeviceRegistryEnrichArgs\n {\n Name = \"DeviceRegistryEnrichActivity\",\n Attribute = \"attribute\",\n ThingName = \"thingName\",\n RoleArn = \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n Next = \"DeviceShadowEnrichActivity\",\n },\n DeviceShadowEnrich = new AwsNative.IoTAnalytics.Inputs.PipelineDeviceShadowEnrichArgs\n {\n Name = \"DeviceShadowEnrichActivity\",\n Attribute = \"attribute\",\n ThingName = \"thingName\",\n RoleArn = \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n Next = \"DatastoreActivity\",\n },\n Datastore = new AwsNative.IoTAnalytics.Inputs.PipelineDatastoreArgs\n {\n Name = \"DatastoreActivity\",\n DatastoreName = \"Datastore\",\n },\n },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\n_, err := iotanalytics.NewPipeline(ctx, \"pipeline\", \u0026iotanalytics.PipelineArgs{\nPipelineName: pulumi.String(\"ComplexPipeline\"),\nPipelineActivities: iotanalytics.PipelineActivityArray{\ninterface{}{\nChannel: \u0026iotanalytics.PipelineChannelArgs{\nName: pulumi.String(\"ChannelActivity\"),\nChannelName: pulumi.String(\"Channel\"),\nNext: pulumi.String(\"LambdaActivity\"),\n},\nLambda: \u0026iotanalytics.PipelineLambdaArgs{\nName: pulumi.String(\"LambdaActivity\"),\nLambdaName: pulumi.String(\"Lambda\"),\nBatchSize: pulumi.Int(1),\nNext: pulumi.String(\"AddAttributesActivity\"),\n},\nAddAttributes: \u0026iotanalytics.PipelineAddAttributesArgs{\nName: pulumi.String(\"AddAttributesActivity\"),\nAttributes: pulumi.StringMap{\n\"key1\": pulumi.String(\"attribute1\"),\n\"key2\": pulumi.String(\"attribute2\"),\n},\nNext: pulumi.String(\"RemoveAttributesActivity\"),\n},\nRemoveAttributes: \u0026iotanalytics.PipelineRemoveAttributesArgs{\nName: pulumi.String(\"RemoveAttributesActivity\"),\nAttributes: pulumi.StringArray{\npulumi.String(\"attribute1\"),\npulumi.String(\"attribute2\"),\n},\nNext: pulumi.String(\"SelectAttributesActivity\"),\n},\nSelectAttributes: \u0026iotanalytics.PipelineSelectAttributesArgs{\nName: pulumi.String(\"SelectAttributesActivity\"),\nAttributes: pulumi.StringArray{\npulumi.String(\"attribute1\"),\npulumi.String(\"attribute2\"),\n},\nNext: pulumi.String(\"FilterActivity\"),\n},\nFilter: \u0026iotanalytics.PipelineFilterArgs{\nName: pulumi.String(\"FilterActivity\"),\nFilter: pulumi.String(\"attribute1 \u003e 40 AND attribute2 \u003c 20\"),\nNext: pulumi.String(\"MathActivity\"),\n},\nMath: \u0026iotanalytics.PipelineMathArgs{\nName: pulumi.String(\"MathActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nMath: pulumi.String(\"attribute - 10\"),\nNext: pulumi.String(\"DeviceRegistryEnrichActivity\"),\n},\nDeviceRegistryEnrich: \u0026iotanalytics.PipelineDeviceRegistryEnrichArgs{\nName: pulumi.String(\"DeviceRegistryEnrichActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nThingName: pulumi.String(\"thingName\"),\nRoleArn: pulumi.String(\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\"),\nNext: pulumi.String(\"DeviceShadowEnrichActivity\"),\n},\nDeviceShadowEnrich: \u0026iotanalytics.PipelineDeviceShadowEnrichArgs{\nName: pulumi.String(\"DeviceShadowEnrichActivity\"),\nAttribute: pulumi.String(\"attribute\"),\nThingName: pulumi.String(\"thingName\"),\nRoleArn: pulumi.String(\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\"),\nNext: pulumi.String(\"DatastoreActivity\"),\n},\nDatastore: \u0026iotanalytics.PipelineDatastoreArgs{\nName: pulumi.String(\"DatastoreActivity\"),\nDatastoreName: pulumi.String(\"Datastore\"),\n},\n},\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst pipeline = new aws_native.iotanalytics.Pipeline(\"pipeline\", {\n pipelineName: \"ComplexPipeline\",\n pipelineActivities: [{\n channel: {\n name: \"ChannelActivity\",\n channelName: \"Channel\",\n next: \"LambdaActivity\",\n },\n lambda: {\n name: \"LambdaActivity\",\n lambdaName: \"Lambda\",\n batchSize: 1,\n next: \"AddAttributesActivity\",\n },\n addAttributes: {\n name: \"AddAttributesActivity\",\n attributes: {\n key1: \"attribute1\",\n key2: \"attribute2\",\n },\n next: \"RemoveAttributesActivity\",\n },\n removeAttributes: {\n name: \"RemoveAttributesActivity\",\n attributes: [\n \"attribute1\",\n \"attribute2\",\n ],\n next: \"SelectAttributesActivity\",\n },\n selectAttributes: {\n name: \"SelectAttributesActivity\",\n attributes: [\n \"attribute1\",\n \"attribute2\",\n ],\n next: \"FilterActivity\",\n },\n filter: {\n name: \"FilterActivity\",\n filter: \"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n next: \"MathActivity\",\n },\n math: {\n name: \"MathActivity\",\n attribute: \"attribute\",\n math: \"attribute - 10\",\n next: \"DeviceRegistryEnrichActivity\",\n },\n deviceRegistryEnrich: {\n name: \"DeviceRegistryEnrichActivity\",\n attribute: \"attribute\",\n thingName: \"thingName\",\n roleArn: \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next: \"DeviceShadowEnrichActivity\",\n },\n deviceShadowEnrich: {\n name: \"DeviceShadowEnrichActivity\",\n attribute: \"attribute\",\n thingName: \"thingName\",\n roleArn: \"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next: \"DatastoreActivity\",\n },\n datastore: {\n name: \"DatastoreActivity\",\n datastoreName: \"Datastore\",\n },\n }],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\npipeline = aws_native.iotanalytics.Pipeline(\"pipeline\",\n pipeline_name=\"ComplexPipeline\",\n pipeline_activities=[aws_native.iotanalytics.PipelineActivityArgs(\n channel=aws_native.iotanalytics.PipelineChannelArgs(\n name=\"ChannelActivity\",\n channel_name=\"Channel\",\n next=\"LambdaActivity\",\n ),\n lambda_=aws_native.iotanalytics.PipelineLambdaArgs(\n name=\"LambdaActivity\",\n lambda_name=\"Lambda\",\n batch_size=1,\n next=\"AddAttributesActivity\",\n ),\n add_attributes=aws_native.iotanalytics.PipelineAddAttributesArgs(\n name=\"AddAttributesActivity\",\n attributes={\n \"key1\": \"attribute1\",\n \"key2\": \"attribute2\",\n },\n next=\"RemoveAttributesActivity\",\n ),\n remove_attributes=aws_native.iotanalytics.PipelineRemoveAttributesArgs(\n name=\"RemoveAttributesActivity\",\n attributes=[\n \"attribute1\",\n \"attribute2\",\n ],\n next=\"SelectAttributesActivity\",\n ),\n select_attributes=aws_native.iotanalytics.PipelineSelectAttributesArgs(\n name=\"SelectAttributesActivity\",\n attributes=[\n \"attribute1\",\n \"attribute2\",\n ],\n next=\"FilterActivity\",\n ),\n filter=aws_native.iotanalytics.PipelineFilterArgs(\n name=\"FilterActivity\",\n filter=\"attribute1 \u003e 40 AND attribute2 \u003c 20\",\n next=\"MathActivity\",\n ),\n math=aws_native.iotanalytics.PipelineMathArgs(\n name=\"MathActivity\",\n attribute=\"attribute\",\n math=\"attribute - 10\",\n next=\"DeviceRegistryEnrichActivity\",\n ),\n device_registry_enrich=aws_native.iotanalytics.PipelineDeviceRegistryEnrichArgs(\n name=\"DeviceRegistryEnrichActivity\",\n attribute=\"attribute\",\n thing_name=\"thingName\",\n role_arn=\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next=\"DeviceShadowEnrichActivity\",\n ),\n device_shadow_enrich=aws_native.iotanalytics.PipelineDeviceShadowEnrichArgs(\n name=\"DeviceShadowEnrichActivity\",\n attribute=\"attribute\",\n thing_name=\"thingName\",\n role_arn=\"arn:aws:iam::\u003cyour_Account_Id\u003e:role/Enrich\",\n next=\"DatastoreActivity\",\n ),\n datastore=aws_native.iotanalytics.PipelineDatastoreArgs(\n name=\"DatastoreActivity\",\n datastore_name=\"Datastore\",\n ),\n )])\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "pipelineActivities": { "type": "array", @@ -170609,7 +172004,10 @@ "replaceOnChanges": true }, "compositeComponentTypes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeCompositeComponentType" + }, "description": "An map of the composite component types in the component type. Each composite component type's key must be unique to this map." }, "creationDateTime": { @@ -170628,7 +172026,10 @@ "description": "Specifies the parent component type to extend." }, "functions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeFunction" + }, "description": "a Map of functions in the component type. Each function's key must be unique to this map." }, "isAbstract": { @@ -170644,11 +172045,17 @@ "description": "A Boolean value that specifies whether an entity can have more than one component of this type." }, "propertyDefinitions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyDefinition" + }, "description": "An map of the property definitions in the component type. Each property definition's key must be unique to this map." }, "propertyGroups": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyGroup" + }, "description": "An map of the property groups in the component type. Each property group's key must be unique to this map." }, "status": { @@ -170656,7 +172063,10 @@ "description": "The current status of the component type." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "updateDateTime": { @@ -170686,7 +172096,10 @@ "description": "The ID of the component type." }, "compositeComponentTypes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeCompositeComponentType" + }, "description": "An map of the composite component types in the component type. Each composite component type's key must be unique to this map." }, "description": { @@ -170701,7 +172114,10 @@ "description": "Specifies the parent component type to extend." }, "functions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeFunction" + }, "description": "a Map of functions in the component type. Each function's key must be unique to this map." }, "isSingleton": { @@ -170709,15 +172125,24 @@ "description": "A Boolean value that specifies whether an entity can have more than one component of this type." }, "propertyDefinitions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyDefinition" + }, "description": "An map of the property definitions in the component type. Each property definition's key must be unique to this map." }, "propertyGroups": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyGroup" + }, "description": "An map of the property groups in the component type. Each property group's key must be unique to this map." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "workspaceId": { @@ -170738,11 +172163,17 @@ "description": "The ARN of the entity." }, "components": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityComponent" + }, "description": "A map that sets information about a component type." }, "compositeComponents": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityCompositeComponent" + }, "description": "A map that sets information about a composite component." }, "creationDateTime": { @@ -170775,7 +172206,10 @@ "description": "The current status of the entity." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "updateDateTime": { @@ -170800,11 +172234,17 @@ ], "inputProperties": { "components": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityComponent" + }, "description": "A map that sets information about a component type." }, "compositeComponents": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityCompositeComponent" + }, "description": "A map that sets information about a composite component." }, "description": { @@ -170824,7 +172264,10 @@ "description": "The ID of the parent entity." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "workspaceId": { @@ -170863,7 +172306,10 @@ "description": "The description of the scene." }, "generatedSceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of generated scene metadata for the scene." }, "sceneId": { @@ -170872,11 +172318,17 @@ "replaceOnChanges": true }, "sceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of scene metadata for the scene." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "updateDateTime": { @@ -170920,11 +172372,17 @@ "description": "The ID of the scene." }, "sceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of scene metadata for the scene." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "workspaceId": { @@ -170964,7 +172422,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true }, @@ -170998,7 +172459,10 @@ "description": "The source of the SyncJob." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "workspaceId": { @@ -171036,7 +172500,10 @@ "description": "The ARN of the S3 bucket where resources associated with the workspace are stored." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "updateDateTime": { @@ -171072,7 +172539,10 @@ "description": "The ARN of the S3 bucket where resources associated with the workspace are stored." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "workspaceId": { @@ -172228,7 +173698,10 @@ "description": "Amazon Resource Name for the created Connector." }, "connectorConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The configuration for the connector.", "replaceOnChanges": true }, @@ -172299,7 +173772,10 @@ "$ref": "#/types/aws-native:kafkaconnect:ConnectorCapacity" }, "connectorConfiguration": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The configuration for the connector." }, "connectorDescription": { @@ -180732,7 +182208,10 @@ "$ref": "#/types/aws-native:msk:ClusterStorageMode" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } }, @@ -180783,7 +182262,10 @@ "$ref": "#/types/aws-native:msk:ClusterStorageMode" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } }, @@ -181005,7 +182487,10 @@ "replaceOnChanges": true }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource.", "replaceOnChanges": true }, @@ -181032,7 +182517,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "vpcConfigs": { @@ -184654,7 +186142,10 @@ "$ref": "pulumi.json#/Any" }, "advancedOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "advancedSecurityOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainAdvancedSecurityOptionsInput" @@ -184681,7 +186172,10 @@ "type": "string" }, "domainEndpoints": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "domainName": { "type": "string", @@ -184700,7 +186194,10 @@ "type": "string" }, "logPublishingOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:opensearchservice:DomainLogPublishingOption" + } }, "nodeToNodeEncryptionOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainNodeToNodeEncryptionOptions" @@ -184742,7 +186239,10 @@ "$ref": "pulumi.json#/Any" }, "advancedOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "advancedSecurityOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainAdvancedSecurityOptionsInput" @@ -184772,7 +186272,10 @@ "type": "string" }, "logPublishingOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:opensearchservice:DomainLogPublishingOption" + } }, "nodeToNodeEncryptionOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainNodeToNodeEncryptionOptions" @@ -197713,7 +199216,10 @@ "replaceOnChanges": true }, "outputs": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "List of key-value pair outputs." }, "pathId": { @@ -199475,7 +200981,7 @@ ] }, "aws-native:ssm:Parameter": { - "description": "The ``AWS::SSM::Parameter`` resource creates an SSM parameter in SYSlong Parameter Store.\n To create an SSM parameter, you must have the IAMlong (IAM) permissions ``ssm:PutParameter`` and ``ssm:AddTagsToResource``. On stack creation, CFNlong adds the following three tags to the parameter: ``aws:cloudformation:stack-name``, ``aws:cloudformation:logical-id``, and ``aws:cloudformation:stack-id``, in addition to any custom tags you specify.\n To add, update, or remove tags during stack update, you must have IAM permissions for both ``ssm:AddTagsToResource`` and ``ssm:RemoveTagsFromResource``. For more information, see [Managing Access Using Policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/security-iam.html#security_iam_access-manage) in the *User Guide*.\n For information about valid values for parameters, see [Requirements and Constraints for Parameter Names](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-paramete\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"command\",\n Type = AwsNative.Ssm.ParameterType.String,\n Value = \"date\",\n Description = \"SSM Parameter for running date command.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n Tags = \n {\n { \"environment\", \"DEV\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"command\"),\n\t\t\tType: ssm.ParameterTypeString,\n\t\t\tValue: pulumi.String(\"date\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter for running date command.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t\tTags: pulumi.Any{\n\t\t\t\tEnvironment: \"DEV\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"command\",\n type: aws_native.ssm.ParameterType.String,\n value: \"date\",\n description: \"SSM Parameter for running date command.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n tags: {\n environment: \"DEV\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"command\",\n type=aws_native.ssm.ParameterType.STRING,\n value=\"date\",\n description=\"SSM Parameter for running date command.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\",\n tags={\n \"environment\": \"DEV\",\n })\n\n```\n\n{{% /example %}}\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"command\",\n Type = AwsNative.Ssm.ParameterType.String,\n Value = \"date\",\n Description = \"SSM Parameter for running date command.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n Tags = \n {\n { \"environment\", \"DEV\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"command\"),\n\t\t\tType: ssm.ParameterTypeString,\n\t\t\tValue: pulumi.String(\"date\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter for running date command.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t\tTags: pulumi.Any{\n\t\t\t\tEnvironment: \"DEV\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"command\",\n type: aws_native.ssm.ParameterType.String,\n value: \"date\",\n description: \"SSM Parameter for running date command.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n tags: {\n environment: \"DEV\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"command\",\n type=aws_native.ssm.ParameterType.STRING,\n value=\"date\",\n description=\"SSM Parameter for running date command.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\",\n tags={\n \"environment\": \"DEV\",\n })\n\n```\n\n{{% /example %}}\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"commands\",\n Type = AwsNative.Ssm.ParameterType.StringList,\n Value = \"date,ls\",\n Description = \"SSM Parameter of type StringList.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"commands\"),\n\t\t\tType: ssm.ParameterTypeStringList,\n\t\t\tValue: pulumi.String(\"date,ls\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter of type StringList.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"commands\",\n type: aws_native.ssm.ParameterType.StringList,\n value: \"date,ls\",\n description: \"SSM Parameter of type StringList.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"commands\",\n type=aws_native.ssm.ParameterType.STRING_LIST,\n value=\"date,ls\",\n description=\"SSM Parameter of type StringList.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\")\n\n```\n\n{{% /example %}}\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"commands\",\n Type = AwsNative.Ssm.ParameterType.StringList,\n Value = \"date,ls\",\n Description = \"SSM Parameter of type StringList.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"commands\"),\n\t\t\tType: ssm.ParameterTypeStringList,\n\t\t\tValue: pulumi.String(\"date,ls\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter of type StringList.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"commands\",\n type: aws_native.ssm.ParameterType.StringList,\n value: \"date,ls\",\n description: \"SSM Parameter of type StringList.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"commands\",\n type=aws_native.ssm.ParameterType.STRING_LIST,\n value=\"date,ls\",\n description=\"SSM Parameter of type StringList.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\")\n\n```\n\n{{% /example %}}\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"command\",\n Type = AwsNative.Ssm.ParameterType.String,\n Value = \"date\",\n Tier = AwsNative.Ssm.ParameterTier.Advanced,\n Policies = \"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n Description = \"SSM Parameter for running date command.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n Tags = \n {\n { \"environment\", \"DEV\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"command\"),\n\t\t\tType: ssm.ParameterTypeString,\n\t\t\tValue: pulumi.String(\"date\"),\n\t\t\tTier: ssm.ParameterTierAdvanced,\n\t\t\tPolicies: pulumi.String(\"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter for running date command.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t\tTags: pulumi.Any{\n\t\t\t\tEnvironment: \"DEV\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"command\",\n type: aws_native.ssm.ParameterType.String,\n value: \"date\",\n tier: aws_native.ssm.ParameterTier.Advanced,\n policies: \"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n description: \"SSM Parameter for running date command.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n tags: {\n environment: \"DEV\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"command\",\n type=aws_native.ssm.ParameterType.STRING,\n value=\"date\",\n tier=aws_native.ssm.ParameterTier.ADVANCED,\n policies=\"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n description=\"SSM Parameter for running date command.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\",\n tags={\n \"environment\": \"DEV\",\n })\n\n```\n\n{{% /example %}}\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"command\",\n Type = AwsNative.Ssm.ParameterType.String,\n Value = \"date\",\n Tier = AwsNative.Ssm.ParameterTier.Advanced,\n Policies = \"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n Description = \"SSM Parameter for running date command.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n Tags = \n {\n { \"environment\", \"DEV\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"command\"),\n\t\t\tType: ssm.ParameterTypeString,\n\t\t\tValue: pulumi.String(\"date\"),\n\t\t\tTier: ssm.ParameterTierAdvanced,\n\t\t\tPolicies: pulumi.String(\"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter for running date command.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t\tTags: pulumi.Any{\n\t\t\t\tEnvironment: \"DEV\",\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"command\",\n type: aws_native.ssm.ParameterType.String,\n value: \"date\",\n tier: aws_native.ssm.ParameterTier.Advanced,\n policies: \"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n description: \"SSM Parameter for running date command.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n tags: {\n environment: \"DEV\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"command\",\n type=aws_native.ssm.ParameterType.STRING,\n value=\"date\",\n tier=aws_native.ssm.ParameterTier.ADVANCED,\n policies=\"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n description=\"SSM Parameter for running date command.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\",\n tags={\n \"environment\": \"DEV\",\n })\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", + "description": "The ``AWS::SSM::Parameter`` resource creates an SSM parameter in SYSlong Parameter Store.\n To create an SSM parameter, you must have the IAMlong (IAM) permissions ``ssm:PutParameter`` and ``ssm:AddTagsToResource``. On stack creation, CFNlong adds the following three tags to the parameter: ``aws:cloudformation:stack-name``, ``aws:cloudformation:logical-id``, and ``aws:cloudformation:stack-id``, in addition to any custom tags you specify.\n To add, update, or remove tags during stack update, you must have IAM permissions for both ``ssm:AddTagsToResource`` and ``ssm:RemoveTagsFromResource``. For more information, see [Managing Access Using Policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/security-iam.html#security_iam_access-manage) in the *User Guide*.\n For information about valid values for parameters, see [Requirements and Constraints for Parameter Names](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-paramete\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"command\",\n Type = AwsNative.Ssm.ParameterType.String,\n Value = \"date\",\n Description = \"SSM Parameter for running date command.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n Tags = \n {\n { \"environment\", \"DEV\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"command\"),\n\t\t\tType: ssm.ParameterTypeString,\n\t\t\tValue: pulumi.String(\"date\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter for running date command.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"DEV\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"command\",\n type: aws_native.ssm.ParameterType.String,\n value: \"date\",\n description: \"SSM Parameter for running date command.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n tags: {\n environment: \"DEV\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"command\",\n type=aws_native.ssm.ParameterType.STRING,\n value=\"date\",\n description=\"SSM Parameter for running date command.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\",\n tags={\n \"environment\": \"DEV\",\n })\n\n```\n\n{{% /example %}}\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"command\",\n Type = AwsNative.Ssm.ParameterType.String,\n Value = \"date\",\n Description = \"SSM Parameter for running date command.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n Tags = \n {\n { \"environment\", \"DEV\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"command\"),\n\t\t\tType: ssm.ParameterTypeString,\n\t\t\tValue: pulumi.String(\"date\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter for running date command.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"DEV\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"command\",\n type: aws_native.ssm.ParameterType.String,\n value: \"date\",\n description: \"SSM Parameter for running date command.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n tags: {\n environment: \"DEV\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"command\",\n type=aws_native.ssm.ParameterType.STRING,\n value=\"date\",\n description=\"SSM Parameter for running date command.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\",\n tags={\n \"environment\": \"DEV\",\n })\n\n```\n\n{{% /example %}}\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"commands\",\n Type = AwsNative.Ssm.ParameterType.StringList,\n Value = \"date,ls\",\n Description = \"SSM Parameter of type StringList.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"commands\"),\n\t\t\tType: ssm.ParameterTypeStringList,\n\t\t\tValue: pulumi.String(\"date,ls\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter of type StringList.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"commands\",\n type: aws_native.ssm.ParameterType.StringList,\n value: \"date,ls\",\n description: \"SSM Parameter of type StringList.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"commands\",\n type=aws_native.ssm.ParameterType.STRING_LIST,\n value=\"date,ls\",\n description=\"SSM Parameter of type StringList.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\")\n\n```\n\n{{% /example %}}\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"commands\",\n Type = AwsNative.Ssm.ParameterType.StringList,\n Value = \"date,ls\",\n Description = \"SSM Parameter of type StringList.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"commands\"),\n\t\t\tType: ssm.ParameterTypeStringList,\n\t\t\tValue: pulumi.String(\"date,ls\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter of type StringList.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"commands\",\n type: aws_native.ssm.ParameterType.StringList,\n value: \"date,ls\",\n description: \"SSM Parameter of type StringList.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"commands\",\n type=aws_native.ssm.ParameterType.STRING_LIST,\n value=\"date,ls\",\n description=\"SSM Parameter of type StringList.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\")\n\n```\n\n{{% /example %}}\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"command\",\n Type = AwsNative.Ssm.ParameterType.String,\n Value = \"date\",\n Tier = AwsNative.Ssm.ParameterTier.Advanced,\n Policies = \"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n Description = \"SSM Parameter for running date command.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n Tags = \n {\n { \"environment\", \"DEV\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"command\"),\n\t\t\tType: ssm.ParameterTypeString,\n\t\t\tValue: pulumi.String(\"date\"),\n\t\t\tTier: ssm.ParameterTierAdvanced,\n\t\t\tPolicies: pulumi.String(\"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter for running date command.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"DEV\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"command\",\n type: aws_native.ssm.ParameterType.String,\n value: \"date\",\n tier: aws_native.ssm.ParameterTier.Advanced,\n policies: \"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n description: \"SSM Parameter for running date command.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n tags: {\n environment: \"DEV\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"command\",\n type=aws_native.ssm.ParameterType.STRING,\n value=\"date\",\n tier=aws_native.ssm.ParameterTier.ADVANCED,\n policies=\"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n description=\"SSM Parameter for running date command.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\",\n tags={\n \"environment\": \"DEV\",\n })\n\n```\n\n{{% /example %}}\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 basicParameter = new AwsNative.Ssm.Parameter(\"basicParameter\", new()\n {\n Name = \"command\",\n Type = AwsNative.Ssm.ParameterType.String,\n Value = \"date\",\n Tier = AwsNative.Ssm.ParameterTier.Advanced,\n Policies = \"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n Description = \"SSM Parameter for running date command.\",\n AllowedPattern = \"^[a-zA-Z]{1,10}$\",\n Tags = \n {\n { \"environment\", \"DEV\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ssm.NewParameter(ctx, \"basicParameter\", \u0026ssm.ParameterArgs{\n\t\t\tName: pulumi.String(\"command\"),\n\t\t\tType: ssm.ParameterTypeString,\n\t\t\tValue: pulumi.String(\"date\"),\n\t\t\tTier: ssm.ParameterTierAdvanced,\n\t\t\tPolicies: pulumi.String(\"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\"),\n\t\t\tDescription: pulumi.String(\"SSM Parameter for running date command.\"),\n\t\t\tAllowedPattern: pulumi.String(\"^[a-zA-Z]{1,10}$\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"DEV\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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 basicParameter = new aws_native.ssm.Parameter(\"basicParameter\", {\n name: \"command\",\n type: aws_native.ssm.ParameterType.String,\n value: \"date\",\n tier: aws_native.ssm.ParameterTier.Advanced,\n policies: \"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n description: \"SSM Parameter for running date command.\",\n allowedPattern: \"^[a-zA-Z]{1,10}$\",\n tags: {\n environment: \"DEV\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nbasic_parameter = aws_native.ssm.Parameter(\"basicParameter\",\n name=\"command\",\n type=aws_native.ssm.ParameterType.STRING,\n value=\"date\",\n tier=aws_native.ssm.ParameterTier.ADVANCED,\n policies=\"[{\\\"Type\\\":\\\"Expiration\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Timestamp\\\":\\\"2020-05-13T00:00:00.000Z\\\"}},{\\\"Type\\\":\\\"ExpirationNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"Before\\\":\\\"5\\\",\\\"Unit\\\":\\\"Days\\\"}},{\\\"Type\\\":\\\"NoChangeNotification\\\",\\\"Version\\\":\\\"1.0\\\",\\\"Attributes\\\":{\\\"After\\\":\\\"60\\\",\\\"Unit\\\":\\\"Days\\\"}}]\",\n description=\"SSM Parameter for running date command.\",\n allowed_pattern=\"^[a-zA-Z]{1,10}$\",\n tags={\n \"environment\": \"DEV\",\n })\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "allowedPattern": { "type": "string", @@ -199499,7 +201005,10 @@ "description": "Information about the policies assigned to a parameter.\n [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter." }, "tier": { @@ -199542,7 +201051,10 @@ "description": "Information about the policies assigned to a parameter.\n [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter." }, "tier": { @@ -205182,11 +206694,17 @@ "description": "A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example." }, "requestModels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key)." }, "requestParameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "boolean" + }, "description": "A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates." }, "requestValidatorId": { @@ -205421,7 +206939,10 @@ "description": "Specifies whether active tracing with X-ray is enabled for the Stage." }, "variables": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#\u0026=,]+``." } } @@ -205579,7 +207100,10 @@ "description": "The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags. Each tag element is associated with a given resource." }, "version": { @@ -205750,7 +207274,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The collection of tags associated with a domain name." } } @@ -205975,7 +207502,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "This resource type use map for Tags, suggest to use List of Tag" }, "vpcLinkId": { @@ -206146,7 +207676,13 @@ "outputs": { "properties": { "actions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/types/aws-native:appconfig:ExtensionAction" + } + } }, "arn": { "type": "string" @@ -206159,7 +207695,10 @@ "type": "string" }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:appconfig:ExtensionParameter" + } }, "versionNumber": { "type": "integer" @@ -206191,7 +207730,10 @@ "type": "string" }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "resourceArn": { "type": "string" @@ -207405,7 +208947,10 @@ "description": "A description of the data catalog to be created. " }, "parameters": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. " }, "tags": { @@ -208125,7 +209670,10 @@ "type": "string" }, "backupPlanTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "versionId": { "type": "string" @@ -208177,7 +209725,10 @@ "type": "string" }, "backupVaultTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "lockConfiguration": { "$ref": "#/types/aws-native:backup:BackupVaultLockConfigurationType" @@ -209464,7 +211015,10 @@ } }, "parameters": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "parentId": { "type": "string" @@ -210900,7 +212454,10 @@ "$ref": "#/types/aws-native:codestarnotifications:NotificationRuleStatus" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "targets": { "type": "array", @@ -211012,10 +212569,16 @@ "type": "string" }, "roleMappings": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:cognito:IdentityPoolRoleAttachmentRoleMapping" + } }, "roles": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } } } @@ -211139,7 +212702,10 @@ "type": "string" }, "userPoolTags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "usernameAttributes": { "type": "array", @@ -219386,7 +220952,10 @@ "type": "string" }, "labels": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The Kubernetes labels to be applied to the nodes in the node group when they are created." }, "launchTemplate": { @@ -219402,7 +220971,10 @@ "description": "The scaling configuration details for the Auto Scaling group that is created for your node group." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency." }, "taints": { @@ -222825,7 +224397,10 @@ "type": "string" }, "tags": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } } } @@ -223856,7 +225431,10 @@ "description": "The distributions of the distribution configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." } } @@ -223964,7 +225542,10 @@ "description": "The status of the image pipeline." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags of this image pipeline." }, "workflows": { @@ -224050,7 +225631,10 @@ "description": "The logging configuration of the infrastructure configuration." }, "resourceTags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags attached to the resource created by Image Builder." }, "securityGroupIds": { @@ -224069,7 +225653,10 @@ "description": "The subnet ID of the infrastructure configuration." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the component." }, "terminateInstanceOnFailure": { @@ -224126,7 +225713,10 @@ "description": "The status of the lifecycle policy." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "The tags associated with the lifecycle policy." } } @@ -224591,7 +226181,10 @@ "type": "string" }, "tokenSigningPublicKeys": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } } } } @@ -225208,7 +226801,10 @@ "description": "A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here." }, "alertTargets": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iot:SecurityProfileAlertTarget" + }, "description": "Specifies the destinations to which alerts are sent." }, "behaviors": { @@ -226232,7 +227828,10 @@ "description": "The ARN of the component type." }, "compositeComponentTypes": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeCompositeComponentType" + }, "description": "An map of the composite component types in the component type. Each composite component type's key must be unique to this map." }, "creationDateTime": { @@ -226251,7 +227850,10 @@ "description": "Specifies the parent component type to extend." }, "functions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypeFunction" + }, "description": "a Map of functions in the component type. Each function's key must be unique to this map." }, "isAbstract": { @@ -226267,11 +227869,17 @@ "description": "A Boolean value that specifies whether an entity can have more than one component of this type." }, "propertyDefinitions": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyDefinition" + }, "description": "An map of the property definitions in the component type. Each property definition's key must be unique to this map." }, "propertyGroups": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:ComponentTypePropertyGroup" + }, "description": "An map of the property groups in the component type. Each property group's key must be unique to this map." }, "status": { @@ -226279,7 +227887,10 @@ "description": "The current status of the component type." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "updateDateTime": { @@ -226314,11 +227925,17 @@ "description": "The ARN of the entity." }, "components": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityComponent" + }, "description": "A map that sets information about a component type." }, "compositeComponents": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:iottwinmaker:EntityCompositeComponent" + }, "description": "A map that sets information about a composite component." }, "creationDateTime": { @@ -226346,7 +227963,10 @@ "description": "The current status of the entity." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "updateDateTime": { @@ -226400,15 +228020,24 @@ "description": "The description of the scene." }, "generatedSceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of generated scene metadata for the scene." }, "sceneMetadata": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair of scene metadata for the scene." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." }, "updateDateTime": { @@ -226493,7 +228122,10 @@ "description": "The ARN of the S3 bucket where resources associated with the workspace are stored." }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A map of key-value pairs to associate with a resource." }, "updateDateTime": { @@ -231707,7 +233339,10 @@ "$ref": "#/types/aws-native:msk:ClusterStorageMode" }, "tags": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "A key-value pair to associate with a resource." } } @@ -233766,7 +235401,10 @@ "$ref": "pulumi.json#/Any" }, "advancedOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "advancedSecurityOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainAdvancedSecurityOptionsInput" @@ -233793,7 +235431,10 @@ "type": "string" }, "domainEndpoints": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "type": "string" + } }, "ebsOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainEbsOptions" @@ -233811,7 +235452,10 @@ "type": "string" }, "logPublishingOptions": { - "$ref": "pulumi.json#/Any" + "type": "object", + "additionalProperties": { + "$ref": "#/types/aws-native:opensearchservice:DomainLogPublishingOption" + } }, "nodeToNodeEncryptionOptions": { "$ref": "#/types/aws-native:opensearchservice:DomainNodeToNodeEncryptionOptions" @@ -240265,7 +241909,10 @@ "type": "string" }, "outputs": { - "$ref": "pulumi.json#/Any", + "type": "object", + "additionalProperties": { + "type": "string" + }, "description": "List of key-value pair outputs." }, "pathId": { diff --git a/provider/pkg/schema/gen.go b/provider/pkg/schema/gen.go index 1c979bed8e..ae56c52539 100644 --- a/provider/pkg/schema/gen.go +++ b/provider/pkg/schema/gen.go @@ -1092,6 +1092,28 @@ func (ctx *context) propertyTypeSpec(parentName string, propSchema *jsschema.Sch } } + var mapType *jsschema.Schema + if propSchema.AdditionalProperties != nil { + mapType = propSchema.AdditionalProperties.Schema + } else if propSchema.PatternProperties != nil && len(propSchema.PatternProperties) == 1 { + // TODO: Capture pattern add add to documentation or even provider metadata for early validation feedback. + // https://github.com/pulumi/pulumi-aws-native/issues/1346 + for _, schema := range propSchema.PatternProperties { + mapType = schema + } + } + + if mapType != nil { + valueType, err := ctx.propertyTypeSpec(parentName+"Value", mapType) + if err != nil { + return nil, err + } + return &pschema.TypeSpec{ + Type: "object", + AdditionalProperties: valueType, + }, nil + } + // All other types. if len(propSchema.Type) > 0 { switch propSchema.Type[0] { diff --git a/sdk/dotnet/ApiGateway/GatewayResponse.cs b/sdk/dotnet/ApiGateway/GatewayResponse.cs index eab1031a72..d865571aa8 100644 --- a/sdk/dotnet/ApiGateway/GatewayResponse.cs +++ b/sdk/dotnet/ApiGateway/GatewayResponse.cs @@ -20,13 +20,13 @@ public partial class GatewayResponse : global::Pulumi.CustomResource /// Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. /// [Output("responseParameters")] - public Output ResponseParameters { get; private set; } = null!; + public Output?> ResponseParameters { get; private set; } = null!; /// /// Response templates of the GatewayResponse as a string-to-string map of key-value pairs. /// [Output("responseTemplates")] - public Output ResponseTemplates { get; private set; } = null!; + public Output?> ResponseTemplates { get; private set; } = null!; /// /// The response type of the associated GatewayResponse. @@ -96,17 +96,29 @@ public static GatewayResponse Get(string name, Input id, CustomResourceO public sealed class GatewayResponseArgs : global::Pulumi.ResourceArgs { + [Input("responseParameters")] + private InputMap? _responseParameters; + /// /// Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. /// - [Input("responseParameters")] - public Input? ResponseParameters { get; set; } + public InputMap ResponseParameters + { + get => _responseParameters ?? (_responseParameters = new InputMap()); + set => _responseParameters = value; + } + + [Input("responseTemplates")] + private InputMap? _responseTemplates; /// /// Response templates of the GatewayResponse as a string-to-string map of key-value pairs. /// - [Input("responseTemplates")] - public Input? ResponseTemplates { get; set; } + public InputMap ResponseTemplates + { + get => _responseTemplates ?? (_responseTemplates = new InputMap()); + set => _responseTemplates = value; + } /// /// The response type of the associated GatewayResponse. diff --git a/sdk/dotnet/ApiGateway/GetGatewayResponse.cs b/sdk/dotnet/ApiGateway/GetGatewayResponse.cs index 9ac64f051e..56611631e0 100644 --- a/sdk/dotnet/ApiGateway/GetGatewayResponse.cs +++ b/sdk/dotnet/ApiGateway/GetGatewayResponse.cs @@ -55,11 +55,11 @@ public sealed class GetGatewayResponseResult /// /// Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. /// - public readonly object? ResponseParameters; + public readonly ImmutableDictionary? ResponseParameters; /// /// Response templates of the GatewayResponse as a string-to-string map of key-value pairs. /// - public readonly object? ResponseTemplates; + public readonly ImmutableDictionary? ResponseTemplates; /// /// The HTTP status code for this GatewayResponse. /// @@ -69,9 +69,9 @@ public sealed class GetGatewayResponseResult private GetGatewayResponseResult( string? id, - object? responseParameters, + ImmutableDictionary? responseParameters, - object? responseTemplates, + ImmutableDictionary? responseTemplates, string? statusCode) { diff --git a/sdk/dotnet/ApiGateway/GetMethod.cs b/sdk/dotnet/ApiGateway/GetMethod.cs index d4724bae74..f4fc3356a2 100644 --- a/sdk/dotnet/ApiGateway/GetMethod.cs +++ b/sdk/dotnet/ApiGateway/GetMethod.cs @@ -113,11 +113,11 @@ public sealed class GetMethodResult /// /// A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). /// - public readonly object? RequestModels; + public readonly ImmutableDictionary? RequestModels; /// /// A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. /// - public readonly object? RequestParameters; + public readonly ImmutableDictionary? RequestParameters; /// /// The identifier of a RequestValidator for request validation. /// @@ -139,9 +139,9 @@ private GetMethodResult( string? operationName, - object? requestModels, + ImmutableDictionary? requestModels, - object? requestParameters, + ImmutableDictionary? requestParameters, string? requestValidatorId) { diff --git a/sdk/dotnet/ApiGateway/GetStage.cs b/sdk/dotnet/ApiGateway/GetStage.cs index 5abc327c12..61cefd36c9 100644 --- a/sdk/dotnet/ApiGateway/GetStage.cs +++ b/sdk/dotnet/ApiGateway/GetStage.cs @@ -116,7 +116,7 @@ public sealed class GetStageResult /// /// A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. /// - public readonly object? Variables; + public readonly ImmutableDictionary? Variables; [OutputConstructor] private GetStageResult( @@ -142,7 +142,7 @@ private GetStageResult( bool? tracingEnabled, - object? variables) + ImmutableDictionary? variables) { AccessLogSetting = accessLogSetting; CacheClusterEnabled = cacheClusterEnabled; diff --git a/sdk/dotnet/ApiGateway/Inputs/DeploymentCanarySettingArgs.cs b/sdk/dotnet/ApiGateway/Inputs/DeploymentCanarySettingArgs.cs index 03923eacea..c1243eef22 100644 --- a/sdk/dotnet/ApiGateway/Inputs/DeploymentCanarySettingArgs.cs +++ b/sdk/dotnet/ApiGateway/Inputs/DeploymentCanarySettingArgs.cs @@ -22,11 +22,17 @@ public sealed class DeploymentCanarySettingArgs : global::Pulumi.ResourceArgs [Input("percentTraffic")] public Input? PercentTraffic { get; set; } + [Input("stageVariableOverrides")] + private InputMap? _stageVariableOverrides; + /// /// 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. /// - [Input("stageVariableOverrides")] - public Input? StageVariableOverrides { get; set; } + public InputMap StageVariableOverrides + { + get => _stageVariableOverrides ?? (_stageVariableOverrides = new InputMap()); + set => _stageVariableOverrides = value; + } /// /// A Boolean flag to indicate whether the canary deployment uses the stage cache or not. diff --git a/sdk/dotnet/ApiGateway/Inputs/DeploymentCanarySettingsArgs.cs b/sdk/dotnet/ApiGateway/Inputs/DeploymentCanarySettingsArgs.cs index b82585b8c5..3815c0ace5 100644 --- a/sdk/dotnet/ApiGateway/Inputs/DeploymentCanarySettingsArgs.cs +++ b/sdk/dotnet/ApiGateway/Inputs/DeploymentCanarySettingsArgs.cs @@ -21,11 +21,17 @@ public sealed class DeploymentCanarySettingsArgs : global::Pulumi.ResourceArgs [Input("percentTraffic")] public Input? PercentTraffic { get; set; } + [Input("stageVariableOverrides")] + private InputMap? _stageVariableOverrides; + /// /// 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. /// - [Input("stageVariableOverrides")] - public Input? StageVariableOverrides { get; set; } + public InputMap StageVariableOverrides + { + get => _stageVariableOverrides ?? (_stageVariableOverrides = new InputMap()); + set => _stageVariableOverrides = value; + } /// /// A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. diff --git a/sdk/dotnet/ApiGateway/Inputs/DeploymentStageDescriptionArgs.cs b/sdk/dotnet/ApiGateway/Inputs/DeploymentStageDescriptionArgs.cs index 194b6f76f3..ed69eb76ea 100644 --- a/sdk/dotnet/ApiGateway/Inputs/DeploymentStageDescriptionArgs.cs +++ b/sdk/dotnet/ApiGateway/Inputs/DeploymentStageDescriptionArgs.cs @@ -136,11 +136,17 @@ public InputList Tags [Input("tracingEnabled")] public Input? TracingEnabled { get; set; } + [Input("variables")] + private InputMap? _variables; + /// /// 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-._~:/?#&=,]+``. /// - [Input("variables")] - public Input? Variables { get; set; } + public InputMap Variables + { + get => _variables ?? (_variables = new InputMap()); + set => _variables = value; + } public DeploymentStageDescriptionArgs() { diff --git a/sdk/dotnet/ApiGateway/Inputs/MethodIntegrationArgs.cs b/sdk/dotnet/ApiGateway/Inputs/MethodIntegrationArgs.cs index 0abefaad7d..023a610533 100644 --- a/sdk/dotnet/ApiGateway/Inputs/MethodIntegrationArgs.cs +++ b/sdk/dotnet/ApiGateway/Inputs/MethodIntegrationArgs.cs @@ -82,17 +82,29 @@ public InputList IntegrationResponses [Input("passthroughBehavior")] public Input? PassthroughBehavior { get; set; } + [Input("requestParameters")] + private InputMap? _requestParameters; + /// /// 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. /// - [Input("requestParameters")] - public Input? RequestParameters { get; set; } + public InputMap RequestParameters + { + get => _requestParameters ?? (_requestParameters = new InputMap()); + set => _requestParameters = value; + } + + [Input("requestTemplates")] + private InputMap? _requestTemplates; /// /// 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. /// - [Input("requestTemplates")] - public Input? RequestTemplates { get; set; } + public InputMap RequestTemplates + { + get => _requestTemplates ?? (_requestTemplates = new InputMap()); + set => _requestTemplates = value; + } /// /// Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. diff --git a/sdk/dotnet/ApiGateway/Inputs/MethodIntegrationResponseArgs.cs b/sdk/dotnet/ApiGateway/Inputs/MethodIntegrationResponseArgs.cs index b4d19339ac..b7b70dba79 100644 --- a/sdk/dotnet/ApiGateway/Inputs/MethodIntegrationResponseArgs.cs +++ b/sdk/dotnet/ApiGateway/Inputs/MethodIntegrationResponseArgs.cs @@ -22,17 +22,29 @@ public sealed class MethodIntegrationResponseArgs : global::Pulumi.ResourceArgs [Input("contentHandling")] public Input? ContentHandling { get; set; } + [Input("responseParameters")] + private InputMap? _responseParameters; + /// /// 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. /// - [Input("responseParameters")] - public Input? ResponseParameters { get; set; } + public InputMap ResponseParameters + { + get => _responseParameters ?? (_responseParameters = new InputMap()); + set => _responseParameters = value; + } + + [Input("responseTemplates")] + private InputMap? _responseTemplates; /// /// 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. /// - [Input("responseTemplates")] - public Input? ResponseTemplates { get; set; } + public InputMap ResponseTemplates + { + get => _responseTemplates ?? (_responseTemplates = new InputMap()); + set => _responseTemplates = value; + } /// /// 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 LAMlong function, the LAMlong function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. diff --git a/sdk/dotnet/ApiGateway/Inputs/MethodResponseArgs.cs b/sdk/dotnet/ApiGateway/Inputs/MethodResponseArgs.cs index f106874a2c..4a76ecd6bb 100644 --- a/sdk/dotnet/ApiGateway/Inputs/MethodResponseArgs.cs +++ b/sdk/dotnet/ApiGateway/Inputs/MethodResponseArgs.cs @@ -15,17 +15,29 @@ namespace Pulumi.AwsNative.ApiGateway.Inputs /// public sealed class MethodResponseArgs : global::Pulumi.ResourceArgs { + [Input("responseModels")] + private InputMap? _responseModels; + /// /// 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. /// - [Input("responseModels")] - public Input? ResponseModels { get; set; } + public InputMap ResponseModels + { + get => _responseModels ?? (_responseModels = new InputMap()); + set => _responseModels = value; + } + + [Input("responseParameters")] + private InputMap? _responseParameters; /// /// 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.) /// - [Input("responseParameters")] - public Input? ResponseParameters { get; set; } + public InputMap ResponseParameters + { + get => _responseParameters ?? (_responseParameters = new InputMap()); + set => _responseParameters = value; + } /// /// The method response's status code. diff --git a/sdk/dotnet/ApiGateway/Inputs/StageCanarySettingArgs.cs b/sdk/dotnet/ApiGateway/Inputs/StageCanarySettingArgs.cs index d4ff8a48ae..ac69b92782 100644 --- a/sdk/dotnet/ApiGateway/Inputs/StageCanarySettingArgs.cs +++ b/sdk/dotnet/ApiGateway/Inputs/StageCanarySettingArgs.cs @@ -27,11 +27,17 @@ public sealed class StageCanarySettingArgs : global::Pulumi.ResourceArgs [Input("percentTraffic")] public Input? PercentTraffic { get; set; } + [Input("stageVariableOverrides")] + private InputMap? _stageVariableOverrides; + /// /// 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. /// - [Input("stageVariableOverrides")] - public Input? StageVariableOverrides { get; set; } + public InputMap StageVariableOverrides + { + get => _stageVariableOverrides ?? (_stageVariableOverrides = new InputMap()); + set => _stageVariableOverrides = value; + } /// /// A Boolean flag to indicate whether the canary deployment uses the stage cache or not. diff --git a/sdk/dotnet/ApiGateway/Inputs/UsagePlanApiStageArgs.cs b/sdk/dotnet/ApiGateway/Inputs/UsagePlanApiStageArgs.cs index 09a64a56f7..6748a9b95c 100644 --- a/sdk/dotnet/ApiGateway/Inputs/UsagePlanApiStageArgs.cs +++ b/sdk/dotnet/ApiGateway/Inputs/UsagePlanApiStageArgs.cs @@ -27,11 +27,17 @@ public sealed class UsagePlanApiStageArgs : global::Pulumi.ResourceArgs [Input("stage")] public Input? Stage { get; set; } + [Input("throttle")] + private InputMap? _throttle; + /// /// Map containing method level throttling information for API stage in a usage plan. /// - [Input("throttle")] - public Input? Throttle { get; set; } + public InputMap Throttle + { + get => _throttle ?? (_throttle = new InputMap()); + set => _throttle = value; + } public UsagePlanApiStageArgs() { diff --git a/sdk/dotnet/ApiGateway/Method.cs b/sdk/dotnet/ApiGateway/Method.cs index 44121a219e..fdfd5a8902 100644 --- a/sdk/dotnet/ApiGateway/Method.cs +++ b/sdk/dotnet/ApiGateway/Method.cs @@ -68,13 +68,13 @@ public partial class Method : global::Pulumi.CustomResource /// A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). /// [Output("requestModels")] - public Output RequestModels { get; private set; } = null!; + public Output?> RequestModels { get; private set; } = null!; /// /// A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. /// [Output("requestParameters")] - public Output RequestParameters { get; private set; } = null!; + public Output?> RequestParameters { get; private set; } = null!; /// /// The identifier of a RequestValidator for request validation. @@ -206,17 +206,29 @@ public InputList MethodResponses [Input("operationName")] public Input? OperationName { get; set; } + [Input("requestModels")] + private InputMap? _requestModels; + /// /// A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). /// - [Input("requestModels")] - public Input? RequestModels { get; set; } + public InputMap RequestModels + { + get => _requestModels ?? (_requestModels = new InputMap()); + set => _requestModels = value; + } + + [Input("requestParameters")] + private InputMap? _requestParameters; /// /// A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. /// - [Input("requestParameters")] - public Input? RequestParameters { get; set; } + public InputMap RequestParameters + { + get => _requestParameters ?? (_requestParameters = new InputMap()); + set => _requestParameters = value; + } /// /// The identifier of a RequestValidator for request validation. diff --git a/sdk/dotnet/ApiGateway/Outputs/DeploymentCanarySetting.cs b/sdk/dotnet/ApiGateway/Outputs/DeploymentCanarySetting.cs index 869266ae23..ad9e1f755f 100644 --- a/sdk/dotnet/ApiGateway/Outputs/DeploymentCanarySetting.cs +++ b/sdk/dotnet/ApiGateway/Outputs/DeploymentCanarySetting.cs @@ -24,7 +24,7 @@ public sealed class DeploymentCanarySetting /// /// 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. /// - public readonly object? StageVariableOverrides; + public readonly ImmutableDictionary? StageVariableOverrides; /// /// A Boolean flag to indicate whether the canary deployment uses the stage cache or not. /// @@ -34,7 +34,7 @@ public sealed class DeploymentCanarySetting private DeploymentCanarySetting( double? percentTraffic, - object? stageVariableOverrides, + ImmutableDictionary? stageVariableOverrides, bool? useStageCache) { diff --git a/sdk/dotnet/ApiGateway/Outputs/DeploymentCanarySettings.cs b/sdk/dotnet/ApiGateway/Outputs/DeploymentCanarySettings.cs index 33766ffafa..df3bc6c52e 100644 --- a/sdk/dotnet/ApiGateway/Outputs/DeploymentCanarySettings.cs +++ b/sdk/dotnet/ApiGateway/Outputs/DeploymentCanarySettings.cs @@ -23,7 +23,7 @@ public sealed class DeploymentCanarySettings /// /// 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. /// - public readonly object? StageVariableOverrides; + public readonly ImmutableDictionary? StageVariableOverrides; /// /// A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. /// @@ -33,7 +33,7 @@ public sealed class DeploymentCanarySettings private DeploymentCanarySettings( double? percentTraffic, - object? stageVariableOverrides, + ImmutableDictionary? stageVariableOverrides, bool? useStageCache) { diff --git a/sdk/dotnet/ApiGateway/Outputs/DeploymentStageDescription.cs b/sdk/dotnet/ApiGateway/Outputs/DeploymentStageDescription.cs index eb854811c3..f94a8b125e 100644 --- a/sdk/dotnet/ApiGateway/Outputs/DeploymentStageDescription.cs +++ b/sdk/dotnet/ApiGateway/Outputs/DeploymentStageDescription.cs @@ -92,7 +92,7 @@ public sealed class DeploymentStageDescription /// /// 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-._~:/?#&=,]+``. /// - public readonly object? Variables; + public readonly ImmutableDictionary? Variables; [OutputConstructor] private DeploymentStageDescription( @@ -132,7 +132,7 @@ private DeploymentStageDescription( bool? tracingEnabled, - object? variables) + ImmutableDictionary? variables) { AccessLogSetting = accessLogSetting; CacheClusterEnabled = cacheClusterEnabled; diff --git a/sdk/dotnet/ApiGateway/Outputs/MethodIntegration.cs b/sdk/dotnet/ApiGateway/Outputs/MethodIntegration.cs index b071fe4f74..5ee7fa0235 100644 --- a/sdk/dotnet/ApiGateway/Outputs/MethodIntegration.cs +++ b/sdk/dotnet/ApiGateway/Outputs/MethodIntegration.cs @@ -56,11 +56,11 @@ public sealed class MethodIntegration /// /// 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. /// - public readonly object? RequestParameters; + public readonly ImmutableDictionary? RequestParameters; /// /// 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. /// - public readonly object? RequestTemplates; + public readonly ImmutableDictionary? RequestTemplates; /// /// Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. /// @@ -96,9 +96,9 @@ private MethodIntegration( Pulumi.AwsNative.ApiGateway.MethodIntegrationPassthroughBehavior? passthroughBehavior, - object? requestParameters, + ImmutableDictionary? requestParameters, - object? requestTemplates, + ImmutableDictionary? requestTemplates, int? timeoutInMillis, diff --git a/sdk/dotnet/ApiGateway/Outputs/MethodIntegrationResponse.cs b/sdk/dotnet/ApiGateway/Outputs/MethodIntegrationResponse.cs index 5447209618..ad71e76169 100644 --- a/sdk/dotnet/ApiGateway/Outputs/MethodIntegrationResponse.cs +++ b/sdk/dotnet/ApiGateway/Outputs/MethodIntegrationResponse.cs @@ -24,11 +24,11 @@ public sealed class MethodIntegrationResponse /// /// 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. /// - public readonly object? ResponseParameters; + public readonly ImmutableDictionary? ResponseParameters; /// /// 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. /// - public readonly object? ResponseTemplates; + public readonly ImmutableDictionary? ResponseTemplates; /// /// 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 LAMlong function, the LAMlong function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. /// @@ -42,9 +42,9 @@ public sealed class MethodIntegrationResponse private MethodIntegrationResponse( Pulumi.AwsNative.ApiGateway.MethodIntegrationResponseContentHandling? contentHandling, - object? responseParameters, + ImmutableDictionary? responseParameters, - object? responseTemplates, + ImmutableDictionary? responseTemplates, string? selectionPattern, diff --git a/sdk/dotnet/ApiGateway/Outputs/MethodResponse.cs b/sdk/dotnet/ApiGateway/Outputs/MethodResponse.cs index 7db78e2f71..7487f2e8ae 100644 --- a/sdk/dotnet/ApiGateway/Outputs/MethodResponse.cs +++ b/sdk/dotnet/ApiGateway/Outputs/MethodResponse.cs @@ -19,11 +19,11 @@ public sealed class MethodResponse /// /// 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. /// - public readonly object? ResponseModels; + public readonly ImmutableDictionary? ResponseModels; /// /// 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.) /// - public readonly object? ResponseParameters; + public readonly ImmutableDictionary? ResponseParameters; /// /// The method response's status code. /// @@ -31,9 +31,9 @@ public sealed class MethodResponse [OutputConstructor] private MethodResponse( - object? responseModels, + ImmutableDictionary? responseModels, - object? responseParameters, + ImmutableDictionary? responseParameters, string statusCode) { diff --git a/sdk/dotnet/ApiGateway/Outputs/StageCanarySetting.cs b/sdk/dotnet/ApiGateway/Outputs/StageCanarySetting.cs index dca7f2ac4a..cc621b9240 100644 --- a/sdk/dotnet/ApiGateway/Outputs/StageCanarySetting.cs +++ b/sdk/dotnet/ApiGateway/Outputs/StageCanarySetting.cs @@ -27,7 +27,7 @@ public sealed class StageCanarySetting /// /// 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. /// - public readonly object? StageVariableOverrides; + public readonly ImmutableDictionary? StageVariableOverrides; /// /// A Boolean flag to indicate whether the canary deployment uses the stage cache or not. /// @@ -39,7 +39,7 @@ private StageCanarySetting( double? percentTraffic, - object? stageVariableOverrides, + ImmutableDictionary? stageVariableOverrides, bool? useStageCache) { diff --git a/sdk/dotnet/ApiGateway/Outputs/UsagePlanApiStage.cs b/sdk/dotnet/ApiGateway/Outputs/UsagePlanApiStage.cs index df37c6410f..5b2bad57ad 100644 --- a/sdk/dotnet/ApiGateway/Outputs/UsagePlanApiStage.cs +++ b/sdk/dotnet/ApiGateway/Outputs/UsagePlanApiStage.cs @@ -27,7 +27,7 @@ public sealed class UsagePlanApiStage /// /// Map containing method level throttling information for API stage in a usage plan. /// - public readonly object? Throttle; + public readonly ImmutableDictionary? Throttle; [OutputConstructor] private UsagePlanApiStage( @@ -35,7 +35,7 @@ private UsagePlanApiStage( string? stage, - object? throttle) + ImmutableDictionary? throttle) { ApiId = apiId; Stage = stage; diff --git a/sdk/dotnet/ApiGateway/RestApi.cs b/sdk/dotnet/ApiGateway/RestApi.cs index e63dd6b80e..de42124e08 100644 --- a/sdk/dotnet/ApiGateway/RestApi.cs +++ b/sdk/dotnet/ApiGateway/RestApi.cs @@ -97,7 +97,7 @@ public partial class RestApi : global::Pulumi.CustomResource /// Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. /// [Output("parameters")] - public Output Parameters { get; private set; } = null!; + public Output?> Parameters { get; private set; } = null!; /// /// A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``. @@ -245,11 +245,17 @@ public InputList BinaryMediaTypes [Input("name")] public Input? Name { get; set; } + [Input("parameters")] + private InputMap? _parameters; + /// /// Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. /// - [Input("parameters")] - public Input? Parameters { get; set; } + public InputMap Parameters + { + get => _parameters ?? (_parameters = new InputMap()); + set => _parameters = value; + } /// /// A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``. diff --git a/sdk/dotnet/ApiGateway/Stage.cs b/sdk/dotnet/ApiGateway/Stage.cs index 9305b5eda2..48aff14ac3 100644 --- a/sdk/dotnet/ApiGateway/Stage.cs +++ b/sdk/dotnet/ApiGateway/Stage.cs @@ -97,7 +97,7 @@ public partial class Stage : global::Pulumi.CustomResource /// A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. /// [Output("variables")] - public Output Variables { get; private set; } = null!; + public Output?> Variables { get; private set; } = null!; /// @@ -239,11 +239,17 @@ public InputList Tags [Input("tracingEnabled")] public Input? TracingEnabled { get; set; } + [Input("variables")] + private InputMap? _variables; + /// /// A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. /// - [Input("variables")] - public Input? Variables { get; set; } + public InputMap Variables + { + get => _variables ?? (_variables = new InputMap()); + set => _variables = value; + } public StageArgs() { diff --git a/sdk/dotnet/ApiGatewayV2/Api.cs b/sdk/dotnet/ApiGatewayV2/Api.cs index f33d04ba49..243e1c8bc3 100644 --- a/sdk/dotnet/ApiGatewayV2/Api.cs +++ b/sdk/dotnet/ApiGatewayV2/Api.cs @@ -109,7 +109,7 @@ public partial class Api : global::Pulumi.CustomResource /// The collection of tags. Each tag element is associated with a given resource. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs. @@ -256,11 +256,17 @@ public sealed class ApiArgs : global::Pulumi.ResourceArgs [Input("routeSelectionExpression")] public Input? RouteSelectionExpression { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// The collection of tags. Each tag element is associated with a given resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs. diff --git a/sdk/dotnet/ApiGatewayV2/DomainName.cs b/sdk/dotnet/ApiGatewayV2/DomainName.cs index 01bd6813da..519da7e73c 100644 --- a/sdk/dotnet/ApiGatewayV2/DomainName.cs +++ b/sdk/dotnet/ApiGatewayV2/DomainName.cs @@ -44,7 +44,7 @@ public partial class DomainName : global::Pulumi.CustomResource /// The collection of tags associated with a domain name. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// @@ -119,11 +119,17 @@ public InputList DomainNameConfigurations [Input("mutualTlsAuthentication")] public Input? MutualTlsAuthentication { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// The collection of tags associated with a domain name. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } public DomainNameArgs() { diff --git a/sdk/dotnet/ApiGatewayV2/GetApi.cs b/sdk/dotnet/ApiGatewayV2/GetApi.cs index 9a55271e3a..be426bb9c5 100644 --- a/sdk/dotnet/ApiGatewayV2/GetApi.cs +++ b/sdk/dotnet/ApiGatewayV2/GetApi.cs @@ -80,7 +80,7 @@ public sealed class GetApiResult /// /// The collection of tags. Each tag element is associated with a given resource. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; /// /// A version identifier for the API. /// @@ -104,7 +104,7 @@ private GetApiResult( string? routeSelectionExpression, - object? tags, + ImmutableDictionary? tags, string? version) { diff --git a/sdk/dotnet/ApiGatewayV2/GetDomainName.cs b/sdk/dotnet/ApiGatewayV2/GetDomainName.cs index a4b51e09c4..95ee6777c4 100644 --- a/sdk/dotnet/ApiGatewayV2/GetDomainName.cs +++ b/sdk/dotnet/ApiGatewayV2/GetDomainName.cs @@ -72,7 +72,7 @@ public sealed class GetDomainNameResult /// /// The collection of tags associated with a domain name. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; [OutputConstructor] private GetDomainNameResult( @@ -84,7 +84,7 @@ private GetDomainNameResult( string? regionalHostedZoneId, - object? tags) + ImmutableDictionary? tags) { DomainNameConfigurations = domainNameConfigurations; MutualTlsAuthentication = mutualTlsAuthentication; diff --git a/sdk/dotnet/ApiGatewayV2/GetVpcLink.cs b/sdk/dotnet/ApiGatewayV2/GetVpcLink.cs index 496c018377..30bf62342e 100644 --- a/sdk/dotnet/ApiGatewayV2/GetVpcLink.cs +++ b/sdk/dotnet/ApiGatewayV2/GetVpcLink.cs @@ -55,14 +55,14 @@ public sealed class GetVpcLinkResult /// /// This resource type use map for Tags, suggest to use List of Tag /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; public readonly string? VpcLinkId; [OutputConstructor] private GetVpcLinkResult( string? name, - object? tags, + ImmutableDictionary? tags, string? vpcLinkId) { diff --git a/sdk/dotnet/ApiGatewayV2/VpcLink.cs b/sdk/dotnet/ApiGatewayV2/VpcLink.cs index 5a5a855d3e..3a49604970 100644 --- a/sdk/dotnet/ApiGatewayV2/VpcLink.cs +++ b/sdk/dotnet/ApiGatewayV2/VpcLink.cs @@ -28,7 +28,7 @@ public partial class VpcLink : global::Pulumi.CustomResource /// This resource type use map for Tags, suggest to use List of Tag /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; [Output("vpcLinkId")] public Output VpcLinkId { get; private set; } = null!; @@ -102,11 +102,17 @@ public InputList SubnetIds set => _subnetIds = value; } + [Input("tags")] + private InputMap? _tags; + /// /// This resource type use map for Tags, suggest to use List of Tag /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } public VpcLinkArgs() { diff --git a/sdk/dotnet/AppConfig/Extension.cs b/sdk/dotnet/AppConfig/Extension.cs index a33d66a033..7507a85f34 100644 --- a/sdk/dotnet/AppConfig/Extension.cs +++ b/sdk/dotnet/AppConfig/Extension.cs @@ -16,7 +16,7 @@ namespace Pulumi.AwsNative.AppConfig public partial class Extension : global::Pulumi.CustomResource { [Output("actions")] - public Output Actions { get; private set; } = null!; + public Output>> Actions { get; private set; } = null!; [Output("arn")] public Output Arn { get; private set; } = null!; @@ -37,7 +37,7 @@ public partial class Extension : global::Pulumi.CustomResource public Output Name { get; private set; } = null!; [Output("parameters")] - public Output Parameters { get; private set; } = null!; + public Output?> Parameters { get; private set; } = null!; /// /// An array of key-value tags to apply to this resource. @@ -99,7 +99,12 @@ public static Extension Get(string name, Input id, CustomResourceOptions public sealed class ExtensionArgs : global::Pulumi.ResourceArgs { [Input("actions", required: true)] - public Input Actions { get; set; } = null!; + private InputMap>? _actions; + public InputMap> Actions + { + get => _actions ?? (_actions = new InputMap>()); + set => _actions = value; + } /// /// Description of the extension. @@ -117,7 +122,12 @@ public sealed class ExtensionArgs : global::Pulumi.ResourceArgs public Input? Name { get; set; } [Input("parameters")] - public Input? Parameters { get; set; } + private InputMap? _parameters; + public InputMap Parameters + { + get => _parameters ?? (_parameters = new InputMap()); + set => _parameters = value; + } [Input("tags")] private InputList? _tags; diff --git a/sdk/dotnet/AppConfig/ExtensionAssociation.cs b/sdk/dotnet/AppConfig/ExtensionAssociation.cs index 408e49ca11..57910cbb5f 100644 --- a/sdk/dotnet/AppConfig/ExtensionAssociation.cs +++ b/sdk/dotnet/AppConfig/ExtensionAssociation.cs @@ -28,7 +28,7 @@ public partial class ExtensionAssociation : global::Pulumi.CustomResource public Output ExtensionVersionNumber { get; private set; } = null!; [Output("parameters")] - public Output Parameters { get; private set; } = null!; + public Output?> Parameters { get; private set; } = null!; [Output("resourceArn")] public Output ResourceArn { get; private set; } = null!; @@ -101,7 +101,12 @@ public sealed class ExtensionAssociationArgs : global::Pulumi.ResourceArgs public Input? ExtensionVersionNumber { get; set; } [Input("parameters")] - public Input? Parameters { get; set; } + private InputMap? _parameters; + public InputMap Parameters + { + get => _parameters ?? (_parameters = new InputMap()); + set => _parameters = value; + } [Input("resourceIdentifier")] public Input? ResourceIdentifier { get; set; } diff --git a/sdk/dotnet/AppConfig/GetExtension.cs b/sdk/dotnet/AppConfig/GetExtension.cs index 451847f2b4..cd5ed60ffe 100644 --- a/sdk/dotnet/AppConfig/GetExtension.cs +++ b/sdk/dotnet/AppConfig/GetExtension.cs @@ -51,19 +51,19 @@ public GetExtensionInvokeArgs() [OutputType] public sealed class GetExtensionResult { - public readonly object? Actions; + public readonly ImmutableDictionary>? Actions; public readonly string? Arn; /// /// Description of the extension. /// public readonly string? Description; public readonly string? Id; - public readonly object? Parameters; + public readonly ImmutableDictionary? Parameters; public readonly int? VersionNumber; [OutputConstructor] private GetExtensionResult( - object? actions, + ImmutableDictionary>? actions, string? arn, @@ -71,7 +71,7 @@ private GetExtensionResult( string? id, - object? parameters, + ImmutableDictionary? parameters, int? versionNumber) { diff --git a/sdk/dotnet/AppConfig/GetExtensionAssociation.cs b/sdk/dotnet/AppConfig/GetExtensionAssociation.cs index 7741a05f2d..ba3927a788 100644 --- a/sdk/dotnet/AppConfig/GetExtensionAssociation.cs +++ b/sdk/dotnet/AppConfig/GetExtensionAssociation.cs @@ -54,7 +54,7 @@ public sealed class GetExtensionAssociationResult public readonly string? Arn; public readonly string? ExtensionArn; public readonly string? Id; - public readonly object? Parameters; + public readonly ImmutableDictionary? Parameters; public readonly string? ResourceArn; [OutputConstructor] @@ -65,7 +65,7 @@ private GetExtensionAssociationResult( string? id, - object? parameters, + ImmutableDictionary? parameters, string? resourceArn) { diff --git a/sdk/dotnet/AppConfig/Inputs/ExtensionActionArgs.cs b/sdk/dotnet/AppConfig/Inputs/ExtensionActionArgs.cs new file mode 100644 index 0000000000..63b6557b81 --- /dev/null +++ b/sdk/dotnet/AppConfig/Inputs/ExtensionActionArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.AppConfig.Inputs +{ + + /// + /// An action for an extension to take at a specific action point. + /// + public sealed class ExtensionActionArgs : global::Pulumi.ResourceArgs + { + /// + /// The description of the extension Action. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The name of the extension action. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The ARN of the role for invoking the extension action. + /// + [Input("roleArn")] + public Input? RoleArn { get; set; } + + /// + /// The URI of the extension action. + /// + [Input("uri", required: true)] + public Input Uri { get; set; } = null!; + + public ExtensionActionArgs() + { + } + public static new ExtensionActionArgs Empty => new ExtensionActionArgs(); + } +} diff --git a/sdk/dotnet/AppConfig/Inputs/ExtensionParameterArgs.cs b/sdk/dotnet/AppConfig/Inputs/ExtensionParameterArgs.cs new file mode 100644 index 0000000000..7ee5d7623b --- /dev/null +++ b/sdk/dotnet/AppConfig/Inputs/ExtensionParameterArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.AppConfig.Inputs +{ + + /// + /// A parameter for the extension to send to a specific action. + /// + public sealed class ExtensionParameterArgs : global::Pulumi.ResourceArgs + { + /// + /// The description of the extension Parameter. + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("required", required: true)] + public Input Required { get; set; } = null!; + + public ExtensionParameterArgs() + { + } + public static new ExtensionParameterArgs Empty => new ExtensionParameterArgs(); + } +} diff --git a/sdk/dotnet/AppConfig/Outputs/ExtensionAction.cs b/sdk/dotnet/AppConfig/Outputs/ExtensionAction.cs new file mode 100644 index 0000000000..a28ab1ea06 --- /dev/null +++ b/sdk/dotnet/AppConfig/Outputs/ExtensionAction.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.AppConfig.Outputs +{ + + /// + /// An action for an extension to take at a specific action point. + /// + [OutputType] + public sealed class ExtensionAction + { + /// + /// The description of the extension Action. + /// + public readonly string? Description; + /// + /// The name of the extension action. + /// + public readonly string Name; + /// + /// The ARN of the role for invoking the extension action. + /// + public readonly string? RoleArn; + /// + /// The URI of the extension action. + /// + public readonly string Uri; + + [OutputConstructor] + private ExtensionAction( + string? description, + + string name, + + string? roleArn, + + string uri) + { + Description = description; + Name = name; + RoleArn = roleArn; + Uri = uri; + } + } +} diff --git a/sdk/dotnet/AppConfig/Outputs/ExtensionParameter.cs b/sdk/dotnet/AppConfig/Outputs/ExtensionParameter.cs new file mode 100644 index 0000000000..c7f6eb2e47 --- /dev/null +++ b/sdk/dotnet/AppConfig/Outputs/ExtensionParameter.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.AppConfig.Outputs +{ + + /// + /// A parameter for the extension to send to a specific action. + /// + [OutputType] + public sealed class ExtensionParameter + { + /// + /// The description of the extension Parameter. + /// + public readonly string? Description; + public readonly bool Required; + + [OutputConstructor] + private ExtensionParameter( + string? description, + + bool required) + { + Description = description; + Required = required; + } + } +} diff --git a/sdk/dotnet/AppIntegrations/Inputs/DataIntegrationFileConfigurationArgs.cs b/sdk/dotnet/AppIntegrations/Inputs/DataIntegrationFileConfigurationArgs.cs index 6e4bdc4cff..0332d6d472 100644 --- a/sdk/dotnet/AppIntegrations/Inputs/DataIntegrationFileConfigurationArgs.cs +++ b/sdk/dotnet/AppIntegrations/Inputs/DataIntegrationFileConfigurationArgs.cs @@ -15,11 +15,17 @@ namespace Pulumi.AwsNative.AppIntegrations.Inputs /// public sealed class DataIntegrationFileConfigurationArgs : global::Pulumi.ResourceArgs { + [Input("filters")] + private InputMap>? _filters; + /// /// Restrictions for what files should be pulled from the source. /// - [Input("filters")] - public Input? Filters { get; set; } + public InputMap> Filters + { + get => _filters ?? (_filters = new InputMap>()); + set => _filters = value; + } [Input("folders", required: true)] private InputList? _folders; diff --git a/sdk/dotnet/AppIntegrations/Outputs/DataIntegrationFileConfiguration.cs b/sdk/dotnet/AppIntegrations/Outputs/DataIntegrationFileConfiguration.cs index e7b30ae75c..7ffebd458e 100644 --- a/sdk/dotnet/AppIntegrations/Outputs/DataIntegrationFileConfiguration.cs +++ b/sdk/dotnet/AppIntegrations/Outputs/DataIntegrationFileConfiguration.cs @@ -19,7 +19,7 @@ public sealed class DataIntegrationFileConfiguration /// /// Restrictions for what files should be pulled from the source. /// - public readonly object? Filters; + public readonly ImmutableDictionary>? Filters; /// /// Identifiers for the source folders to pull all files from recursively. /// @@ -27,7 +27,7 @@ public sealed class DataIntegrationFileConfiguration [OutputConstructor] private DataIntegrationFileConfiguration( - object? filters, + ImmutableDictionary>? filters, ImmutableArray folders) { diff --git a/sdk/dotnet/Athena/DataCatalog.cs b/sdk/dotnet/Athena/DataCatalog.cs index ed2c6999eb..58632b3a11 100644 --- a/sdk/dotnet/Athena/DataCatalog.cs +++ b/sdk/dotnet/Athena/DataCatalog.cs @@ -31,7 +31,7 @@ public partial class DataCatalog : global::Pulumi.CustomResource /// Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. /// [Output("parameters")] - public Output Parameters { get; private set; } = null!; + public Output?> Parameters { get; private set; } = null!; /// /// A list of comma separated tags to add to the data catalog that is created. @@ -106,11 +106,17 @@ public sealed class DataCatalogArgs : global::Pulumi.ResourceArgs [Input("name")] public Input? Name { get; set; } + [Input("parameters")] + private InputMap? _parameters; + /// /// Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. /// - [Input("parameters")] - public Input? Parameters { get; set; } + public InputMap Parameters + { + get => _parameters ?? (_parameters = new InputMap()); + set => _parameters = value; + } [Input("tags")] private InputList? _tags; diff --git a/sdk/dotnet/Athena/GetDataCatalog.cs b/sdk/dotnet/Athena/GetDataCatalog.cs index cd8f57cd95..e70175321f 100644 --- a/sdk/dotnet/Athena/GetDataCatalog.cs +++ b/sdk/dotnet/Athena/GetDataCatalog.cs @@ -64,7 +64,7 @@ public sealed class GetDataCatalogResult /// /// Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. /// - public readonly object? Parameters; + public readonly ImmutableDictionary? Parameters; /// /// A list of comma separated tags to add to the data catalog that is created. /// @@ -78,7 +78,7 @@ public sealed class GetDataCatalogResult private GetDataCatalogResult( string? description, - object? parameters, + ImmutableDictionary? parameters, ImmutableArray tags, diff --git a/sdk/dotnet/Backup/BackupPlan.cs b/sdk/dotnet/Backup/BackupPlan.cs index 946766fefa..7cb3be0975 100644 --- a/sdk/dotnet/Backup/BackupPlan.cs +++ b/sdk/dotnet/Backup/BackupPlan.cs @@ -25,7 +25,7 @@ public partial class BackupPlan : global::Pulumi.CustomResource public Output BackupPlanId { get; private set; } = null!; [Output("backupPlanTags")] - public Output BackupPlanTags { get; private set; } = null!; + public Output?> BackupPlanTags { get; private set; } = null!; [Output("versionId")] public Output VersionId { get; private set; } = null!; @@ -79,7 +79,12 @@ public sealed class BackupPlanArgs : global::Pulumi.ResourceArgs public Input BackupPlanValue { get; set; } = null!; [Input("backupPlanTags")] - public Input? BackupPlanTags { get; set; } + private InputMap? _backupPlanTags; + public InputMap BackupPlanTags + { + get => _backupPlanTags ?? (_backupPlanTags = new InputMap()); + set => _backupPlanTags = value; + } public BackupPlanArgs() { diff --git a/sdk/dotnet/Backup/BackupVault.cs b/sdk/dotnet/Backup/BackupVault.cs index 9a3fe9f446..186edd486c 100644 --- a/sdk/dotnet/Backup/BackupVault.cs +++ b/sdk/dotnet/Backup/BackupVault.cs @@ -25,7 +25,7 @@ public partial class BackupVault : global::Pulumi.CustomResource public Output BackupVaultName { get; private set; } = null!; [Output("backupVaultTags")] - public Output BackupVaultTags { get; private set; } = null!; + public Output?> BackupVaultTags { get; private set; } = null!; [Output("encryptionKeyArn")] public Output EncryptionKeyArn { get; private set; } = null!; @@ -93,7 +93,12 @@ public sealed class BackupVaultArgs : global::Pulumi.ResourceArgs public Input? BackupVaultName { get; set; } [Input("backupVaultTags")] - public Input? BackupVaultTags { get; set; } + private InputMap? _backupVaultTags; + public InputMap BackupVaultTags + { + get => _backupVaultTags ?? (_backupVaultTags = new InputMap()); + set => _backupVaultTags = value; + } [Input("encryptionKeyArn")] public Input? EncryptionKeyArn { get; set; } diff --git a/sdk/dotnet/Backup/GetBackupPlan.cs b/sdk/dotnet/Backup/GetBackupPlan.cs index 486c7d99ae..1fbb08e8ea 100644 --- a/sdk/dotnet/Backup/GetBackupPlan.cs +++ b/sdk/dotnet/Backup/GetBackupPlan.cs @@ -54,7 +54,7 @@ public sealed class GetBackupPlanResult public readonly Outputs.BackupPlanResourceType? BackupPlanValue; public readonly string? BackupPlanArn; public readonly string? BackupPlanId; - public readonly object? BackupPlanTags; + public readonly ImmutableDictionary? BackupPlanTags; public readonly string? VersionId; [OutputConstructor] @@ -65,7 +65,7 @@ private GetBackupPlanResult( string? backupPlanId, - object? backupPlanTags, + ImmutableDictionary? backupPlanTags, string? versionId) { diff --git a/sdk/dotnet/Backup/GetBackupVault.cs b/sdk/dotnet/Backup/GetBackupVault.cs index 28b7b948fa..876ba89c3b 100644 --- a/sdk/dotnet/Backup/GetBackupVault.cs +++ b/sdk/dotnet/Backup/GetBackupVault.cs @@ -53,7 +53,7 @@ public sealed class GetBackupVaultResult { public readonly object? AccessPolicy; public readonly string? BackupVaultArn; - public readonly object? BackupVaultTags; + public readonly ImmutableDictionary? BackupVaultTags; public readonly Outputs.BackupVaultLockConfigurationType? LockConfiguration; public readonly Outputs.BackupVaultNotificationObjectType? Notifications; @@ -63,7 +63,7 @@ private GetBackupVaultResult( string? backupVaultArn, - object? backupVaultTags, + ImmutableDictionary? backupVaultTags, Outputs.BackupVaultLockConfigurationType? lockConfiguration, diff --git a/sdk/dotnet/Backup/Inputs/BackupPlanBackupRuleResourceTypeArgs.cs b/sdk/dotnet/Backup/Inputs/BackupPlanBackupRuleResourceTypeArgs.cs index 68af5055eb..82b109812d 100644 --- a/sdk/dotnet/Backup/Inputs/BackupPlanBackupRuleResourceTypeArgs.cs +++ b/sdk/dotnet/Backup/Inputs/BackupPlanBackupRuleResourceTypeArgs.cs @@ -30,7 +30,12 @@ public InputList CopyActions public Input? Lifecycle { get; set; } [Input("recoveryPointTags")] - public Input? RecoveryPointTags { get; set; } + private InputMap? _recoveryPointTags; + public InputMap RecoveryPointTags + { + get => _recoveryPointTags ?? (_recoveryPointTags = new InputMap()); + set => _recoveryPointTags = value; + } [Input("ruleName", required: true)] public Input RuleName { get; set; } = null!; diff --git a/sdk/dotnet/Backup/Outputs/BackupPlanBackupRuleResourceType.cs b/sdk/dotnet/Backup/Outputs/BackupPlanBackupRuleResourceType.cs index c51f733b0d..77fa1d960a 100644 --- a/sdk/dotnet/Backup/Outputs/BackupPlanBackupRuleResourceType.cs +++ b/sdk/dotnet/Backup/Outputs/BackupPlanBackupRuleResourceType.cs @@ -17,7 +17,7 @@ public sealed class BackupPlanBackupRuleResourceType public readonly ImmutableArray CopyActions; public readonly bool? EnableContinuousBackup; public readonly Outputs.BackupPlanLifecycleResourceType? Lifecycle; - public readonly object? RecoveryPointTags; + public readonly ImmutableDictionary? RecoveryPointTags; public readonly string RuleName; public readonly string? ScheduleExpression; public readonly string? ScheduleExpressionTimezone; @@ -34,7 +34,7 @@ private BackupPlanBackupRuleResourceType( Outputs.BackupPlanLifecycleResourceType? lifecycle, - object? recoveryPointTags, + ImmutableDictionary? recoveryPointTags, string ruleName, diff --git a/sdk/dotnet/Batch/ComputeEnvironment.cs b/sdk/dotnet/Batch/ComputeEnvironment.cs index 08d9eb9ff2..a6a8340483 100644 --- a/sdk/dotnet/Batch/ComputeEnvironment.cs +++ b/sdk/dotnet/Batch/ComputeEnvironment.cs @@ -40,7 +40,7 @@ public partial class ComputeEnvironment : global::Pulumi.CustomResource /// A key-value pair to associate with a resource. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; [Output("type")] public Output Type { get; private set; } = null!; @@ -79,7 +79,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? "computeEnvironmentName", "computeResources.spotIamFleetRole", "eksConfiguration", - "tags", + "tags.*", "type", }, }; @@ -122,11 +122,17 @@ public sealed class ComputeEnvironmentArgs : global::Pulumi.ResourceArgs [Input("state")] public Input? State { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// A key-value pair to associate with a resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/Batch/Inputs/ComputeEnvironmentComputeResourcesArgs.cs b/sdk/dotnet/Batch/Inputs/ComputeEnvironmentComputeResourcesArgs.cs index c06ddc257d..e5efe20ecd 100644 --- a/sdk/dotnet/Batch/Inputs/ComputeEnvironmentComputeResourcesArgs.cs +++ b/sdk/dotnet/Batch/Inputs/ComputeEnvironmentComputeResourcesArgs.cs @@ -77,11 +77,17 @@ public InputList Subnets set => _subnets = value; } + [Input("tags")] + private InputMap? _tags; + /// /// A key-value pair to associate with a resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/Batch/JobQueue.cs b/sdk/dotnet/Batch/JobQueue.cs index c8c7f96d1b..25ae621c1a 100644 --- a/sdk/dotnet/Batch/JobQueue.cs +++ b/sdk/dotnet/Batch/JobQueue.cs @@ -37,7 +37,7 @@ public partial class JobQueue : global::Pulumi.CustomResource /// A key-value pair to associate with a resource. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// @@ -65,7 +65,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? ReplaceOnChanges = { "jobQueueName", - "tags", + "tags.*", }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -109,11 +109,17 @@ public InputList ComputeEnvironmentO [Input("state")] public Input? State { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// A key-value pair to associate with a resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } public JobQueueArgs() { diff --git a/sdk/dotnet/Batch/Outputs/ComputeEnvironmentComputeResources.cs b/sdk/dotnet/Batch/Outputs/ComputeEnvironmentComputeResources.cs index 9cb2eb7b37..53bf3b5ade 100644 --- a/sdk/dotnet/Batch/Outputs/ComputeEnvironmentComputeResources.cs +++ b/sdk/dotnet/Batch/Outputs/ComputeEnvironmentComputeResources.cs @@ -31,7 +31,7 @@ public sealed class ComputeEnvironmentComputeResources /// /// A key-value pair to associate with a resource. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; public readonly string Type; public readonly bool? UpdateToLatestImageVersion; @@ -67,7 +67,7 @@ private ComputeEnvironmentComputeResources( ImmutableArray subnets, - object? tags, + ImmutableDictionary? tags, string type, diff --git a/sdk/dotnet/Batch/SchedulingPolicy.cs b/sdk/dotnet/Batch/SchedulingPolicy.cs index e4b91b7bcf..cf0c6a136c 100644 --- a/sdk/dotnet/Batch/SchedulingPolicy.cs +++ b/sdk/dotnet/Batch/SchedulingPolicy.cs @@ -31,7 +31,7 @@ public partial class SchedulingPolicy : global::Pulumi.CustomResource /// A key-value pair to associate with a resource. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// @@ -59,7 +59,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? ReplaceOnChanges = { "name", - "tags", + "tags.*", }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -92,11 +92,17 @@ public sealed class SchedulingPolicyArgs : global::Pulumi.ResourceArgs [Input("name")] public Input? Name { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// A key-value pair to associate with a resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } public SchedulingPolicyArgs() { diff --git a/sdk/dotnet/CloudFormation/GetStack.cs b/sdk/dotnet/CloudFormation/GetStack.cs index e8c5282796..4860654860 100644 --- a/sdk/dotnet/CloudFormation/GetStack.cs +++ b/sdk/dotnet/CloudFormation/GetStack.cs @@ -60,7 +60,7 @@ public sealed class GetStackResult public readonly string? LastUpdateTime; public readonly ImmutableArray NotificationArns; public readonly ImmutableArray Outputs; - public readonly object? Parameters; + public readonly ImmutableDictionary? Parameters; public readonly string? ParentId; public readonly string? RoleArn; public readonly string? RootId; @@ -92,7 +92,7 @@ private GetStackResult( ImmutableArray outputs, - object? parameters, + ImmutableDictionary? parameters, string? parentId, diff --git a/sdk/dotnet/CloudFormation/Stack.cs b/sdk/dotnet/CloudFormation/Stack.cs index 9ee9a02e36..99f9df7d6a 100644 --- a/sdk/dotnet/CloudFormation/Stack.cs +++ b/sdk/dotnet/CloudFormation/Stack.cs @@ -43,7 +43,7 @@ public partial class Stack : global::Pulumi.CustomResource public Output> Outputs { get; private set; } = null!; [Output("parameters")] - public Output Parameters { get; private set; } = null!; + public Output?> Parameters { get; private set; } = null!; [Output("parentId")] public Output ParentId { get; private set; } = null!; @@ -159,7 +159,12 @@ public InputList NotificationArns } [Input("parameters")] - public Input? Parameters { get; set; } + private InputMap? _parameters; + public InputMap Parameters + { + get => _parameters ?? (_parameters = new InputMap()); + set => _parameters = value; + } [Input("roleArn")] public Input? RoleArn { get; set; } diff --git a/sdk/dotnet/CodeStarNotifications/GetNotificationRule.cs b/sdk/dotnet/CodeStarNotifications/GetNotificationRule.cs index 571cc59f7a..4fa490754b 100644 --- a/sdk/dotnet/CodeStarNotifications/GetNotificationRule.cs +++ b/sdk/dotnet/CodeStarNotifications/GetNotificationRule.cs @@ -57,7 +57,7 @@ public sealed class GetNotificationRuleResult public readonly ImmutableArray EventTypeIds; public readonly string? Name; public readonly Pulumi.AwsNative.CodeStarNotifications.NotificationRuleStatus? Status; - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; public readonly ImmutableArray Targets; [OutputConstructor] @@ -74,7 +74,7 @@ private GetNotificationRuleResult( Pulumi.AwsNative.CodeStarNotifications.NotificationRuleStatus? status, - object? tags, + ImmutableDictionary? tags, ImmutableArray targets) { diff --git a/sdk/dotnet/CodeStarNotifications/NotificationRule.cs b/sdk/dotnet/CodeStarNotifications/NotificationRule.cs index 537bf2be24..1303c2ba19 100644 --- a/sdk/dotnet/CodeStarNotifications/NotificationRule.cs +++ b/sdk/dotnet/CodeStarNotifications/NotificationRule.cs @@ -40,7 +40,7 @@ public partial class NotificationRule : global::Pulumi.CustomResource public Output Status { get; private set; } = null!; [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; [Output("targetAddress")] public Output TargetAddress { get; private set; } = null!; @@ -124,7 +124,12 @@ public InputList EventTypeIds public Input? Status { get; set; } [Input("tags")] - public Input? Tags { get; set; } + private InputMap? _tags; + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } [Input("targetAddress")] public Input? TargetAddress { get; set; } diff --git a/sdk/dotnet/Cognito/GetIdentityPoolRoleAttachment.cs b/sdk/dotnet/Cognito/GetIdentityPoolRoleAttachment.cs index 45a6c24fc0..1d8560a2f9 100644 --- a/sdk/dotnet/Cognito/GetIdentityPoolRoleAttachment.cs +++ b/sdk/dotnet/Cognito/GetIdentityPoolRoleAttachment.cs @@ -52,16 +52,16 @@ public GetIdentityPoolRoleAttachmentInvokeArgs() public sealed class GetIdentityPoolRoleAttachmentResult { public readonly string? Id; - public readonly object? RoleMappings; - public readonly object? Roles; + public readonly ImmutableDictionary? RoleMappings; + public readonly ImmutableDictionary? Roles; [OutputConstructor] private GetIdentityPoolRoleAttachmentResult( string? id, - object? roleMappings, + ImmutableDictionary? roleMappings, - object? roles) + ImmutableDictionary? roles) { Id = id; RoleMappings = roleMappings; diff --git a/sdk/dotnet/Cognito/GetUserPool.cs b/sdk/dotnet/Cognito/GetUserPool.cs index 0ff179d71e..be9a5431e8 100644 --- a/sdk/dotnet/Cognito/GetUserPool.cs +++ b/sdk/dotnet/Cognito/GetUserPool.cs @@ -74,7 +74,7 @@ public sealed class GetUserPoolResult public readonly Outputs.UserPoolAddOns? UserPoolAddOns; public readonly string? UserPoolId; public readonly string? UserPoolName; - public readonly object? UserPoolTags; + public readonly ImmutableDictionary? UserPoolTags; public readonly ImmutableArray UsernameAttributes; public readonly Outputs.UserPoolUsernameConfiguration? UsernameConfiguration; public readonly Outputs.UserPoolVerificationMessageTemplate? VerificationMessageTemplate; @@ -127,7 +127,7 @@ private GetUserPoolResult( string? userPoolName, - object? userPoolTags, + ImmutableDictionary? userPoolTags, ImmutableArray usernameAttributes, diff --git a/sdk/dotnet/Cognito/IdentityPoolRoleAttachment.cs b/sdk/dotnet/Cognito/IdentityPoolRoleAttachment.cs index bb93563b37..faeb3d5801 100644 --- a/sdk/dotnet/Cognito/IdentityPoolRoleAttachment.cs +++ b/sdk/dotnet/Cognito/IdentityPoolRoleAttachment.cs @@ -19,10 +19,10 @@ public partial class IdentityPoolRoleAttachment : global::Pulumi.CustomResource public Output IdentityPoolId { get; private set; } = null!; [Output("roleMappings")] - public Output RoleMappings { get; private set; } = null!; + public Output?> RoleMappings { get; private set; } = null!; [Output("roles")] - public Output Roles { get; private set; } = null!; + public Output?> Roles { get; private set; } = null!; /// @@ -77,10 +77,20 @@ public sealed class IdentityPoolRoleAttachmentArgs : global::Pulumi.ResourceArgs public Input IdentityPoolId { get; set; } = null!; [Input("roleMappings")] - public Input? RoleMappings { get; set; } + private InputMap? _roleMappings; + public InputMap RoleMappings + { + get => _roleMappings ?? (_roleMappings = new InputMap()); + set => _roleMappings = value; + } [Input("roles")] - public Input? Roles { get; set; } + private InputMap? _roles; + public InputMap Roles + { + get => _roles ?? (_roles = new InputMap()); + set => _roles = value; + } public IdentityPoolRoleAttachmentArgs() { diff --git a/sdk/dotnet/Cognito/Inputs/IdentityPoolRoleAttachmentMappingRuleArgs.cs b/sdk/dotnet/Cognito/Inputs/IdentityPoolRoleAttachmentMappingRuleArgs.cs new file mode 100644 index 0000000000..d4799ac973 --- /dev/null +++ b/sdk/dotnet/Cognito/Inputs/IdentityPoolRoleAttachmentMappingRuleArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Cognito.Inputs +{ + + public sealed class IdentityPoolRoleAttachmentMappingRuleArgs : global::Pulumi.ResourceArgs + { + [Input("claim", required: true)] + public Input Claim { get; set; } = null!; + + [Input("matchType", required: true)] + public Input MatchType { get; set; } = null!; + + [Input("roleArn", required: true)] + public Input RoleArn { get; set; } = null!; + + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public IdentityPoolRoleAttachmentMappingRuleArgs() + { + } + public static new IdentityPoolRoleAttachmentMappingRuleArgs Empty => new IdentityPoolRoleAttachmentMappingRuleArgs(); + } +} diff --git a/sdk/dotnet/Cognito/Inputs/IdentityPoolRoleAttachmentRoleMappingArgs.cs b/sdk/dotnet/Cognito/Inputs/IdentityPoolRoleAttachmentRoleMappingArgs.cs new file mode 100644 index 0000000000..c285b6654a --- /dev/null +++ b/sdk/dotnet/Cognito/Inputs/IdentityPoolRoleAttachmentRoleMappingArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Cognito.Inputs +{ + + public sealed class IdentityPoolRoleAttachmentRoleMappingArgs : global::Pulumi.ResourceArgs + { + [Input("ambiguousRoleResolution")] + public Input? AmbiguousRoleResolution { get; set; } + + [Input("identityProvider")] + public Input? IdentityProvider { get; set; } + + [Input("rulesConfiguration")] + public Input? RulesConfiguration { get; set; } + + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public IdentityPoolRoleAttachmentRoleMappingArgs() + { + } + public static new IdentityPoolRoleAttachmentRoleMappingArgs Empty => new IdentityPoolRoleAttachmentRoleMappingArgs(); + } +} diff --git a/sdk/dotnet/Cognito/Inputs/IdentityPoolRoleAttachmentRulesConfigurationTypeArgs.cs b/sdk/dotnet/Cognito/Inputs/IdentityPoolRoleAttachmentRulesConfigurationTypeArgs.cs new file mode 100644 index 0000000000..fce303483f --- /dev/null +++ b/sdk/dotnet/Cognito/Inputs/IdentityPoolRoleAttachmentRulesConfigurationTypeArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Cognito.Inputs +{ + + public sealed class IdentityPoolRoleAttachmentRulesConfigurationTypeArgs : global::Pulumi.ResourceArgs + { + [Input("rules", required: true)] + private InputList? _rules; + public InputList Rules + { + get => _rules ?? (_rules = new InputList()); + set => _rules = value; + } + + public IdentityPoolRoleAttachmentRulesConfigurationTypeArgs() + { + } + public static new IdentityPoolRoleAttachmentRulesConfigurationTypeArgs Empty => new IdentityPoolRoleAttachmentRulesConfigurationTypeArgs(); + } +} diff --git a/sdk/dotnet/Cognito/Outputs/IdentityPoolRoleAttachmentMappingRule.cs b/sdk/dotnet/Cognito/Outputs/IdentityPoolRoleAttachmentMappingRule.cs new file mode 100644 index 0000000000..c6d8be859b --- /dev/null +++ b/sdk/dotnet/Cognito/Outputs/IdentityPoolRoleAttachmentMappingRule.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Cognito.Outputs +{ + + [OutputType] + public sealed class IdentityPoolRoleAttachmentMappingRule + { + public readonly string Claim; + public readonly string MatchType; + public readonly string RoleArn; + public readonly string Value; + + [OutputConstructor] + private IdentityPoolRoleAttachmentMappingRule( + string claim, + + string matchType, + + string roleArn, + + string value) + { + Claim = claim; + MatchType = matchType; + RoleArn = roleArn; + Value = value; + } + } +} diff --git a/sdk/dotnet/Cognito/Outputs/IdentityPoolRoleAttachmentRoleMapping.cs b/sdk/dotnet/Cognito/Outputs/IdentityPoolRoleAttachmentRoleMapping.cs new file mode 100644 index 0000000000..c540452a27 --- /dev/null +++ b/sdk/dotnet/Cognito/Outputs/IdentityPoolRoleAttachmentRoleMapping.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Cognito.Outputs +{ + + [OutputType] + public sealed class IdentityPoolRoleAttachmentRoleMapping + { + public readonly string? AmbiguousRoleResolution; + public readonly string? IdentityProvider; + public readonly Outputs.IdentityPoolRoleAttachmentRulesConfigurationType? RulesConfiguration; + public readonly string Type; + + [OutputConstructor] + private IdentityPoolRoleAttachmentRoleMapping( + string? ambiguousRoleResolution, + + string? identityProvider, + + Outputs.IdentityPoolRoleAttachmentRulesConfigurationType? rulesConfiguration, + + string type) + { + AmbiguousRoleResolution = ambiguousRoleResolution; + IdentityProvider = identityProvider; + RulesConfiguration = rulesConfiguration; + Type = type; + } + } +} diff --git a/sdk/dotnet/Cognito/Outputs/IdentityPoolRoleAttachmentRulesConfigurationType.cs b/sdk/dotnet/Cognito/Outputs/IdentityPoolRoleAttachmentRulesConfigurationType.cs new file mode 100644 index 0000000000..e68f56bef3 --- /dev/null +++ b/sdk/dotnet/Cognito/Outputs/IdentityPoolRoleAttachmentRulesConfigurationType.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Cognito.Outputs +{ + + [OutputType] + public sealed class IdentityPoolRoleAttachmentRulesConfigurationType + { + public readonly ImmutableArray Rules; + + [OutputConstructor] + private IdentityPoolRoleAttachmentRulesConfigurationType(ImmutableArray rules) + { + Rules = rules; + } + } +} diff --git a/sdk/dotnet/Cognito/UserPool.cs b/sdk/dotnet/Cognito/UserPool.cs index 6913361cb7..b8551d1782 100644 --- a/sdk/dotnet/Cognito/UserPool.cs +++ b/sdk/dotnet/Cognito/UserPool.cs @@ -88,7 +88,7 @@ public partial class UserPool : global::Pulumi.CustomResource public Output UserPoolName { get; private set; } = null!; [Output("userPoolTags")] - public Output UserPoolTags { get; private set; } = null!; + public Output?> UserPoolTags { get; private set; } = null!; [Output("usernameAttributes")] public Output> UsernameAttributes { get; private set; } = null!; @@ -225,7 +225,12 @@ public InputList Schema public Input? UserPoolName { get; set; } [Input("userPoolTags")] - public Input? UserPoolTags { get; set; } + private InputMap? _userPoolTags; + public InputMap UserPoolTags + { + get => _userPoolTags ?? (_userPoolTags = new InputMap()); + set => _userPoolTags = value; + } [Input("usernameAttributes")] private InputList? _usernameAttributes; diff --git a/sdk/dotnet/Cognito/UserPoolUser.cs b/sdk/dotnet/Cognito/UserPoolUser.cs index 86d0d30d7c..5506aa6827 100644 --- a/sdk/dotnet/Cognito/UserPoolUser.cs +++ b/sdk/dotnet/Cognito/UserPoolUser.cs @@ -16,7 +16,7 @@ namespace Pulumi.AwsNative.Cognito public partial class UserPoolUser : global::Pulumi.CustomResource { [Output("clientMetadata")] - public Output ClientMetadata { get; private set; } = null!; + public Output?> ClientMetadata { get; private set; } = null!; [Output("desiredDeliveryMediums")] public Output> DesiredDeliveryMediums { get; private set; } = null!; @@ -64,7 +64,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, ReplaceOnChanges = { - "clientMetadata", + "clientMetadata.*", "desiredDeliveryMediums[*]", "forceAliasCreation", "messageAction", @@ -96,7 +96,12 @@ public static UserPoolUser Get(string name, Input id, CustomResourceOpti public sealed class UserPoolUserArgs : global::Pulumi.ResourceArgs { [Input("clientMetadata")] - public Input? ClientMetadata { get; set; } + private InputMap? _clientMetadata; + public InputMap ClientMetadata + { + get => _clientMetadata ?? (_clientMetadata = new InputMap()); + set => _clientMetadata = value; + } [Input("desiredDeliveryMediums")] private InputList? _desiredDeliveryMediums; diff --git a/sdk/dotnet/Ecs/Inputs/ServiceLogConfigurationArgs.cs b/sdk/dotnet/Ecs/Inputs/ServiceLogConfigurationArgs.cs index f1a4ee3ca5..49c0f8761f 100644 --- a/sdk/dotnet/Ecs/Inputs/ServiceLogConfigurationArgs.cs +++ b/sdk/dotnet/Ecs/Inputs/ServiceLogConfigurationArgs.cs @@ -16,7 +16,12 @@ public sealed class ServiceLogConfigurationArgs : global::Pulumi.ResourceArgs public Input? LogDriver { get; set; } [Input("options")] - public Input? Options { get; set; } + private InputMap? _options; + public InputMap Options + { + get => _options ?? (_options = new InputMap()); + set => _options = value; + } [Input("secretOptions")] private InputList? _secretOptions; diff --git a/sdk/dotnet/Ecs/Inputs/TaskDefinitionContainerDefinitionArgs.cs b/sdk/dotnet/Ecs/Inputs/TaskDefinitionContainerDefinitionArgs.cs index d0524d25fc..dda657f316 100644 --- a/sdk/dotnet/Ecs/Inputs/TaskDefinitionContainerDefinitionArgs.cs +++ b/sdk/dotnet/Ecs/Inputs/TaskDefinitionContainerDefinitionArgs.cs @@ -62,7 +62,12 @@ public InputList DnsServers } [Input("dockerLabels")] - public Input? DockerLabels { get; set; } + private InputMap? _dockerLabels; + public InputMap DockerLabels + { + get => _dockerLabels ?? (_dockerLabels = new InputMap()); + set => _dockerLabels = value; + } [Input("dockerSecurityOptions")] private InputList? _dockerSecurityOptions; diff --git a/sdk/dotnet/Ecs/Inputs/TaskDefinitionDockerVolumeConfigurationArgs.cs b/sdk/dotnet/Ecs/Inputs/TaskDefinitionDockerVolumeConfigurationArgs.cs index ad72d8400e..5a3f9f9d42 100644 --- a/sdk/dotnet/Ecs/Inputs/TaskDefinitionDockerVolumeConfigurationArgs.cs +++ b/sdk/dotnet/Ecs/Inputs/TaskDefinitionDockerVolumeConfigurationArgs.cs @@ -19,10 +19,20 @@ public sealed class TaskDefinitionDockerVolumeConfigurationArgs : global::Pulumi public Input? Driver { get; set; } [Input("driverOpts")] - public Input? DriverOpts { get; set; } + private InputMap? _driverOpts; + public InputMap DriverOpts + { + get => _driverOpts ?? (_driverOpts = new InputMap()); + set => _driverOpts = value; + } [Input("labels")] - public Input? Labels { get; set; } + private InputMap? _labels; + public InputMap Labels + { + get => _labels ?? (_labels = new InputMap()); + set => _labels = value; + } [Input("scope")] public Input? Scope { get; set; } diff --git a/sdk/dotnet/Ecs/Inputs/TaskDefinitionFirelensConfigurationArgs.cs b/sdk/dotnet/Ecs/Inputs/TaskDefinitionFirelensConfigurationArgs.cs index a381537ad9..fa3d843987 100644 --- a/sdk/dotnet/Ecs/Inputs/TaskDefinitionFirelensConfigurationArgs.cs +++ b/sdk/dotnet/Ecs/Inputs/TaskDefinitionFirelensConfigurationArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.Ecs.Inputs public sealed class TaskDefinitionFirelensConfigurationArgs : global::Pulumi.ResourceArgs { [Input("options")] - public Input? Options { get; set; } + private InputMap? _options; + public InputMap Options + { + get => _options ?? (_options = new InputMap()); + set => _options = value; + } [Input("type")] public Input? Type { get; set; } diff --git a/sdk/dotnet/Ecs/Inputs/TaskDefinitionLogConfigurationArgs.cs b/sdk/dotnet/Ecs/Inputs/TaskDefinitionLogConfigurationArgs.cs index 91fcf39ba1..b1e559d08d 100644 --- a/sdk/dotnet/Ecs/Inputs/TaskDefinitionLogConfigurationArgs.cs +++ b/sdk/dotnet/Ecs/Inputs/TaskDefinitionLogConfigurationArgs.cs @@ -16,7 +16,12 @@ public sealed class TaskDefinitionLogConfigurationArgs : global::Pulumi.Resource public Input LogDriver { get; set; } = null!; [Input("options")] - public Input? Options { get; set; } + private InputMap? _options; + public InputMap Options + { + get => _options ?? (_options = new InputMap()); + set => _options = value; + } [Input("secretOptions")] private InputList? _secretOptions; diff --git a/sdk/dotnet/Ecs/Outputs/ServiceLogConfiguration.cs b/sdk/dotnet/Ecs/Outputs/ServiceLogConfiguration.cs index dfb5b88969..2ec70c8300 100644 --- a/sdk/dotnet/Ecs/Outputs/ServiceLogConfiguration.cs +++ b/sdk/dotnet/Ecs/Outputs/ServiceLogConfiguration.cs @@ -14,14 +14,14 @@ namespace Pulumi.AwsNative.Ecs.Outputs public sealed class ServiceLogConfiguration { public readonly string? LogDriver; - public readonly object? Options; + public readonly ImmutableDictionary? Options; public readonly ImmutableArray SecretOptions; [OutputConstructor] private ServiceLogConfiguration( string? logDriver, - object? options, + ImmutableDictionary? options, ImmutableArray secretOptions) { diff --git a/sdk/dotnet/Ecs/Outputs/TaskDefinitionContainerDefinition.cs b/sdk/dotnet/Ecs/Outputs/TaskDefinitionContainerDefinition.cs index 9f98f70e24..a49b0a2da0 100644 --- a/sdk/dotnet/Ecs/Outputs/TaskDefinitionContainerDefinition.cs +++ b/sdk/dotnet/Ecs/Outputs/TaskDefinitionContainerDefinition.cs @@ -23,7 +23,7 @@ public sealed class TaskDefinitionContainerDefinition public readonly bool? DisableNetworking; public readonly ImmutableArray DnsSearchDomains; public readonly ImmutableArray DnsServers; - public readonly object? DockerLabels; + public readonly ImmutableDictionary? DockerLabels; public readonly ImmutableArray DockerSecurityOptions; public readonly ImmutableArray EntryPoint; /// @@ -91,7 +91,7 @@ private TaskDefinitionContainerDefinition( ImmutableArray dnsServers, - object? dockerLabels, + ImmutableDictionary? dockerLabels, ImmutableArray dockerSecurityOptions, diff --git a/sdk/dotnet/Ecs/Outputs/TaskDefinitionDockerVolumeConfiguration.cs b/sdk/dotnet/Ecs/Outputs/TaskDefinitionDockerVolumeConfiguration.cs index ba26aa5074..ea7471ac5f 100644 --- a/sdk/dotnet/Ecs/Outputs/TaskDefinitionDockerVolumeConfiguration.cs +++ b/sdk/dotnet/Ecs/Outputs/TaskDefinitionDockerVolumeConfiguration.cs @@ -15,8 +15,8 @@ public sealed class TaskDefinitionDockerVolumeConfiguration { public readonly bool? Autoprovision; public readonly string? Driver; - public readonly object? DriverOpts; - public readonly object? Labels; + public readonly ImmutableDictionary? DriverOpts; + public readonly ImmutableDictionary? Labels; public readonly string? Scope; [OutputConstructor] @@ -25,9 +25,9 @@ private TaskDefinitionDockerVolumeConfiguration( string? driver, - object? driverOpts, + ImmutableDictionary? driverOpts, - object? labels, + ImmutableDictionary? labels, string? scope) { diff --git a/sdk/dotnet/Ecs/Outputs/TaskDefinitionFirelensConfiguration.cs b/sdk/dotnet/Ecs/Outputs/TaskDefinitionFirelensConfiguration.cs index 2e3e6ba3ce..0dc8f878d9 100644 --- a/sdk/dotnet/Ecs/Outputs/TaskDefinitionFirelensConfiguration.cs +++ b/sdk/dotnet/Ecs/Outputs/TaskDefinitionFirelensConfiguration.cs @@ -13,12 +13,12 @@ namespace Pulumi.AwsNative.Ecs.Outputs [OutputType] public sealed class TaskDefinitionFirelensConfiguration { - public readonly object? Options; + public readonly ImmutableDictionary? Options; public readonly string? Type; [OutputConstructor] private TaskDefinitionFirelensConfiguration( - object? options, + ImmutableDictionary? options, string? type) { diff --git a/sdk/dotnet/Ecs/Outputs/TaskDefinitionLogConfiguration.cs b/sdk/dotnet/Ecs/Outputs/TaskDefinitionLogConfiguration.cs index ddc38bf4d5..ad210aca29 100644 --- a/sdk/dotnet/Ecs/Outputs/TaskDefinitionLogConfiguration.cs +++ b/sdk/dotnet/Ecs/Outputs/TaskDefinitionLogConfiguration.cs @@ -14,14 +14,14 @@ namespace Pulumi.AwsNative.Ecs.Outputs public sealed class TaskDefinitionLogConfiguration { public readonly string LogDriver; - public readonly object? Options; + public readonly ImmutableDictionary? Options; public readonly ImmutableArray SecretOptions; [OutputConstructor] private TaskDefinitionLogConfiguration( string logDriver, - object? options, + ImmutableDictionary? options, ImmutableArray secretOptions) { diff --git a/sdk/dotnet/Eks/GetNodegroup.cs b/sdk/dotnet/Eks/GetNodegroup.cs index bd60bdf40c..9573f76345 100644 --- a/sdk/dotnet/Eks/GetNodegroup.cs +++ b/sdk/dotnet/Eks/GetNodegroup.cs @@ -56,7 +56,7 @@ public sealed class GetNodegroupResult /// /// The Kubernetes labels to be applied to the nodes in the node group when they are created. /// - public readonly object? Labels; + public readonly ImmutableDictionary? Labels; /// /// An object representing a node group's launch template specification. /// @@ -72,7 +72,7 @@ public sealed class GetNodegroupResult /// /// The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; /// /// The Kubernetes taints to be applied to the nodes in the node group when they are created. /// @@ -92,7 +92,7 @@ private GetNodegroupResult( string? id, - object? labels, + ImmutableDictionary? labels, Outputs.NodegroupLaunchTemplateSpecification? launchTemplate, @@ -100,7 +100,7 @@ private GetNodegroupResult( Outputs.NodegroupScalingConfig? scalingConfig, - object? tags, + ImmutableDictionary? tags, ImmutableArray taints, diff --git a/sdk/dotnet/Eks/Nodegroup.cs b/sdk/dotnet/Eks/Nodegroup.cs index 5114cf4cbf..c6ab9c15a7 100644 --- a/sdk/dotnet/Eks/Nodegroup.cs +++ b/sdk/dotnet/Eks/Nodegroup.cs @@ -58,7 +58,7 @@ public partial class Nodegroup : global::Pulumi.CustomResource /// The Kubernetes labels to be applied to the nodes in the node group when they are created. /// [Output("labels")] - public Output Labels { get; private set; } = null!; + public Output?> Labels { get; private set; } = null!; /// /// An object representing a node group's launch template specification. @@ -106,7 +106,7 @@ public partial class Nodegroup : global::Pulumi.CustomResource /// The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The Kubernetes taints to be applied to the nodes in the node group when they are created. @@ -225,11 +225,17 @@ public InputList InstanceTypes set => _instanceTypes = value; } + [Input("labels")] + private InputMap? _labels; + /// /// The Kubernetes labels to be applied to the nodes in the node group when they are created. /// - [Input("labels")] - public Input? Labels { get; set; } + public InputMap Labels + { + get => _labels ?? (_labels = new InputMap()); + set => _labels = value; + } /// /// An object representing a node group's launch template specification. @@ -279,11 +285,17 @@ public InputList Subnets set => _subnets = value; } + [Input("tags")] + private InputMap? _tags; + /// /// The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } [Input("taints")] private InputList? _taints; diff --git a/sdk/dotnet/ElasticLoadBalancingV2/Inputs/ListenerRuleAuthenticateCognitoConfigArgs.cs b/sdk/dotnet/ElasticLoadBalancingV2/Inputs/ListenerRuleAuthenticateCognitoConfigArgs.cs index fe65e7f1eb..5ee21e7079 100644 --- a/sdk/dotnet/ElasticLoadBalancingV2/Inputs/ListenerRuleAuthenticateCognitoConfigArgs.cs +++ b/sdk/dotnet/ElasticLoadBalancingV2/Inputs/ListenerRuleAuthenticateCognitoConfigArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.ElasticLoadBalancingV2.Inputs public sealed class ListenerRuleAuthenticateCognitoConfigArgs : global::Pulumi.ResourceArgs { [Input("authenticationRequestExtraParams")] - public Input? AuthenticationRequestExtraParams { get; set; } + private InputMap? _authenticationRequestExtraParams; + public InputMap AuthenticationRequestExtraParams + { + get => _authenticationRequestExtraParams ?? (_authenticationRequestExtraParams = new InputMap()); + set => _authenticationRequestExtraParams = value; + } [Input("onUnauthenticatedRequest")] public Input? OnUnauthenticatedRequest { get; set; } diff --git a/sdk/dotnet/ElasticLoadBalancingV2/Inputs/ListenerRuleAuthenticateOidcConfigArgs.cs b/sdk/dotnet/ElasticLoadBalancingV2/Inputs/ListenerRuleAuthenticateOidcConfigArgs.cs index 7478bc71e0..cd63a070ff 100644 --- a/sdk/dotnet/ElasticLoadBalancingV2/Inputs/ListenerRuleAuthenticateOidcConfigArgs.cs +++ b/sdk/dotnet/ElasticLoadBalancingV2/Inputs/ListenerRuleAuthenticateOidcConfigArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.ElasticLoadBalancingV2.Inputs public sealed class ListenerRuleAuthenticateOidcConfigArgs : global::Pulumi.ResourceArgs { [Input("authenticationRequestExtraParams")] - public Input? AuthenticationRequestExtraParams { get; set; } + private InputMap? _authenticationRequestExtraParams; + public InputMap AuthenticationRequestExtraParams + { + get => _authenticationRequestExtraParams ?? (_authenticationRequestExtraParams = new InputMap()); + set => _authenticationRequestExtraParams = value; + } [Input("authorizationEndpoint", required: true)] public Input AuthorizationEndpoint { get; set; } = null!; diff --git a/sdk/dotnet/ElasticLoadBalancingV2/Outputs/ListenerRuleAuthenticateCognitoConfig.cs b/sdk/dotnet/ElasticLoadBalancingV2/Outputs/ListenerRuleAuthenticateCognitoConfig.cs index 2a9a920037..959e271e2a 100644 --- a/sdk/dotnet/ElasticLoadBalancingV2/Outputs/ListenerRuleAuthenticateCognitoConfig.cs +++ b/sdk/dotnet/ElasticLoadBalancingV2/Outputs/ListenerRuleAuthenticateCognitoConfig.cs @@ -13,7 +13,7 @@ namespace Pulumi.AwsNative.ElasticLoadBalancingV2.Outputs [OutputType] public sealed class ListenerRuleAuthenticateCognitoConfig { - public readonly object? AuthenticationRequestExtraParams; + public readonly ImmutableDictionary? AuthenticationRequestExtraParams; public readonly string? OnUnauthenticatedRequest; public readonly string? Scope; public readonly string? SessionCookieName; @@ -24,7 +24,7 @@ public sealed class ListenerRuleAuthenticateCognitoConfig [OutputConstructor] private ListenerRuleAuthenticateCognitoConfig( - object? authenticationRequestExtraParams, + ImmutableDictionary? authenticationRequestExtraParams, string? onUnauthenticatedRequest, diff --git a/sdk/dotnet/ElasticLoadBalancingV2/Outputs/ListenerRuleAuthenticateOidcConfig.cs b/sdk/dotnet/ElasticLoadBalancingV2/Outputs/ListenerRuleAuthenticateOidcConfig.cs index 13f8c77e14..d197376101 100644 --- a/sdk/dotnet/ElasticLoadBalancingV2/Outputs/ListenerRuleAuthenticateOidcConfig.cs +++ b/sdk/dotnet/ElasticLoadBalancingV2/Outputs/ListenerRuleAuthenticateOidcConfig.cs @@ -13,7 +13,7 @@ namespace Pulumi.AwsNative.ElasticLoadBalancingV2.Outputs [OutputType] public sealed class ListenerRuleAuthenticateOidcConfig { - public readonly object? AuthenticationRequestExtraParams; + public readonly ImmutableDictionary? AuthenticationRequestExtraParams; public readonly string AuthorizationEndpoint; public readonly string ClientId; public readonly string? ClientSecret; @@ -28,7 +28,7 @@ public sealed class ListenerRuleAuthenticateOidcConfig [OutputConstructor] private ListenerRuleAuthenticateOidcConfig( - object? authenticationRequestExtraParams, + ImmutableDictionary? authenticationRequestExtraParams, string authorizationEndpoint, diff --git a/sdk/dotnet/EmrServerless/Inputs/ApplicationConfigurationObjectArgs.cs b/sdk/dotnet/EmrServerless/Inputs/ApplicationConfigurationObjectArgs.cs index 0866951575..e1f0770b02 100644 --- a/sdk/dotnet/EmrServerless/Inputs/ApplicationConfigurationObjectArgs.cs +++ b/sdk/dotnet/EmrServerless/Inputs/ApplicationConfigurationObjectArgs.cs @@ -30,7 +30,12 @@ public InputList Configurations } [Input("properties")] - public Input? Properties { get; set; } + private InputMap? _properties; + public InputMap Properties + { + get => _properties ?? (_properties = new InputMap()); + set => _properties = value; + } public ApplicationConfigurationObjectArgs() { diff --git a/sdk/dotnet/EmrServerless/Outputs/ApplicationConfigurationObject.cs b/sdk/dotnet/EmrServerless/Outputs/ApplicationConfigurationObject.cs index deff89dd74..0302101f76 100644 --- a/sdk/dotnet/EmrServerless/Outputs/ApplicationConfigurationObject.cs +++ b/sdk/dotnet/EmrServerless/Outputs/ApplicationConfigurationObject.cs @@ -21,7 +21,7 @@ public sealed class ApplicationConfigurationObject /// public readonly string Classification; public readonly ImmutableArray Configurations; - public readonly object? Properties; + public readonly ImmutableDictionary? Properties; [OutputConstructor] private ApplicationConfigurationObject( @@ -29,7 +29,7 @@ private ApplicationConfigurationObject( ImmutableArray configurations, - object? properties) + ImmutableDictionary? properties) { Classification = classification; Configurations = configurations; diff --git a/sdk/dotnet/EntityResolution/Inputs/IdMappingWorkflowProviderPropertiesArgs.cs b/sdk/dotnet/EntityResolution/Inputs/IdMappingWorkflowProviderPropertiesArgs.cs index ea0961aa6b..5d8d5bfcab 100644 --- a/sdk/dotnet/EntityResolution/Inputs/IdMappingWorkflowProviderPropertiesArgs.cs +++ b/sdk/dotnet/EntityResolution/Inputs/IdMappingWorkflowProviderPropertiesArgs.cs @@ -15,11 +15,17 @@ public sealed class IdMappingWorkflowProviderPropertiesArgs : global::Pulumi.Res [Input("intermediateSourceConfiguration")] public Input? IntermediateSourceConfiguration { get; set; } + [Input("providerConfiguration")] + private InputMap? _providerConfiguration; + /// /// Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format /// - [Input("providerConfiguration")] - public Input? ProviderConfiguration { get; set; } + public InputMap ProviderConfiguration + { + get => _providerConfiguration ?? (_providerConfiguration = new InputMap()); + set => _providerConfiguration = value; + } /// /// Arn of the Provider Service being used. diff --git a/sdk/dotnet/EntityResolution/Inputs/MatchingWorkflowProviderPropertiesArgs.cs b/sdk/dotnet/EntityResolution/Inputs/MatchingWorkflowProviderPropertiesArgs.cs index 78f738a93c..4a7c29ab31 100644 --- a/sdk/dotnet/EntityResolution/Inputs/MatchingWorkflowProviderPropertiesArgs.cs +++ b/sdk/dotnet/EntityResolution/Inputs/MatchingWorkflowProviderPropertiesArgs.cs @@ -15,11 +15,17 @@ public sealed class MatchingWorkflowProviderPropertiesArgs : global::Pulumi.Reso [Input("intermediateSourceConfiguration")] public Input? IntermediateSourceConfiguration { get; set; } + [Input("providerConfiguration")] + private InputMap? _providerConfiguration; + /// /// Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format /// - [Input("providerConfiguration")] - public Input? ProviderConfiguration { get; set; } + public InputMap ProviderConfiguration + { + get => _providerConfiguration ?? (_providerConfiguration = new InputMap()); + set => _providerConfiguration = value; + } /// /// Arn of the Provider service being used. diff --git a/sdk/dotnet/EntityResolution/Outputs/IdMappingWorkflowProviderProperties.cs b/sdk/dotnet/EntityResolution/Outputs/IdMappingWorkflowProviderProperties.cs index 5af7431866..41b711ae85 100644 --- a/sdk/dotnet/EntityResolution/Outputs/IdMappingWorkflowProviderProperties.cs +++ b/sdk/dotnet/EntityResolution/Outputs/IdMappingWorkflowProviderProperties.cs @@ -17,7 +17,7 @@ public sealed class IdMappingWorkflowProviderProperties /// /// Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format /// - public readonly object? ProviderConfiguration; + public readonly ImmutableDictionary? ProviderConfiguration; /// /// Arn of the Provider Service being used. /// @@ -27,7 +27,7 @@ public sealed class IdMappingWorkflowProviderProperties private IdMappingWorkflowProviderProperties( Outputs.IdMappingWorkflowIntermediateSourceConfiguration? intermediateSourceConfiguration, - object? providerConfiguration, + ImmutableDictionary? providerConfiguration, string providerServiceArn) { diff --git a/sdk/dotnet/EntityResolution/Outputs/MatchingWorkflowProviderProperties.cs b/sdk/dotnet/EntityResolution/Outputs/MatchingWorkflowProviderProperties.cs index 81c7585989..256d48a2fa 100644 --- a/sdk/dotnet/EntityResolution/Outputs/MatchingWorkflowProviderProperties.cs +++ b/sdk/dotnet/EntityResolution/Outputs/MatchingWorkflowProviderProperties.cs @@ -17,7 +17,7 @@ public sealed class MatchingWorkflowProviderProperties /// /// Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format /// - public readonly object? ProviderConfiguration; + public readonly ImmutableDictionary? ProviderConfiguration; /// /// Arn of the Provider service being used. /// @@ -27,7 +27,7 @@ public sealed class MatchingWorkflowProviderProperties private MatchingWorkflowProviderProperties( Outputs.MatchingWorkflowIntermediateSourceConfiguration? intermediateSourceConfiguration, - object? providerConfiguration, + ImmutableDictionary? providerConfiguration, string providerServiceArn) { diff --git a/sdk/dotnet/Events/Inputs/RuleHttpParametersArgs.cs b/sdk/dotnet/Events/Inputs/RuleHttpParametersArgs.cs index 18852534ce..17da952d11 100644 --- a/sdk/dotnet/Events/Inputs/RuleHttpParametersArgs.cs +++ b/sdk/dotnet/Events/Inputs/RuleHttpParametersArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.Events.Inputs public sealed class RuleHttpParametersArgs : global::Pulumi.ResourceArgs { [Input("headerParameters")] - public Input? HeaderParameters { get; set; } + private InputMap? _headerParameters; + public InputMap HeaderParameters + { + get => _headerParameters ?? (_headerParameters = new InputMap()); + set => _headerParameters = value; + } [Input("pathParameterValues")] private InputList? _pathParameterValues; @@ -24,7 +29,12 @@ public InputList PathParameterValues } [Input("queryStringParameters")] - public Input? QueryStringParameters { get; set; } + private InputMap? _queryStringParameters; + public InputMap QueryStringParameters + { + get => _queryStringParameters ?? (_queryStringParameters = new InputMap()); + set => _queryStringParameters = value; + } public RuleHttpParametersArgs() { diff --git a/sdk/dotnet/Events/Inputs/RuleInputTransformerArgs.cs b/sdk/dotnet/Events/Inputs/RuleInputTransformerArgs.cs index 45db99be1e..8fbff7f6d4 100644 --- a/sdk/dotnet/Events/Inputs/RuleInputTransformerArgs.cs +++ b/sdk/dotnet/Events/Inputs/RuleInputTransformerArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.Events.Inputs public sealed class RuleInputTransformerArgs : global::Pulumi.ResourceArgs { [Input("inputPathsMap")] - public Input? InputPathsMap { get; set; } + private InputMap? _inputPathsMap; + public InputMap InputPathsMap + { + get => _inputPathsMap ?? (_inputPathsMap = new InputMap()); + set => _inputPathsMap = value; + } [Input("inputTemplate", required: true)] public Input InputTemplate { get; set; } = null!; diff --git a/sdk/dotnet/Events/Outputs/RuleHttpParameters.cs b/sdk/dotnet/Events/Outputs/RuleHttpParameters.cs index dc8bcb2e15..962f3c5d4a 100644 --- a/sdk/dotnet/Events/Outputs/RuleHttpParameters.cs +++ b/sdk/dotnet/Events/Outputs/RuleHttpParameters.cs @@ -13,17 +13,17 @@ namespace Pulumi.AwsNative.Events.Outputs [OutputType] public sealed class RuleHttpParameters { - public readonly object? HeaderParameters; + public readonly ImmutableDictionary? HeaderParameters; public readonly ImmutableArray PathParameterValues; - public readonly object? QueryStringParameters; + public readonly ImmutableDictionary? QueryStringParameters; [OutputConstructor] private RuleHttpParameters( - object? headerParameters, + ImmutableDictionary? headerParameters, ImmutableArray pathParameterValues, - object? queryStringParameters) + ImmutableDictionary? queryStringParameters) { HeaderParameters = headerParameters; PathParameterValues = pathParameterValues; diff --git a/sdk/dotnet/Events/Outputs/RuleInputTransformer.cs b/sdk/dotnet/Events/Outputs/RuleInputTransformer.cs index 2c629e284f..066961c164 100644 --- a/sdk/dotnet/Events/Outputs/RuleInputTransformer.cs +++ b/sdk/dotnet/Events/Outputs/RuleInputTransformer.cs @@ -13,12 +13,12 @@ namespace Pulumi.AwsNative.Events.Outputs [OutputType] public sealed class RuleInputTransformer { - public readonly object? InputPathsMap; + public readonly ImmutableDictionary? InputPathsMap; public readonly string InputTemplate; [OutputConstructor] private RuleInputTransformer( - object? inputPathsMap, + ImmutableDictionary? inputPathsMap, string inputTemplate) { diff --git a/sdk/dotnet/Fis/ExperimentTemplate.cs b/sdk/dotnet/Fis/ExperimentTemplate.cs index eed1fc2e3d..daecc66095 100644 --- a/sdk/dotnet/Fis/ExperimentTemplate.cs +++ b/sdk/dotnet/Fis/ExperimentTemplate.cs @@ -34,7 +34,7 @@ public partial class ExperimentTemplate : global::Pulumi.CustomResource public Output> StopConditions { get; private set; } = null!; [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output> Tags { get; private set; } = null!; [Output("targets")] public Output Targets { get; private set; } = null!; @@ -64,7 +64,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, ReplaceOnChanges = { - "tags", + "tags.*", }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -112,7 +112,12 @@ public InputList StopConditions } [Input("tags", required: true)] - public Input Tags { get; set; } = null!; + private InputMap? _tags; + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } [Input("targets", required: true)] public Input Targets { get; set; } = null!; diff --git a/sdk/dotnet/GreengrassV2/Deployment.cs b/sdk/dotnet/GreengrassV2/Deployment.cs index 0631f9e146..3aabc630b5 100644 --- a/sdk/dotnet/GreengrassV2/Deployment.cs +++ b/sdk/dotnet/GreengrassV2/Deployment.cs @@ -16,7 +16,7 @@ namespace Pulumi.AwsNative.GreengrassV2 public partial class Deployment : global::Pulumi.CustomResource { [Output("components")] - public Output Components { get; private set; } = null!; + public Output?> Components { get; private set; } = null!; [Output("deploymentId")] public Output DeploymentId { get; private set; } = null!; @@ -34,7 +34,7 @@ public partial class Deployment : global::Pulumi.CustomResource public Output ParentTargetArn { get; private set; } = null!; [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; [Output("targetArn")] public Output TargetArn { get; private set; } = null!; @@ -64,7 +64,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, ReplaceOnChanges = { - "components", + "components.*", "deploymentName", "deploymentPolicies", "iotJobConfiguration", @@ -94,7 +94,12 @@ public static Deployment Get(string name, Input id, CustomResourceOption public sealed class DeploymentArgs : global::Pulumi.ResourceArgs { [Input("components")] - public Input? Components { get; set; } + private InputMap? _components; + public InputMap Components + { + get => _components ?? (_components = new InputMap()); + set => _components = value; + } [Input("deploymentName")] public Input? DeploymentName { get; set; } @@ -109,7 +114,12 @@ public sealed class DeploymentArgs : global::Pulumi.ResourceArgs public Input? ParentTargetArn { get; set; } [Input("tags")] - public Input? Tags { get; set; } + private InputMap? _tags; + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } [Input("targetArn", required: true)] public Input TargetArn { get; set; } = null!; diff --git a/sdk/dotnet/GreengrassV2/Enums.cs b/sdk/dotnet/GreengrassV2/Enums.cs index 6423aefcd4..4fd31390fe 100644 --- a/sdk/dotnet/GreengrassV2/Enums.cs +++ b/sdk/dotnet/GreengrassV2/Enums.cs @@ -7,6 +7,34 @@ namespace Pulumi.AwsNative.GreengrassV2 { + [EnumType] + public readonly struct ComponentVersionComponentDependencyRequirementDependencyType : IEquatable + { + private readonly string _value; + + private ComponentVersionComponentDependencyRequirementDependencyType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ComponentVersionComponentDependencyRequirementDependencyType Soft { get; } = new ComponentVersionComponentDependencyRequirementDependencyType("SOFT"); + public static ComponentVersionComponentDependencyRequirementDependencyType Hard { get; } = new ComponentVersionComponentDependencyRequirementDependencyType("HARD"); + + public static bool operator ==(ComponentVersionComponentDependencyRequirementDependencyType left, ComponentVersionComponentDependencyRequirementDependencyType right) => left.Equals(right); + public static bool operator !=(ComponentVersionComponentDependencyRequirementDependencyType left, ComponentVersionComponentDependencyRequirementDependencyType right) => !left.Equals(right); + + public static explicit operator string(ComponentVersionComponentDependencyRequirementDependencyType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ComponentVersionComponentDependencyRequirementDependencyType other && Equals(other); + public bool Equals(ComponentVersionComponentDependencyRequirementDependencyType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + [EnumType] public readonly struct ComponentVersionLambdaEventSourceType : IEquatable { diff --git a/sdk/dotnet/GreengrassV2/GetDeployment.cs b/sdk/dotnet/GreengrassV2/GetDeployment.cs index f571253cc5..d6a7d05c30 100644 --- a/sdk/dotnet/GreengrassV2/GetDeployment.cs +++ b/sdk/dotnet/GreengrassV2/GetDeployment.cs @@ -52,13 +52,13 @@ public GetDeploymentInvokeArgs() public sealed class GetDeploymentResult { public readonly string? DeploymentId; - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; [OutputConstructor] private GetDeploymentResult( string? deploymentId, - object? tags) + ImmutableDictionary? tags) { DeploymentId = deploymentId; Tags = tags; diff --git a/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionComponentDependencyRequirementArgs.cs b/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionComponentDependencyRequirementArgs.cs new file mode 100644 index 0000000000..d4a7c30289 --- /dev/null +++ b/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionComponentDependencyRequirementArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GreengrassV2.Inputs +{ + + public sealed class ComponentVersionComponentDependencyRequirementArgs : global::Pulumi.ResourceArgs + { + [Input("dependencyType")] + public Input? DependencyType { get; set; } + + [Input("versionRequirement")] + public Input? VersionRequirement { get; set; } + + public ComponentVersionComponentDependencyRequirementArgs() + { + } + public static new ComponentVersionComponentDependencyRequirementArgs Empty => new ComponentVersionComponentDependencyRequirementArgs(); + } +} diff --git a/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionComponentPlatformArgs.cs b/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionComponentPlatformArgs.cs index 6f469337d0..7ccddfca1c 100644 --- a/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionComponentPlatformArgs.cs +++ b/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionComponentPlatformArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.GreengrassV2.Inputs public sealed class ComponentVersionComponentPlatformArgs : global::Pulumi.ResourceArgs { [Input("attributes")] - public Input? Attributes { get; set; } + private InputMap? _attributes; + public InputMap Attributes + { + get => _attributes ?? (_attributes = new InputMap()); + set => _attributes = value; + } [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionLambdaExecutionParametersArgs.cs b/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionLambdaExecutionParametersArgs.cs index 0951e4f9b6..7b6b203847 100644 --- a/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionLambdaExecutionParametersArgs.cs +++ b/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionLambdaExecutionParametersArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.GreengrassV2.Inputs public sealed class ComponentVersionLambdaExecutionParametersArgs : global::Pulumi.ResourceArgs { [Input("environmentVariables")] - public Input? EnvironmentVariables { get; set; } + private InputMap? _environmentVariables; + public InputMap EnvironmentVariables + { + get => _environmentVariables ?? (_environmentVariables = new InputMap()); + set => _environmentVariables = value; + } [Input("eventSources")] private InputList? _eventSources; diff --git a/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionLambdaFunctionRecipeSourceArgs.cs b/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionLambdaFunctionRecipeSourceArgs.cs index 3fada8e056..47a8afb3cc 100644 --- a/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionLambdaFunctionRecipeSourceArgs.cs +++ b/sdk/dotnet/GreengrassV2/Inputs/ComponentVersionLambdaFunctionRecipeSourceArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.GreengrassV2.Inputs public sealed class ComponentVersionLambdaFunctionRecipeSourceArgs : global::Pulumi.ResourceArgs { [Input("componentDependencies")] - public Input? ComponentDependencies { get; set; } + private InputMap? _componentDependencies; + public InputMap ComponentDependencies + { + get => _componentDependencies ?? (_componentDependencies = new InputMap()); + set => _componentDependencies = value; + } [Input("componentLambdaParameters")] public Input? ComponentLambdaParameters { get; set; } diff --git a/sdk/dotnet/GreengrassV2/Inputs/DeploymentComponentConfigurationUpdateArgs.cs b/sdk/dotnet/GreengrassV2/Inputs/DeploymentComponentConfigurationUpdateArgs.cs new file mode 100644 index 0000000000..96c1a31585 --- /dev/null +++ b/sdk/dotnet/GreengrassV2/Inputs/DeploymentComponentConfigurationUpdateArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GreengrassV2.Inputs +{ + + public sealed class DeploymentComponentConfigurationUpdateArgs : global::Pulumi.ResourceArgs + { + [Input("merge")] + public Input? Merge { get; set; } + + [Input("reset")] + private InputList? _reset; + public InputList Reset + { + get => _reset ?? (_reset = new InputList()); + set => _reset = value; + } + + public DeploymentComponentConfigurationUpdateArgs() + { + } + public static new DeploymentComponentConfigurationUpdateArgs Empty => new DeploymentComponentConfigurationUpdateArgs(); + } +} diff --git a/sdk/dotnet/GreengrassV2/Inputs/DeploymentComponentDeploymentSpecificationArgs.cs b/sdk/dotnet/GreengrassV2/Inputs/DeploymentComponentDeploymentSpecificationArgs.cs new file mode 100644 index 0000000000..6bc07599e4 --- /dev/null +++ b/sdk/dotnet/GreengrassV2/Inputs/DeploymentComponentDeploymentSpecificationArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GreengrassV2.Inputs +{ + + public sealed class DeploymentComponentDeploymentSpecificationArgs : global::Pulumi.ResourceArgs + { + [Input("componentVersion")] + public Input? ComponentVersion { get; set; } + + [Input("configurationUpdate")] + public Input? ConfigurationUpdate { get; set; } + + [Input("runWith")] + public Input? RunWith { get; set; } + + public DeploymentComponentDeploymentSpecificationArgs() + { + } + public static new DeploymentComponentDeploymentSpecificationArgs Empty => new DeploymentComponentDeploymentSpecificationArgs(); + } +} diff --git a/sdk/dotnet/GreengrassV2/Inputs/DeploymentComponentRunWithArgs.cs b/sdk/dotnet/GreengrassV2/Inputs/DeploymentComponentRunWithArgs.cs new file mode 100644 index 0000000000..f3603b1142 --- /dev/null +++ b/sdk/dotnet/GreengrassV2/Inputs/DeploymentComponentRunWithArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GreengrassV2.Inputs +{ + + public sealed class DeploymentComponentRunWithArgs : global::Pulumi.ResourceArgs + { + [Input("posixUser")] + public Input? PosixUser { get; set; } + + [Input("systemResourceLimits")] + public Input? SystemResourceLimits { get; set; } + + [Input("windowsUser")] + public Input? WindowsUser { get; set; } + + public DeploymentComponentRunWithArgs() + { + } + public static new DeploymentComponentRunWithArgs Empty => new DeploymentComponentRunWithArgs(); + } +} diff --git a/sdk/dotnet/GreengrassV2/Inputs/DeploymentSystemResourceLimitsArgs.cs b/sdk/dotnet/GreengrassV2/Inputs/DeploymentSystemResourceLimitsArgs.cs new file mode 100644 index 0000000000..137960f609 --- /dev/null +++ b/sdk/dotnet/GreengrassV2/Inputs/DeploymentSystemResourceLimitsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GreengrassV2.Inputs +{ + + public sealed class DeploymentSystemResourceLimitsArgs : global::Pulumi.ResourceArgs + { + [Input("cpus")] + public Input? Cpus { get; set; } + + [Input("memory")] + public Input? Memory { get; set; } + + public DeploymentSystemResourceLimitsArgs() + { + } + public static new DeploymentSystemResourceLimitsArgs Empty => new DeploymentSystemResourceLimitsArgs(); + } +} diff --git a/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionComponentDependencyRequirement.cs b/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionComponentDependencyRequirement.cs new file mode 100644 index 0000000000..155432d4b3 --- /dev/null +++ b/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionComponentDependencyRequirement.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GreengrassV2.Outputs +{ + + [OutputType] + public sealed class ComponentVersionComponentDependencyRequirement + { + public readonly Pulumi.AwsNative.GreengrassV2.ComponentVersionComponentDependencyRequirementDependencyType? DependencyType; + public readonly string? VersionRequirement; + + [OutputConstructor] + private ComponentVersionComponentDependencyRequirement( + Pulumi.AwsNative.GreengrassV2.ComponentVersionComponentDependencyRequirementDependencyType? dependencyType, + + string? versionRequirement) + { + DependencyType = dependencyType; + VersionRequirement = versionRequirement; + } + } +} diff --git a/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionComponentPlatform.cs b/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionComponentPlatform.cs index c580e08db7..5c63b74137 100644 --- a/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionComponentPlatform.cs +++ b/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionComponentPlatform.cs @@ -13,12 +13,12 @@ namespace Pulumi.AwsNative.GreengrassV2.Outputs [OutputType] public sealed class ComponentVersionComponentPlatform { - public readonly object? Attributes; + public readonly ImmutableDictionary? Attributes; public readonly string? Name; [OutputConstructor] private ComponentVersionComponentPlatform( - object? attributes, + ImmutableDictionary? attributes, string? name) { diff --git a/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionLambdaExecutionParameters.cs b/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionLambdaExecutionParameters.cs index 17dafe963e..bd1f64a745 100644 --- a/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionLambdaExecutionParameters.cs +++ b/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionLambdaExecutionParameters.cs @@ -13,7 +13,7 @@ namespace Pulumi.AwsNative.GreengrassV2.Outputs [OutputType] public sealed class ComponentVersionLambdaExecutionParameters { - public readonly object? EnvironmentVariables; + public readonly ImmutableDictionary? EnvironmentVariables; public readonly ImmutableArray EventSources; public readonly ImmutableArray ExecArgs; public readonly Pulumi.AwsNative.GreengrassV2.ComponentVersionLambdaExecutionParametersInputPayloadEncodingType? InputPayloadEncodingType; @@ -27,7 +27,7 @@ public sealed class ComponentVersionLambdaExecutionParameters [OutputConstructor] private ComponentVersionLambdaExecutionParameters( - object? environmentVariables, + ImmutableDictionary? environmentVariables, ImmutableArray eventSources, diff --git a/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionLambdaFunctionRecipeSource.cs b/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionLambdaFunctionRecipeSource.cs index f7f0b4533d..cf1e402b39 100644 --- a/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionLambdaFunctionRecipeSource.cs +++ b/sdk/dotnet/GreengrassV2/Outputs/ComponentVersionLambdaFunctionRecipeSource.cs @@ -13,7 +13,7 @@ namespace Pulumi.AwsNative.GreengrassV2.Outputs [OutputType] public sealed class ComponentVersionLambdaFunctionRecipeSource { - public readonly object? ComponentDependencies; + public readonly ImmutableDictionary? ComponentDependencies; public readonly Outputs.ComponentVersionLambdaExecutionParameters? ComponentLambdaParameters; public readonly string? ComponentName; public readonly ImmutableArray ComponentPlatforms; @@ -22,7 +22,7 @@ public sealed class ComponentVersionLambdaFunctionRecipeSource [OutputConstructor] private ComponentVersionLambdaFunctionRecipeSource( - object? componentDependencies, + ImmutableDictionary? componentDependencies, Outputs.ComponentVersionLambdaExecutionParameters? componentLambdaParameters, diff --git a/sdk/dotnet/GreengrassV2/Outputs/DeploymentComponentConfigurationUpdate.cs b/sdk/dotnet/GreengrassV2/Outputs/DeploymentComponentConfigurationUpdate.cs new file mode 100644 index 0000000000..869ddf9bc1 --- /dev/null +++ b/sdk/dotnet/GreengrassV2/Outputs/DeploymentComponentConfigurationUpdate.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GreengrassV2.Outputs +{ + + [OutputType] + public sealed class DeploymentComponentConfigurationUpdate + { + public readonly string? Merge; + public readonly ImmutableArray Reset; + + [OutputConstructor] + private DeploymentComponentConfigurationUpdate( + string? merge, + + ImmutableArray reset) + { + Merge = merge; + Reset = reset; + } + } +} diff --git a/sdk/dotnet/GreengrassV2/Outputs/DeploymentComponentDeploymentSpecification.cs b/sdk/dotnet/GreengrassV2/Outputs/DeploymentComponentDeploymentSpecification.cs new file mode 100644 index 0000000000..a1ca62044a --- /dev/null +++ b/sdk/dotnet/GreengrassV2/Outputs/DeploymentComponentDeploymentSpecification.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GreengrassV2.Outputs +{ + + [OutputType] + public sealed class DeploymentComponentDeploymentSpecification + { + public readonly string? ComponentVersion; + public readonly Outputs.DeploymentComponentConfigurationUpdate? ConfigurationUpdate; + public readonly Outputs.DeploymentComponentRunWith? RunWith; + + [OutputConstructor] + private DeploymentComponentDeploymentSpecification( + string? componentVersion, + + Outputs.DeploymentComponentConfigurationUpdate? configurationUpdate, + + Outputs.DeploymentComponentRunWith? runWith) + { + ComponentVersion = componentVersion; + ConfigurationUpdate = configurationUpdate; + RunWith = runWith; + } + } +} diff --git a/sdk/dotnet/GreengrassV2/Outputs/DeploymentComponentRunWith.cs b/sdk/dotnet/GreengrassV2/Outputs/DeploymentComponentRunWith.cs new file mode 100644 index 0000000000..6f014973de --- /dev/null +++ b/sdk/dotnet/GreengrassV2/Outputs/DeploymentComponentRunWith.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GreengrassV2.Outputs +{ + + [OutputType] + public sealed class DeploymentComponentRunWith + { + public readonly string? PosixUser; + public readonly Outputs.DeploymentSystemResourceLimits? SystemResourceLimits; + public readonly string? WindowsUser; + + [OutputConstructor] + private DeploymentComponentRunWith( + string? posixUser, + + Outputs.DeploymentSystemResourceLimits? systemResourceLimits, + + string? windowsUser) + { + PosixUser = posixUser; + SystemResourceLimits = systemResourceLimits; + WindowsUser = windowsUser; + } + } +} diff --git a/sdk/dotnet/GreengrassV2/Outputs/DeploymentSystemResourceLimits.cs b/sdk/dotnet/GreengrassV2/Outputs/DeploymentSystemResourceLimits.cs new file mode 100644 index 0000000000..f6cfeec002 --- /dev/null +++ b/sdk/dotnet/GreengrassV2/Outputs/DeploymentSystemResourceLimits.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GreengrassV2.Outputs +{ + + [OutputType] + public sealed class DeploymentSystemResourceLimits + { + public readonly double? Cpus; + public readonly int? Memory; + + [OutputConstructor] + private DeploymentSystemResourceLimits( + double? cpus, + + int? memory) + { + Cpus = cpus; + Memory = memory; + } + } +} diff --git a/sdk/dotnet/GuardDuty/Inputs/FilterConditionArgs.cs b/sdk/dotnet/GuardDuty/Inputs/FilterConditionArgs.cs new file mode 100644 index 0000000000..6e6da7efc1 --- /dev/null +++ b/sdk/dotnet/GuardDuty/Inputs/FilterConditionArgs.cs @@ -0,0 +1,76 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GuardDuty.Inputs +{ + + public sealed class FilterConditionArgs : global::Pulumi.ResourceArgs + { + [Input("eq")] + private InputList? _eq; + public InputList Eq + { + get => _eq ?? (_eq = new InputList()); + set => _eq = value; + } + + [Input("equals")] + private InputList? _equals; + public InputList Equals + { + get => _equals ?? (_equals = new InputList()); + set => _equals = value; + } + + [Input("greaterThan")] + public Input? GreaterThan { get; set; } + + [Input("greaterThanOrEqual")] + public Input? GreaterThanOrEqual { get; set; } + + [Input("gt")] + public Input? Gt { get; set; } + + [Input("gte")] + public Input? Gte { get; set; } + + [Input("lessThan")] + public Input? LessThan { get; set; } + + [Input("lessThanOrEqual")] + public Input? LessThanOrEqual { get; set; } + + [Input("lt")] + public Input? Lt { get; set; } + + [Input("lte")] + public Input? Lte { get; set; } + + [Input("neq")] + private InputList? _neq; + public InputList Neq + { + get => _neq ?? (_neq = new InputList()); + set => _neq = value; + } + + [Input("notEquals")] + private InputList? _notEquals; + public InputList NotEquals + { + get => _notEquals ?? (_notEquals = new InputList()); + set => _notEquals = value; + } + + public FilterConditionArgs() + { + } + public static new FilterConditionArgs Empty => new FilterConditionArgs(); + } +} diff --git a/sdk/dotnet/GuardDuty/Inputs/FilterFindingCriteriaArgs.cs b/sdk/dotnet/GuardDuty/Inputs/FilterFindingCriteriaArgs.cs index 42a1ae763f..06ab95a50e 100644 --- a/sdk/dotnet/GuardDuty/Inputs/FilterFindingCriteriaArgs.cs +++ b/sdk/dotnet/GuardDuty/Inputs/FilterFindingCriteriaArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.GuardDuty.Inputs public sealed class FilterFindingCriteriaArgs : global::Pulumi.ResourceArgs { [Input("criterion")] - public Input? Criterion { get; set; } + private InputMap? _criterion; + public InputMap Criterion + { + get => _criterion ?? (_criterion = new InputMap()); + set => _criterion = value; + } public FilterFindingCriteriaArgs() { diff --git a/sdk/dotnet/GuardDuty/Outputs/FilterCondition.cs b/sdk/dotnet/GuardDuty/Outputs/FilterCondition.cs new file mode 100644 index 0000000000..a0f2ff894f --- /dev/null +++ b/sdk/dotnet/GuardDuty/Outputs/FilterCondition.cs @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.GuardDuty.Outputs +{ + + [OutputType] + public sealed class FilterCondition + { + public readonly ImmutableArray Eq; + public readonly ImmutableArray Equals; + public readonly int? GreaterThan; + public readonly int? GreaterThanOrEqual; + public readonly int? Gt; + public readonly int? Gte; + public readonly int? LessThan; + public readonly int? LessThanOrEqual; + public readonly int? Lt; + public readonly int? Lte; + public readonly ImmutableArray Neq; + public readonly ImmutableArray NotEquals; + + [OutputConstructor] + private FilterCondition( + ImmutableArray eq, + + ImmutableArray equals, + + int? greaterThan, + + int? greaterThanOrEqual, + + int? gt, + + int? gte, + + int? lessThan, + + int? lessThanOrEqual, + + int? lt, + + int? lte, + + ImmutableArray neq, + + ImmutableArray notEquals) + { + Eq = eq; + Equals = equals; + GreaterThan = greaterThan; + GreaterThanOrEqual = greaterThanOrEqual; + Gt = gt; + Gte = gte; + LessThan = lessThan; + LessThanOrEqual = lessThanOrEqual; + Lt = lt; + Lte = lte; + Neq = neq; + NotEquals = notEquals; + } + } +} diff --git a/sdk/dotnet/GuardDuty/Outputs/FilterFindingCriteria.cs b/sdk/dotnet/GuardDuty/Outputs/FilterFindingCriteria.cs index ab50d2cf77..53e2bc67dd 100644 --- a/sdk/dotnet/GuardDuty/Outputs/FilterFindingCriteria.cs +++ b/sdk/dotnet/GuardDuty/Outputs/FilterFindingCriteria.cs @@ -13,10 +13,10 @@ namespace Pulumi.AwsNative.GuardDuty.Outputs [OutputType] public sealed class FilterFindingCriteria { - public readonly object? Criterion; + public readonly ImmutableDictionary? Criterion; [OutputConstructor] - private FilterFindingCriteria(object? criterion) + private FilterFindingCriteria(ImmutableDictionary? criterion) { Criterion = criterion; } diff --git a/sdk/dotnet/ImageBuilder/Component.cs b/sdk/dotnet/ImageBuilder/Component.cs index 872b016592..4ee19d0037 100644 --- a/sdk/dotnet/ImageBuilder/Component.cs +++ b/sdk/dotnet/ImageBuilder/Component.cs @@ -73,7 +73,7 @@ public partial class Component : global::Pulumi.CustomResource /// The tags associated with the component. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The type of the component denotes whether the component is used to build the image or only to test it. @@ -125,7 +125,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? "name", "platform", "supportedOsVersions[*]", - "tags", + "tags.*", "uri", "version", }, @@ -199,11 +199,17 @@ public InputList SupportedOsVersions set => _supportedOsVersions = value; } + [Input("tags")] + private InputMap? _tags; + /// /// The tags associated with the component. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// The uri of the component. diff --git a/sdk/dotnet/ImageBuilder/ContainerRecipe.cs b/sdk/dotnet/ImageBuilder/ContainerRecipe.cs index c4c190432e..53dd941e1d 100644 --- a/sdk/dotnet/ImageBuilder/ContainerRecipe.cs +++ b/sdk/dotnet/ImageBuilder/ContainerRecipe.cs @@ -91,7 +91,7 @@ public partial class ContainerRecipe : global::Pulumi.CustomResource /// Tags that are attached to the container recipe. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The destination repository for the container image. @@ -147,7 +147,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? "name", "parentImage", "platformOverride", - "tags", + "tags.*", "targetRepository", "version", "workingDirectory", @@ -246,11 +246,17 @@ public InputList Components [Input("platformOverride")] public Input? PlatformOverride { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// Tags that are attached to the container recipe. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// The destination repository for the container image. diff --git a/sdk/dotnet/ImageBuilder/DistributionConfiguration.cs b/sdk/dotnet/ImageBuilder/DistributionConfiguration.cs index 3a748e192f..56a69bee63 100644 --- a/sdk/dotnet/ImageBuilder/DistributionConfiguration.cs +++ b/sdk/dotnet/ImageBuilder/DistributionConfiguration.cs @@ -43,7 +43,7 @@ public partial class DistributionConfiguration : global::Pulumi.CustomResource /// The tags associated with the component. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// @@ -118,11 +118,17 @@ public InputList Distributions [Input("name")] public Input? Name { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// The tags associated with the component. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } public DistributionConfigurationArgs() { diff --git a/sdk/dotnet/ImageBuilder/GetDistributionConfiguration.cs b/sdk/dotnet/ImageBuilder/GetDistributionConfiguration.cs index ff2abcd11b..eb654e6839 100644 --- a/sdk/dotnet/ImageBuilder/GetDistributionConfiguration.cs +++ b/sdk/dotnet/ImageBuilder/GetDistributionConfiguration.cs @@ -72,7 +72,7 @@ public sealed class GetDistributionConfigurationResult /// /// The tags associated with the component. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; [OutputConstructor] private GetDistributionConfigurationResult( @@ -82,7 +82,7 @@ private GetDistributionConfigurationResult( ImmutableArray distributions, - object? tags) + ImmutableDictionary? tags) { Arn = arn; Description = description; diff --git a/sdk/dotnet/ImageBuilder/GetImagePipeline.cs b/sdk/dotnet/ImageBuilder/GetImagePipeline.cs index fe254c2f68..9b4c3e2d75 100644 --- a/sdk/dotnet/ImageBuilder/GetImagePipeline.cs +++ b/sdk/dotnet/ImageBuilder/GetImagePipeline.cs @@ -108,7 +108,7 @@ public sealed class GetImagePipelineResult /// /// The tags of this image pipeline. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; /// /// Workflows to define the image build process /// @@ -140,7 +140,7 @@ private GetImagePipelineResult( Pulumi.AwsNative.ImageBuilder.ImagePipelineStatus? status, - object? tags, + ImmutableDictionary? tags, ImmutableArray workflows) { diff --git a/sdk/dotnet/ImageBuilder/GetInfrastructureConfiguration.cs b/sdk/dotnet/ImageBuilder/GetInfrastructureConfiguration.cs index 87d629cccc..d82a7782da 100644 --- a/sdk/dotnet/ImageBuilder/GetInfrastructureConfiguration.cs +++ b/sdk/dotnet/ImageBuilder/GetInfrastructureConfiguration.cs @@ -88,7 +88,7 @@ public sealed class GetInfrastructureConfigurationResult /// /// The tags attached to the resource created by Image Builder. /// - public readonly object? ResourceTags; + public readonly ImmutableDictionary? ResourceTags; /// /// The security group IDs of the infrastructure configuration. /// @@ -104,7 +104,7 @@ public sealed class GetInfrastructureConfigurationResult /// /// The tags associated with the component. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; /// /// The terminate instance on failure configuration of the infrastructure configuration. /// @@ -126,7 +126,7 @@ private GetInfrastructureConfigurationResult( Outputs.InfrastructureConfigurationLogging? logging, - object? resourceTags, + ImmutableDictionary? resourceTags, ImmutableArray securityGroupIds, @@ -134,7 +134,7 @@ private GetInfrastructureConfigurationResult( string? subnetId, - object? tags, + ImmutableDictionary? tags, bool? terminateInstanceOnFailure) { diff --git a/sdk/dotnet/ImageBuilder/GetLifecyclePolicy.cs b/sdk/dotnet/ImageBuilder/GetLifecyclePolicy.cs index 99aaddc4f6..e2a1d1aa39 100644 --- a/sdk/dotnet/ImageBuilder/GetLifecyclePolicy.cs +++ b/sdk/dotnet/ImageBuilder/GetLifecyclePolicy.cs @@ -88,7 +88,7 @@ public sealed class GetLifecyclePolicyResult /// /// The tags associated with the lifecycle policy. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; [OutputConstructor] private GetLifecyclePolicyResult( @@ -106,7 +106,7 @@ private GetLifecyclePolicyResult( Pulumi.AwsNative.ImageBuilder.LifecyclePolicyStatus? status, - object? tags) + ImmutableDictionary? tags) { Arn = arn; Description = description; diff --git a/sdk/dotnet/ImageBuilder/Image.cs b/sdk/dotnet/ImageBuilder/Image.cs index edbd37c22d..93f776ec59 100644 --- a/sdk/dotnet/ImageBuilder/Image.cs +++ b/sdk/dotnet/ImageBuilder/Image.cs @@ -91,7 +91,7 @@ public partial class Image : global::Pulumi.CustomResource /// The tags associated with the image. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// Workflows to define the image build process @@ -131,7 +131,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? "imageScanningConfiguration", "imageTestsConfiguration", "infrastructureConfigurationArn", - "tags", + "tags.*", "workflows[*]", }, }; @@ -204,11 +204,17 @@ public sealed class ImageArgs : global::Pulumi.ResourceArgs [Input("infrastructureConfigurationArn")] public Input? InfrastructureConfigurationArn { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// The tags associated with the image. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } [Input("workflows")] private InputList? _workflows; diff --git a/sdk/dotnet/ImageBuilder/ImagePipeline.cs b/sdk/dotnet/ImageBuilder/ImagePipeline.cs index 5c70c1ebd2..511fe1cb67 100644 --- a/sdk/dotnet/ImageBuilder/ImagePipeline.cs +++ b/sdk/dotnet/ImageBuilder/ImagePipeline.cs @@ -97,7 +97,7 @@ public partial class ImagePipeline : global::Pulumi.CustomResource /// The tags of this image pipeline. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// Workflows to define the image build process @@ -226,11 +226,17 @@ public sealed class ImagePipelineArgs : global::Pulumi.ResourceArgs [Input("status")] public Input? Status { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// The tags of this image pipeline. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } [Input("workflows")] private InputList? _workflows; diff --git a/sdk/dotnet/ImageBuilder/ImageRecipe.cs b/sdk/dotnet/ImageBuilder/ImageRecipe.cs index d26f14f3ff..6f00ce3b06 100644 --- a/sdk/dotnet/ImageBuilder/ImageRecipe.cs +++ b/sdk/dotnet/ImageBuilder/ImageRecipe.cs @@ -61,7 +61,7 @@ public partial class ImageRecipe : global::Pulumi.CustomResource /// The tags of the image recipe. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The version of the image recipe. @@ -105,7 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? "description", "name", "parentImage", - "tags", + "tags.*", "version", "workingDirectory", }, @@ -179,11 +179,17 @@ public InputList Components [Input("parentImage", required: true)] public Input ParentImage { get; set; } = null!; + [Input("tags")] + private InputMap? _tags; + /// /// The tags of the image recipe. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// The version of the image recipe. diff --git a/sdk/dotnet/ImageBuilder/InfrastructureConfiguration.cs b/sdk/dotnet/ImageBuilder/InfrastructureConfiguration.cs index 27fff46263..baeb4ce68a 100644 --- a/sdk/dotnet/ImageBuilder/InfrastructureConfiguration.cs +++ b/sdk/dotnet/ImageBuilder/InfrastructureConfiguration.cs @@ -67,7 +67,7 @@ public partial class InfrastructureConfiguration : global::Pulumi.CustomResource /// The tags attached to the resource created by Image Builder. /// [Output("resourceTags")] - public Output ResourceTags { get; private set; } = null!; + public Output?> ResourceTags { get; private set; } = null!; /// /// The security group IDs of the infrastructure configuration. @@ -91,7 +91,7 @@ public partial class InfrastructureConfiguration : global::Pulumi.CustomResource /// The tags associated with the component. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The terminate instance on failure configuration of the infrastructure configuration. @@ -196,11 +196,17 @@ public InputList InstanceTypes [Input("name")] public Input? Name { get; set; } + [Input("resourceTags")] + private InputMap? _resourceTags; + /// /// The tags attached to the resource created by Image Builder. /// - [Input("resourceTags")] - public Input? ResourceTags { get; set; } + public InputMap ResourceTags + { + get => _resourceTags ?? (_resourceTags = new InputMap()); + set => _resourceTags = value; + } [Input("securityGroupIds")] private InputList? _securityGroupIds; @@ -226,11 +232,17 @@ public InputList SecurityGroupIds [Input("subnetId")] public Input? SubnetId { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// The tags associated with the component. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// The terminate instance on failure configuration of the infrastructure configuration. diff --git a/sdk/dotnet/ImageBuilder/Inputs/DistributionConfigurationAmiDistributionConfigurationArgs.cs b/sdk/dotnet/ImageBuilder/Inputs/DistributionConfigurationAmiDistributionConfigurationArgs.cs index 185518a07a..d8467ba851 100644 --- a/sdk/dotnet/ImageBuilder/Inputs/DistributionConfigurationAmiDistributionConfigurationArgs.cs +++ b/sdk/dotnet/ImageBuilder/Inputs/DistributionConfigurationAmiDistributionConfigurationArgs.cs @@ -15,11 +15,17 @@ namespace Pulumi.AwsNative.ImageBuilder.Inputs /// public sealed class DistributionConfigurationAmiDistributionConfigurationArgs : global::Pulumi.ResourceArgs { + [Input("amiTags")] + private InputMap? _amiTags; + /// /// The tags to apply to AMIs distributed to this Region. /// - [Input("amiTags")] - public Input? AmiTags { get; set; } + public InputMap AmiTags + { + get => _amiTags ?? (_amiTags = new InputMap()); + set => _amiTags = value; + } /// /// The description of the AMI distribution configuration. diff --git a/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyAmiExclusionRulesArgs.cs b/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyAmiExclusionRulesArgs.cs index 24aeba645e..a6c5dcea3a 100644 --- a/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyAmiExclusionRulesArgs.cs +++ b/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyAmiExclusionRulesArgs.cs @@ -51,11 +51,17 @@ public InputList SharedAccounts set => _sharedAccounts = value; } + [Input("tagMap")] + private InputMap? _tagMap; + /// /// The AMIs to select by tag. /// - [Input("tagMap")] - public Input? TagMap { get; set; } + public InputMap TagMap + { + get => _tagMap ?? (_tagMap = new InputMap()); + set => _tagMap = value; + } public LifecyclePolicyAmiExclusionRulesArgs() { diff --git a/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyExclusionRulesArgs.cs b/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyExclusionRulesArgs.cs index 66947a591b..a195680b18 100644 --- a/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyExclusionRulesArgs.cs +++ b/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyExclusionRulesArgs.cs @@ -18,11 +18,17 @@ public sealed class LifecyclePolicyExclusionRulesArgs : global::Pulumi.ResourceA [Input("amis")] public Input? Amis { get; set; } + [Input("tagMap")] + private InputMap? _tagMap; + /// /// The Image Builder tags to filter on. /// - [Input("tagMap")] - public Input? TagMap { get; set; } + public InputMap TagMap + { + get => _tagMap ?? (_tagMap = new InputMap()); + set => _tagMap = value; + } public LifecyclePolicyExclusionRulesArgs() { diff --git a/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyResourceSelectionArgs.cs b/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyResourceSelectionArgs.cs index b6d10fd587..e039e68f8c 100644 --- a/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyResourceSelectionArgs.cs +++ b/sdk/dotnet/ImageBuilder/Inputs/LifecyclePolicyResourceSelectionArgs.cs @@ -27,11 +27,17 @@ public InputList Recipes set => _recipes = value; } + [Input("tagMap")] + private InputMap? _tagMap; + /// /// The Image Builder resources to select by tag. /// - [Input("tagMap")] - public Input? TagMap { get; set; } + public InputMap TagMap + { + get => _tagMap ?? (_tagMap = new InputMap()); + set => _tagMap = value; + } public LifecyclePolicyResourceSelectionArgs() { diff --git a/sdk/dotnet/ImageBuilder/LifecyclePolicy.cs b/sdk/dotnet/ImageBuilder/LifecyclePolicy.cs index 21f61281d7..6684c339ef 100644 --- a/sdk/dotnet/ImageBuilder/LifecyclePolicy.cs +++ b/sdk/dotnet/ImageBuilder/LifecyclePolicy.cs @@ -67,7 +67,7 @@ public partial class LifecyclePolicy : global::Pulumi.CustomResource /// The tags associated with the lifecycle policy. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// @@ -166,11 +166,17 @@ public InputList PolicyDetails [Input("status")] public Input? Status { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// The tags associated with the lifecycle policy. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } public LifecyclePolicyArgs() { diff --git a/sdk/dotnet/ImageBuilder/Outputs/DistributionConfigurationAmiDistributionConfiguration.cs b/sdk/dotnet/ImageBuilder/Outputs/DistributionConfigurationAmiDistributionConfiguration.cs index e566a222e5..d56c76e1f6 100644 --- a/sdk/dotnet/ImageBuilder/Outputs/DistributionConfigurationAmiDistributionConfiguration.cs +++ b/sdk/dotnet/ImageBuilder/Outputs/DistributionConfigurationAmiDistributionConfiguration.cs @@ -19,7 +19,7 @@ public sealed class DistributionConfigurationAmiDistributionConfiguration /// /// The tags to apply to AMIs distributed to this Region. /// - public readonly object? AmiTags; + public readonly ImmutableDictionary? AmiTags; /// /// The description of the AMI distribution configuration. /// @@ -40,7 +40,7 @@ public sealed class DistributionConfigurationAmiDistributionConfiguration [OutputConstructor] private DistributionConfigurationAmiDistributionConfiguration( - object? amiTags, + ImmutableDictionary? amiTags, string? description, diff --git a/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyAmiExclusionRules.cs b/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyAmiExclusionRules.cs index fcdc62ae2a..8af419f825 100644 --- a/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyAmiExclusionRules.cs +++ b/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyAmiExclusionRules.cs @@ -35,7 +35,7 @@ public sealed class LifecyclePolicyAmiExclusionRules /// /// The AMIs to select by tag. /// - public readonly object? TagMap; + public readonly ImmutableDictionary? TagMap; [OutputConstructor] private LifecyclePolicyAmiExclusionRules( @@ -47,7 +47,7 @@ private LifecyclePolicyAmiExclusionRules( ImmutableArray sharedAccounts, - object? tagMap) + ImmutableDictionary? tagMap) { IsPublic = isPublic; LastLaunched = lastLaunched; diff --git a/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyExclusionRules.cs b/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyExclusionRules.cs index 8d2922d42c..1bd59a104a 100644 --- a/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyExclusionRules.cs +++ b/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyExclusionRules.cs @@ -20,13 +20,13 @@ public sealed class LifecyclePolicyExclusionRules /// /// The Image Builder tags to filter on. /// - public readonly object? TagMap; + public readonly ImmutableDictionary? TagMap; [OutputConstructor] private LifecyclePolicyExclusionRules( Outputs.LifecyclePolicyAmiExclusionRules? amis, - object? tagMap) + ImmutableDictionary? tagMap) { Amis = amis; TagMap = tagMap; diff --git a/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyResourceSelection.cs b/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyResourceSelection.cs index 403466ff1e..724cf5e6c5 100644 --- a/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyResourceSelection.cs +++ b/sdk/dotnet/ImageBuilder/Outputs/LifecyclePolicyResourceSelection.cs @@ -23,13 +23,13 @@ public sealed class LifecyclePolicyResourceSelection /// /// The Image Builder resources to select by tag. /// - public readonly object? TagMap; + public readonly ImmutableDictionary? TagMap; [OutputConstructor] private LifecyclePolicyResourceSelection( ImmutableArray recipes, - object? tagMap) + ImmutableDictionary? tagMap) { Recipes = recipes; TagMap = tagMap; diff --git a/sdk/dotnet/ImageBuilder/Workflow.cs b/sdk/dotnet/ImageBuilder/Workflow.cs index c39f2b9364..f155f81859 100644 --- a/sdk/dotnet/ImageBuilder/Workflow.cs +++ b/sdk/dotnet/ImageBuilder/Workflow.cs @@ -55,7 +55,7 @@ public partial class Workflow : global::Pulumi.CustomResource /// The tags associated with the workflow. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The type of the workflow denotes whether the workflow is used to build, test, or distribute. @@ -105,7 +105,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? "description", "kmsKeyId", "name", - "tags", + "tags.*", "type", "uri", "version", @@ -162,11 +162,17 @@ public sealed class WorkflowArgs : global::Pulumi.ResourceArgs [Input("name")] public Input? Name { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// The tags associated with the workflow. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// The type of the workflow denotes whether the workflow is used to build, test, or distribute. diff --git a/sdk/dotnet/IoT/Authorizer.cs b/sdk/dotnet/IoT/Authorizer.cs index 5d66e748b8..4475a50713 100644 --- a/sdk/dotnet/IoT/Authorizer.cs +++ b/sdk/dotnet/IoT/Authorizer.cs @@ -40,7 +40,7 @@ public partial class Authorizer : global::Pulumi.CustomResource public Output TokenKeyName { get; private set; } = null!; [Output("tokenSigningPublicKeys")] - public Output TokenSigningPublicKeys { get; private set; } = null!; + public Output?> TokenSigningPublicKeys { get; private set; } = null!; /// @@ -119,7 +119,12 @@ public InputList Tags public Input? TokenKeyName { get; set; } [Input("tokenSigningPublicKeys")] - public Input? TokenSigningPublicKeys { get; set; } + private InputMap? _tokenSigningPublicKeys; + public InputMap TokenSigningPublicKeys + { + get => _tokenSigningPublicKeys ?? (_tokenSigningPublicKeys = new InputMap()); + set => _tokenSigningPublicKeys = value; + } public AuthorizerArgs() { diff --git a/sdk/dotnet/IoT/GetAuthorizer.cs b/sdk/dotnet/IoT/GetAuthorizer.cs index 9fff0bca86..73acf04a33 100644 --- a/sdk/dotnet/IoT/GetAuthorizer.cs +++ b/sdk/dotnet/IoT/GetAuthorizer.cs @@ -57,7 +57,7 @@ public sealed class GetAuthorizerResult public readonly Pulumi.AwsNative.IoT.AuthorizerStatus? Status; public readonly ImmutableArray Tags; public readonly string? TokenKeyName; - public readonly object? TokenSigningPublicKeys; + public readonly ImmutableDictionary? TokenSigningPublicKeys; [OutputConstructor] private GetAuthorizerResult( @@ -73,7 +73,7 @@ private GetAuthorizerResult( string? tokenKeyName, - object? tokenSigningPublicKeys) + ImmutableDictionary? tokenSigningPublicKeys) { Arn = arn; AuthorizerFunctionArn = authorizerFunctionArn; diff --git a/sdk/dotnet/IoT/GetSecurityProfile.cs b/sdk/dotnet/IoT/GetSecurityProfile.cs index 3cccd8994b..5fb62bb794 100644 --- a/sdk/dotnet/IoT/GetSecurityProfile.cs +++ b/sdk/dotnet/IoT/GetSecurityProfile.cs @@ -64,7 +64,7 @@ public sealed class GetSecurityProfileResult /// /// Specifies the destinations to which alerts are sent. /// - public readonly object? AlertTargets; + public readonly ImmutableDictionary? AlertTargets; /// /// Specifies the behaviors that, when violated by a device (thing), cause an alert. /// @@ -94,7 +94,7 @@ public sealed class GetSecurityProfileResult private GetSecurityProfileResult( ImmutableArray additionalMetricsToRetainV2, - object? alertTargets, + ImmutableDictionary? alertTargets, ImmutableArray behaviors, diff --git a/sdk/dotnet/IoT/Inputs/SecurityProfileAlertTargetArgs.cs b/sdk/dotnet/IoT/Inputs/SecurityProfileAlertTargetArgs.cs new file mode 100644 index 0000000000..8f866500b7 --- /dev/null +++ b/sdk/dotnet/IoT/Inputs/SecurityProfileAlertTargetArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoT.Inputs +{ + + /// + /// A structure containing the alert target ARN and the role ARN. + /// + public sealed class SecurityProfileAlertTargetArgs : global::Pulumi.ResourceArgs + { + /// + /// The ARN of the notification target to which alerts are sent. + /// + [Input("alertTargetArn", required: true)] + public Input AlertTargetArn { get; set; } = null!; + + /// + /// The ARN of the role that grants permission to send alerts to the notification target. + /// + [Input("roleArn", required: true)] + public Input RoleArn { get; set; } = null!; + + public SecurityProfileAlertTargetArgs() + { + } + public static new SecurityProfileAlertTargetArgs Empty => new SecurityProfileAlertTargetArgs(); + } +} diff --git a/sdk/dotnet/IoT/Inputs/ThingAttributePayloadArgs.cs b/sdk/dotnet/IoT/Inputs/ThingAttributePayloadArgs.cs index b188edc5b9..505b3c1130 100644 --- a/sdk/dotnet/IoT/Inputs/ThingAttributePayloadArgs.cs +++ b/sdk/dotnet/IoT/Inputs/ThingAttributePayloadArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.IoT.Inputs public sealed class ThingAttributePayloadArgs : global::Pulumi.ResourceArgs { [Input("attributes")] - public Input? Attributes { get; set; } + private InputMap? _attributes; + public InputMap Attributes + { + get => _attributes ?? (_attributes = new InputMap()); + set => _attributes = value; + } public ThingAttributePayloadArgs() { diff --git a/sdk/dotnet/IoT/Inputs/ThingGroupAttributePayloadArgs.cs b/sdk/dotnet/IoT/Inputs/ThingGroupAttributePayloadArgs.cs index ace49f3cd9..330fe91469 100644 --- a/sdk/dotnet/IoT/Inputs/ThingGroupAttributePayloadArgs.cs +++ b/sdk/dotnet/IoT/Inputs/ThingGroupAttributePayloadArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.IoT.Inputs public sealed class ThingGroupAttributePayloadArgs : global::Pulumi.ResourceArgs { [Input("attributes")] - public Input? Attributes { get; set; } + private InputMap? _attributes; + public InputMap Attributes + { + get => _attributes ?? (_attributes = new InputMap()); + set => _attributes = value; + } public ThingGroupAttributePayloadArgs() { diff --git a/sdk/dotnet/IoT/Inputs/TopicRuleKafkaActionArgs.cs b/sdk/dotnet/IoT/Inputs/TopicRuleKafkaActionArgs.cs index f7eeed52ab..5273d0a5a1 100644 --- a/sdk/dotnet/IoT/Inputs/TopicRuleKafkaActionArgs.cs +++ b/sdk/dotnet/IoT/Inputs/TopicRuleKafkaActionArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.IoT.Inputs public sealed class TopicRuleKafkaActionArgs : global::Pulumi.ResourceArgs { [Input("clientProperties", required: true)] - public Input ClientProperties { get; set; } = null!; + private InputMap? _clientProperties; + public InputMap ClientProperties + { + get => _clientProperties ?? (_clientProperties = new InputMap()); + set => _clientProperties = value; + } [Input("destinationArn", required: true)] public Input DestinationArn { get; set; } = null!; diff --git a/sdk/dotnet/IoT/Outputs/SecurityProfileAlertTarget.cs b/sdk/dotnet/IoT/Outputs/SecurityProfileAlertTarget.cs new file mode 100644 index 0000000000..5b54d44359 --- /dev/null +++ b/sdk/dotnet/IoT/Outputs/SecurityProfileAlertTarget.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoT.Outputs +{ + + /// + /// A structure containing the alert target ARN and the role ARN. + /// + [OutputType] + public sealed class SecurityProfileAlertTarget + { + /// + /// The ARN of the notification target to which alerts are sent. + /// + public readonly string AlertTargetArn; + /// + /// The ARN of the role that grants permission to send alerts to the notification target. + /// + public readonly string RoleArn; + + [OutputConstructor] + private SecurityProfileAlertTarget( + string alertTargetArn, + + string roleArn) + { + AlertTargetArn = alertTargetArn; + RoleArn = roleArn; + } + } +} diff --git a/sdk/dotnet/IoT/Outputs/ThingAttributePayload.cs b/sdk/dotnet/IoT/Outputs/ThingAttributePayload.cs index 0bfc2a6100..9384c544f7 100644 --- a/sdk/dotnet/IoT/Outputs/ThingAttributePayload.cs +++ b/sdk/dotnet/IoT/Outputs/ThingAttributePayload.cs @@ -13,10 +13,10 @@ namespace Pulumi.AwsNative.IoT.Outputs [OutputType] public sealed class ThingAttributePayload { - public readonly object? Attributes; + public readonly ImmutableDictionary? Attributes; [OutputConstructor] - private ThingAttributePayload(object? attributes) + private ThingAttributePayload(ImmutableDictionary? attributes) { Attributes = attributes; } diff --git a/sdk/dotnet/IoT/Outputs/ThingGroupAttributePayload.cs b/sdk/dotnet/IoT/Outputs/ThingGroupAttributePayload.cs index 8cdaabae1d..5709afaec0 100644 --- a/sdk/dotnet/IoT/Outputs/ThingGroupAttributePayload.cs +++ b/sdk/dotnet/IoT/Outputs/ThingGroupAttributePayload.cs @@ -13,10 +13,10 @@ namespace Pulumi.AwsNative.IoT.Outputs [OutputType] public sealed class ThingGroupAttributePayload { - public readonly object? Attributes; + public readonly ImmutableDictionary? Attributes; [OutputConstructor] - private ThingGroupAttributePayload(object? attributes) + private ThingGroupAttributePayload(ImmutableDictionary? attributes) { Attributes = attributes; } diff --git a/sdk/dotnet/IoT/Outputs/TopicRuleKafkaAction.cs b/sdk/dotnet/IoT/Outputs/TopicRuleKafkaAction.cs index d92a088a24..57016de95b 100644 --- a/sdk/dotnet/IoT/Outputs/TopicRuleKafkaAction.cs +++ b/sdk/dotnet/IoT/Outputs/TopicRuleKafkaAction.cs @@ -13,7 +13,7 @@ namespace Pulumi.AwsNative.IoT.Outputs [OutputType] public sealed class TopicRuleKafkaAction { - public readonly object ClientProperties; + public readonly ImmutableDictionary ClientProperties; public readonly string DestinationArn; public readonly ImmutableArray Headers; public readonly string? Key; @@ -22,7 +22,7 @@ public sealed class TopicRuleKafkaAction [OutputConstructor] private TopicRuleKafkaAction( - object clientProperties, + ImmutableDictionary clientProperties, string destinationArn, diff --git a/sdk/dotnet/IoT/SecurityProfile.cs b/sdk/dotnet/IoT/SecurityProfile.cs index e7ced88b4b..a4f93c6a7b 100644 --- a/sdk/dotnet/IoT/SecurityProfile.cs +++ b/sdk/dotnet/IoT/SecurityProfile.cs @@ -25,7 +25,7 @@ public partial class SecurityProfile : global::Pulumi.CustomResource /// Specifies the destinations to which alerts are sent. /// [Output("alertTargets")] - public Output AlertTargets { get; private set; } = null!; + public Output?> AlertTargets { get; private set; } = null!; /// /// Specifies the behaviors that, when violated by a device (thing), cause an alert. @@ -130,11 +130,17 @@ public InputList AdditionalMetricsToRe set => _additionalMetricsToRetainV2 = value; } + [Input("alertTargets")] + private InputMap? _alertTargets; + /// /// Specifies the destinations to which alerts are sent. /// - [Input("alertTargets")] - public Input? AlertTargets { get; set; } + public InputMap AlertTargets + { + get => _alertTargets ?? (_alertTargets = new InputMap()); + set => _alertTargets = value; + } [Input("behaviors")] private InputList? _behaviors; diff --git a/sdk/dotnet/IoTAnalytics/Inputs/PipelineAddAttributesArgs.cs b/sdk/dotnet/IoTAnalytics/Inputs/PipelineAddAttributesArgs.cs index 718072ed83..c878f40218 100644 --- a/sdk/dotnet/IoTAnalytics/Inputs/PipelineAddAttributesArgs.cs +++ b/sdk/dotnet/IoTAnalytics/Inputs/PipelineAddAttributesArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.IoTAnalytics.Inputs public sealed class PipelineAddAttributesArgs : global::Pulumi.ResourceArgs { [Input("attributes", required: true)] - public Input Attributes { get; set; } = null!; + private InputMap? _attributes; + public InputMap Attributes + { + get => _attributes ?? (_attributes = new InputMap()); + set => _attributes = value; + } [Input("name", required: true)] public Input Name { get; set; } = null!; diff --git a/sdk/dotnet/IoTAnalytics/Outputs/PipelineAddAttributes.cs b/sdk/dotnet/IoTAnalytics/Outputs/PipelineAddAttributes.cs index cbc9aebbc9..a0a9ce5079 100644 --- a/sdk/dotnet/IoTAnalytics/Outputs/PipelineAddAttributes.cs +++ b/sdk/dotnet/IoTAnalytics/Outputs/PipelineAddAttributes.cs @@ -13,13 +13,13 @@ namespace Pulumi.AwsNative.IoTAnalytics.Outputs [OutputType] public sealed class PipelineAddAttributes { - public readonly object Attributes; + public readonly ImmutableDictionary Attributes; public readonly string Name; public readonly string? Next; [OutputConstructor] private PipelineAddAttributes( - object attributes, + ImmutableDictionary attributes, string name, diff --git a/sdk/dotnet/IoTTwinMaker/ComponentType.cs b/sdk/dotnet/IoTTwinMaker/ComponentType.cs index 10033db6a2..b10cf605ea 100644 --- a/sdk/dotnet/IoTTwinMaker/ComponentType.cs +++ b/sdk/dotnet/IoTTwinMaker/ComponentType.cs @@ -31,7 +31,7 @@ public partial class ComponentType : global::Pulumi.CustomResource /// An map of the composite component types in the component type. Each composite component type's key must be unique to this map. /// [Output("compositeComponentTypes")] - public Output CompositeComponentTypes { get; private set; } = null!; + public Output?> CompositeComponentTypes { get; private set; } = null!; /// /// The date and time when the component type was created. @@ -55,7 +55,7 @@ public partial class ComponentType : global::Pulumi.CustomResource /// a Map of functions in the component type. Each function's key must be unique to this map. /// [Output("functions")] - public Output Functions { get; private set; } = null!; + public Output?> Functions { get; private set; } = null!; /// /// A Boolean value that specifies whether the component type is abstract. @@ -79,13 +79,13 @@ public partial class ComponentType : global::Pulumi.CustomResource /// An map of the property definitions in the component type. Each property definition's key must be unique to this map. /// [Output("propertyDefinitions")] - public Output PropertyDefinitions { get; private set; } = null!; + public Output?> PropertyDefinitions { get; private set; } = null!; /// /// An map of the property groups in the component type. Each property group's key must be unique to this map. /// [Output("propertyGroups")] - public Output PropertyGroups { get; private set; } = null!; + public Output?> PropertyGroups { get; private set; } = null!; /// /// The current status of the component type. @@ -97,7 +97,7 @@ public partial class ComponentType : global::Pulumi.CustomResource /// A map of key-value pairs to associate with a resource. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The last date and time when the component type was updated. @@ -167,11 +167,17 @@ public sealed class ComponentTypeArgs : global::Pulumi.ResourceArgs [Input("componentTypeId", required: true)] public Input ComponentTypeId { get; set; } = null!; + [Input("compositeComponentTypes")] + private InputMap? _compositeComponentTypes; + /// /// An map of the composite component types in the component type. Each composite component type's key must be unique to this map. /// - [Input("compositeComponentTypes")] - public Input? CompositeComponentTypes { get; set; } + public InputMap CompositeComponentTypes + { + get => _compositeComponentTypes ?? (_compositeComponentTypes = new InputMap()); + set => _compositeComponentTypes = value; + } /// /// The description of the component type. @@ -191,11 +197,17 @@ public InputList ExtendsFrom set => _extendsFrom = value; } + [Input("functions")] + private InputMap? _functions; + /// /// a Map of functions in the component type. Each function's key must be unique to this map. /// - [Input("functions")] - public Input? Functions { get; set; } + public InputMap Functions + { + get => _functions ?? (_functions = new InputMap()); + set => _functions = value; + } /// /// A Boolean value that specifies whether an entity can have more than one component of this type. @@ -203,23 +215,41 @@ public InputList ExtendsFrom [Input("isSingleton")] public Input? IsSingleton { get; set; } + [Input("propertyDefinitions")] + private InputMap? _propertyDefinitions; + /// /// An map of the property definitions in the component type. Each property definition's key must be unique to this map. /// - [Input("propertyDefinitions")] - public Input? PropertyDefinitions { get; set; } + public InputMap PropertyDefinitions + { + get => _propertyDefinitions ?? (_propertyDefinitions = new InputMap()); + set => _propertyDefinitions = value; + } + + [Input("propertyGroups")] + private InputMap? _propertyGroups; /// /// An map of the property groups in the component type. Each property group's key must be unique to this map. /// - [Input("propertyGroups")] - public Input? PropertyGroups { get; set; } + public InputMap PropertyGroups + { + get => _propertyGroups ?? (_propertyGroups = new InputMap()); + set => _propertyGroups = value; + } + + [Input("tags")] + private InputMap? _tags; /// /// A map of key-value pairs to associate with a resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// The ID of the workspace that contains the component type. diff --git a/sdk/dotnet/IoTTwinMaker/Entity.cs b/sdk/dotnet/IoTTwinMaker/Entity.cs index 39943bf2c4..d6ab2039eb 100644 --- a/sdk/dotnet/IoTTwinMaker/Entity.cs +++ b/sdk/dotnet/IoTTwinMaker/Entity.cs @@ -25,13 +25,13 @@ public partial class Entity : global::Pulumi.CustomResource /// A map that sets information about a component type. /// [Output("components")] - public Output Components { get; private set; } = null!; + public Output?> Components { get; private set; } = null!; /// /// A map that sets information about a composite component. /// [Output("compositeComponents")] - public Output CompositeComponents { get; private set; } = null!; + public Output?> CompositeComponents { get; private set; } = null!; /// /// The date and time when the entity was created. @@ -79,7 +79,7 @@ public partial class Entity : global::Pulumi.CustomResource /// A key-value pair to associate with a resource. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The last date and time when the entity was updated. @@ -143,17 +143,29 @@ public static Entity Get(string name, Input id, CustomResourceOptions? o public sealed class EntityArgs : global::Pulumi.ResourceArgs { + [Input("components")] + private InputMap? _components; + /// /// A map that sets information about a component type. /// - [Input("components")] - public Input? Components { get; set; } + public InputMap Components + { + get => _components ?? (_components = new InputMap()); + set => _components = value; + } + + [Input("compositeComponents")] + private InputMap? _compositeComponents; /// /// A map that sets information about a composite component. /// - [Input("compositeComponents")] - public Input? CompositeComponents { get; set; } + public InputMap CompositeComponents + { + get => _compositeComponents ?? (_compositeComponents = new InputMap()); + set => _compositeComponents = value; + } /// /// The description of the entity. @@ -179,11 +191,17 @@ public sealed class EntityArgs : global::Pulumi.ResourceArgs [Input("parentEntityId")] public Input? ParentEntityId { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// A key-value pair to associate with a resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// The ID of the workspace. diff --git a/sdk/dotnet/IoTTwinMaker/Enums.cs b/sdk/dotnet/IoTTwinMaker/Enums.cs index 5b8bf50640..3a1d575709 100644 --- a/sdk/dotnet/IoTTwinMaker/Enums.cs +++ b/sdk/dotnet/IoTTwinMaker/Enums.cs @@ -7,6 +7,104 @@ namespace Pulumi.AwsNative.IoTTwinMaker { + /// + /// The underlying type of the data type. + /// + [EnumType] + public readonly struct ComponentTypeDataTypeType : IEquatable + { + private readonly string _value; + + private ComponentTypeDataTypeType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ComponentTypeDataTypeType Relationship { get; } = new ComponentTypeDataTypeType("RELATIONSHIP"); + public static ComponentTypeDataTypeType String { get; } = new ComponentTypeDataTypeType("STRING"); + public static ComponentTypeDataTypeType Long { get; } = new ComponentTypeDataTypeType("LONG"); + public static ComponentTypeDataTypeType Boolean { get; } = new ComponentTypeDataTypeType("BOOLEAN"); + public static ComponentTypeDataTypeType Integer { get; } = new ComponentTypeDataTypeType("INTEGER"); + public static ComponentTypeDataTypeType Double { get; } = new ComponentTypeDataTypeType("DOUBLE"); + public static ComponentTypeDataTypeType List { get; } = new ComponentTypeDataTypeType("LIST"); + public static ComponentTypeDataTypeType Map { get; } = new ComponentTypeDataTypeType("MAP"); + + public static bool operator ==(ComponentTypeDataTypeType left, ComponentTypeDataTypeType right) => left.Equals(right); + public static bool operator !=(ComponentTypeDataTypeType left, ComponentTypeDataTypeType right) => !left.Equals(right); + + public static explicit operator string(ComponentTypeDataTypeType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ComponentTypeDataTypeType other && Equals(other); + public bool Equals(ComponentTypeDataTypeType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The scope of the function. + /// + [EnumType] + public readonly struct ComponentTypeFunctionScope : IEquatable + { + private readonly string _value; + + private ComponentTypeFunctionScope(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ComponentTypeFunctionScope Entity { get; } = new ComponentTypeFunctionScope("ENTITY"); + public static ComponentTypeFunctionScope Workspace { get; } = new ComponentTypeFunctionScope("WORKSPACE"); + + public static bool operator ==(ComponentTypeFunctionScope left, ComponentTypeFunctionScope right) => left.Equals(right); + public static bool operator !=(ComponentTypeFunctionScope left, ComponentTypeFunctionScope right) => !left.Equals(right); + + public static explicit operator string(ComponentTypeFunctionScope value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ComponentTypeFunctionScope other && Equals(other); + public bool Equals(ComponentTypeFunctionScope other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of property group. + /// + [EnumType] + public readonly struct ComponentTypePropertyGroupGroupType : IEquatable + { + private readonly string _value; + + private ComponentTypePropertyGroupGroupType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ComponentTypePropertyGroupGroupType Tabular { get; } = new ComponentTypePropertyGroupGroupType("TABULAR"); + + public static bool operator ==(ComponentTypePropertyGroupGroupType left, ComponentTypePropertyGroupGroupType right) => left.Equals(right); + public static bool operator !=(ComponentTypePropertyGroupGroupType left, ComponentTypePropertyGroupGroupType right) => !left.Equals(right); + + public static explicit operator string(ComponentTypePropertyGroupGroupType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ComponentTypePropertyGroupGroupType other && Equals(other); + public bool Equals(ComponentTypePropertyGroupGroupType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + [EnumType] public readonly struct ComponentTypeStatusError1PropertiesCode : IEquatable { @@ -94,6 +192,73 @@ private ComponentTypeStatusState(string value) public override string ToString() => _value; } + /// + /// The underlying type of the data type. + /// + [EnumType] + public readonly struct EntityDataTypeType : IEquatable + { + private readonly string _value; + + private EntityDataTypeType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static EntityDataTypeType Relationship { get; } = new EntityDataTypeType("RELATIONSHIP"); + public static EntityDataTypeType String { get; } = new EntityDataTypeType("STRING"); + public static EntityDataTypeType Long { get; } = new EntityDataTypeType("LONG"); + public static EntityDataTypeType Boolean { get; } = new EntityDataTypeType("BOOLEAN"); + public static EntityDataTypeType Integer { get; } = new EntityDataTypeType("INTEGER"); + public static EntityDataTypeType Double { get; } = new EntityDataTypeType("DOUBLE"); + public static EntityDataTypeType List { get; } = new EntityDataTypeType("LIST"); + public static EntityDataTypeType Map { get; } = new EntityDataTypeType("MAP"); + + public static bool operator ==(EntityDataTypeType left, EntityDataTypeType right) => left.Equals(right); + public static bool operator !=(EntityDataTypeType left, EntityDataTypeType right) => !left.Equals(right); + + public static explicit operator string(EntityDataTypeType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EntityDataTypeType other && Equals(other); + public bool Equals(EntityDataTypeType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of property group. + /// + [EnumType] + public readonly struct EntityPropertyGroupGroupType : IEquatable + { + private readonly string _value; + + private EntityPropertyGroupGroupType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static EntityPropertyGroupGroupType Tabular { get; } = new EntityPropertyGroupGroupType("TABULAR"); + + public static bool operator ==(EntityPropertyGroupGroupType left, EntityPropertyGroupGroupType right) => left.Equals(right); + public static bool operator !=(EntityPropertyGroupGroupType left, EntityPropertyGroupGroupType right) => !left.Equals(right); + + public static explicit operator string(EntityPropertyGroupGroupType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is EntityPropertyGroupGroupType other && Equals(other); + public bool Equals(EntityPropertyGroupGroupType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + [EnumType] public readonly struct EntityStatusError1PropertiesCode : IEquatable { diff --git a/sdk/dotnet/IoTTwinMaker/GetComponentType.cs b/sdk/dotnet/IoTTwinMaker/GetComponentType.cs index 5e4cd59175..2918515d61 100644 --- a/sdk/dotnet/IoTTwinMaker/GetComponentType.cs +++ b/sdk/dotnet/IoTTwinMaker/GetComponentType.cs @@ -76,7 +76,7 @@ public sealed class GetComponentTypeResult /// /// An map of the composite component types in the component type. Each composite component type's key must be unique to this map. /// - public readonly object? CompositeComponentTypes; + public readonly ImmutableDictionary? CompositeComponentTypes; /// /// The date and time when the component type was created. /// @@ -92,7 +92,7 @@ public sealed class GetComponentTypeResult /// /// a Map of functions in the component type. Each function's key must be unique to this map. /// - public readonly object? Functions; + public readonly ImmutableDictionary? Functions; /// /// A Boolean value that specifies whether the component type is abstract. /// @@ -108,11 +108,11 @@ public sealed class GetComponentTypeResult /// /// An map of the property definitions in the component type. Each property definition's key must be unique to this map. /// - public readonly object? PropertyDefinitions; + public readonly ImmutableDictionary? PropertyDefinitions; /// /// An map of the property groups in the component type. Each property group's key must be unique to this map. /// - public readonly object? PropertyGroups; + public readonly ImmutableDictionary? PropertyGroups; /// /// The current status of the component type. /// @@ -120,7 +120,7 @@ public sealed class GetComponentTypeResult /// /// A map of key-value pairs to associate with a resource. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; /// /// The last date and time when the component type was updated. /// @@ -130,7 +130,7 @@ public sealed class GetComponentTypeResult private GetComponentTypeResult( string? arn, - object? compositeComponentTypes, + ImmutableDictionary? compositeComponentTypes, string? creationDateTime, @@ -138,7 +138,7 @@ private GetComponentTypeResult( ImmutableArray extendsFrom, - object? functions, + ImmutableDictionary? functions, bool? isAbstract, @@ -146,13 +146,13 @@ private GetComponentTypeResult( bool? isSingleton, - object? propertyDefinitions, + ImmutableDictionary? propertyDefinitions, - object? propertyGroups, + ImmutableDictionary? propertyGroups, Outputs.ComponentTypeStatus? status, - object? tags, + ImmutableDictionary? tags, string? updateDateTime) { diff --git a/sdk/dotnet/IoTTwinMaker/GetEntity.cs b/sdk/dotnet/IoTTwinMaker/GetEntity.cs index 3dafe3d4e6..eb23c48bf9 100644 --- a/sdk/dotnet/IoTTwinMaker/GetEntity.cs +++ b/sdk/dotnet/IoTTwinMaker/GetEntity.cs @@ -76,11 +76,11 @@ public sealed class GetEntityResult /// /// A map that sets information about a component type. /// - public readonly object? Components; + public readonly ImmutableDictionary? Components; /// /// A map that sets information about a composite component. /// - public readonly object? CompositeComponents; + public readonly ImmutableDictionary? CompositeComponents; /// /// The date and time when the entity was created. /// @@ -108,7 +108,7 @@ public sealed class GetEntityResult /// /// A key-value pair to associate with a resource. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; /// /// The last date and time when the entity was updated. /// @@ -118,9 +118,9 @@ public sealed class GetEntityResult private GetEntityResult( string? arn, - object? components, + ImmutableDictionary? components, - object? compositeComponents, + ImmutableDictionary? compositeComponents, string? creationDateTime, @@ -134,7 +134,7 @@ private GetEntityResult( Outputs.EntityStatus? status, - object? tags, + ImmutableDictionary? tags, string? updateDateTime) { diff --git a/sdk/dotnet/IoTTwinMaker/GetScene.cs b/sdk/dotnet/IoTTwinMaker/GetScene.cs index 802299ac82..ae99984948 100644 --- a/sdk/dotnet/IoTTwinMaker/GetScene.cs +++ b/sdk/dotnet/IoTTwinMaker/GetScene.cs @@ -92,15 +92,15 @@ public sealed class GetSceneResult /// /// A key-value pair of generated scene metadata for the scene. /// - public readonly object? GeneratedSceneMetadata; + public readonly ImmutableDictionary? GeneratedSceneMetadata; /// /// A key-value pair of scene metadata for the scene. /// - public readonly object? SceneMetadata; + public readonly ImmutableDictionary? SceneMetadata; /// /// A key-value pair to associate with a resource. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; /// /// The date and time of the current update. /// @@ -118,11 +118,11 @@ private GetSceneResult( string? description, - object? generatedSceneMetadata, + ImmutableDictionary? generatedSceneMetadata, - object? sceneMetadata, + ImmutableDictionary? sceneMetadata, - object? tags, + ImmutableDictionary? tags, string? updateDateTime) { diff --git a/sdk/dotnet/IoTTwinMaker/GetWorkspace.cs b/sdk/dotnet/IoTTwinMaker/GetWorkspace.cs index 8941250b49..0fb4d0a5a9 100644 --- a/sdk/dotnet/IoTTwinMaker/GetWorkspace.cs +++ b/sdk/dotnet/IoTTwinMaker/GetWorkspace.cs @@ -80,7 +80,7 @@ public sealed class GetWorkspaceResult /// /// A map of key-value pairs to associate with a resource. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; /// /// The date and time of the current update. /// @@ -98,7 +98,7 @@ private GetWorkspaceResult( string? s3Location, - object? tags, + ImmutableDictionary? tags, string? updateDateTime) { diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeCompositeComponentTypeArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeCompositeComponentTypeArgs.cs new file mode 100644 index 0000000000..cb60350e51 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeCompositeComponentTypeArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// An object that sets information about a composite component type. + /// + public sealed class ComponentTypeCompositeComponentTypeArgs : global::Pulumi.ResourceArgs + { + /// + /// The id of the composite component type. + /// + [Input("componentTypeId")] + public Input? ComponentTypeId { get; set; } + + public ComponentTypeCompositeComponentTypeArgs() + { + } + public static new ComponentTypeCompositeComponentTypeArgs Empty => new ComponentTypeCompositeComponentTypeArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataConnectorArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataConnectorArgs.cs new file mode 100644 index 0000000000..4c31aca365 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataConnectorArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// The data connector. + /// + public sealed class ComponentTypeDataConnectorArgs : global::Pulumi.ResourceArgs + { + /// + /// A Boolean value that specifies whether the data connector is native to IoT TwinMaker. + /// + [Input("isNative")] + public Input? IsNative { get; set; } + + /// + /// The Lambda function associated with this data connector. + /// + [Input("lambda")] + public Input? Lambda { get; set; } + + public ComponentTypeDataConnectorArgs() + { + } + public static new ComponentTypeDataConnectorArgs Empty => new ComponentTypeDataConnectorArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataTypeArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataTypeArgs.cs new file mode 100644 index 0000000000..adb2eb6def --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataTypeArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// An object that specifies the data type of a property. + /// + public sealed class ComponentTypeDataTypeArgs : global::Pulumi.ResourceArgs + { + [Input("allowedValues")] + private InputList? _allowedValues; + + /// + /// The allowed values for this data type. + /// + public InputList AllowedValues + { + get => _allowedValues ?? (_allowedValues = new InputList()); + set => _allowedValues = value; + } + + /// + /// The nested type in the data type. + /// + [Input("nestedType")] + public Input? NestedType { get; set; } + + /// + /// A relationship that associates a component with another component. + /// + [Input("relationship")] + public Input? Relationship { get; set; } + + /// + /// The underlying type of the data type. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// The unit of measure used in this data type. + /// + [Input("unitOfMeasure")] + public Input? UnitOfMeasure { get; set; } + + public ComponentTypeDataTypeArgs() + { + } + public static new ComponentTypeDataTypeArgs Empty => new ComponentTypeDataTypeArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataValueArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataValueArgs.cs new file mode 100644 index 0000000000..dacc9e04dc --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataValueArgs.cs @@ -0,0 +1,89 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// An object that specifies a value for a property. + /// + public sealed class ComponentTypeDataValueArgs : global::Pulumi.ResourceArgs + { + /// + /// A Boolean value. + /// + [Input("booleanValue")] + public Input? BooleanValue { get; set; } + + /// + /// A double value. + /// + [Input("doubleValue")] + public Input? DoubleValue { get; set; } + + /// + /// An expression that produces the value. + /// + [Input("expression")] + public Input? Expression { get; set; } + + /// + /// An integer value. + /// + [Input("integerValue")] + public Input? IntegerValue { get; set; } + + [Input("listValue")] + private InputList? _listValue; + + /// + /// A list of multiple values. + /// + public InputList ListValue + { + get => _listValue ?? (_listValue = new InputList()); + set => _listValue = value; + } + + /// + /// A long value. + /// + [Input("longValue")] + public Input? LongValue { get; set; } + + [Input("mapValue")] + private InputMap? _mapValue; + + /// + /// An object that maps strings to multiple DataValue objects. + /// + public InputMap MapValue + { + get => _mapValue ?? (_mapValue = new InputMap()); + set => _mapValue = value; + } + + /// + /// A value that relates a component to another component. + /// + [Input("relationshipValue")] + public Input? RelationshipValue { get; set; } + + /// + /// A string value. + /// + [Input("stringValue")] + public Input? StringValue { get; set; } + + public ComponentTypeDataValueArgs() + { + } + public static new ComponentTypeDataValueArgs Empty => new ComponentTypeDataValueArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataValueRelationshipValuePropertiesArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataValueRelationshipValuePropertiesArgs.cs new file mode 100644 index 0000000000..f482ad5eb7 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeDataValueRelationshipValuePropertiesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// A value that relates a component to another component. + /// + public sealed class ComponentTypeDataValueRelationshipValuePropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("targetComponentName")] + public Input? TargetComponentName { get; set; } + + [Input("targetEntityId")] + public Input? TargetEntityId { get; set; } + + public ComponentTypeDataValueRelationshipValuePropertiesArgs() + { + } + public static new ComponentTypeDataValueRelationshipValuePropertiesArgs Empty => new ComponentTypeDataValueRelationshipValuePropertiesArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeFunctionArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeFunctionArgs.cs new file mode 100644 index 0000000000..4f053a6443 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeFunctionArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// The function of component type. + /// + public sealed class ComponentTypeFunctionArgs : global::Pulumi.ResourceArgs + { + /// + /// The data connector. + /// + [Input("implementedBy")] + public Input? ImplementedBy { get; set; } + + [Input("requiredProperties")] + private InputList? _requiredProperties; + + /// + /// The required properties of the function. + /// + public InputList RequiredProperties + { + get => _requiredProperties ?? (_requiredProperties = new InputList()); + set => _requiredProperties = value; + } + + /// + /// The scope of the function. + /// + [Input("scope")] + public Input? Scope { get; set; } + + public ComponentTypeFunctionArgs() + { + } + public static new ComponentTypeFunctionArgs Empty => new ComponentTypeFunctionArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeLambdaFunctionArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeLambdaFunctionArgs.cs new file mode 100644 index 0000000000..e7619f91e4 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeLambdaFunctionArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + public sealed class ComponentTypeLambdaFunctionArgs : global::Pulumi.ResourceArgs + { + [Input("arn", required: true)] + public Input Arn { get; set; } = null!; + + public ComponentTypeLambdaFunctionArgs() + { + } + public static new ComponentTypeLambdaFunctionArgs Empty => new ComponentTypeLambdaFunctionArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypePropertyDefinitionArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypePropertyDefinitionArgs.cs new file mode 100644 index 0000000000..6f82bf5c48 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypePropertyDefinitionArgs.cs @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// An object that sets information about a property. + /// + public sealed class ComponentTypePropertyDefinitionArgs : global::Pulumi.ResourceArgs + { + [Input("configurations")] + private InputMap? _configurations; + + /// + /// An object that specifies information about a property. + /// + public InputMap Configurations + { + get => _configurations ?? (_configurations = new InputMap()); + set => _configurations = value; + } + + /// + /// An object that contains information about the data type. + /// + [Input("dataType")] + public Input? DataType { get; set; } + + /// + /// An object that contains the default value. + /// + [Input("defaultValue")] + public Input? DefaultValue { get; set; } + + /// + /// A Boolean value that specifies whether the property ID comes from an external data store. + /// + [Input("isExternalId")] + public Input? IsExternalId { get; set; } + + /// + /// A Boolean value that specifies whether the property is required. + /// + [Input("isRequiredInEntity")] + public Input? IsRequiredInEntity { get; set; } + + /// + /// A Boolean value that specifies whether the property is stored externally. + /// + [Input("isStoredExternally")] + public Input? IsStoredExternally { get; set; } + + /// + /// A Boolean value that specifies whether the property consists of time series data. + /// + [Input("isTimeSeries")] + public Input? IsTimeSeries { get; set; } + + public ComponentTypePropertyDefinitionArgs() + { + } + public static new ComponentTypePropertyDefinitionArgs Empty => new ComponentTypePropertyDefinitionArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypePropertyGroupArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypePropertyGroupArgs.cs new file mode 100644 index 0000000000..8ac84f9ae2 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypePropertyGroupArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// An object that sets information about a property group. + /// + public sealed class ComponentTypePropertyGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of property group. + /// + [Input("groupType")] + public Input? GroupType { get; set; } + + [Input("propertyNames")] + private InputList? _propertyNames; + + /// + /// The list of property names in the property group. + /// + public InputList PropertyNames + { + get => _propertyNames ?? (_propertyNames = new InputList()); + set => _propertyNames = value; + } + + public ComponentTypePropertyGroupArgs() + { + } + public static new ComponentTypePropertyGroupArgs Empty => new ComponentTypePropertyGroupArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeRelationshipArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeRelationshipArgs.cs new file mode 100644 index 0000000000..ccc46ffb3c --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/ComponentTypeRelationshipArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// The type of the relationship. + /// + public sealed class ComponentTypeRelationshipArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of the relationship. + /// + [Input("relationshipType")] + public Input? RelationshipType { get; set; } + + /// + /// The ID of the target component type associated with this relationship. + /// + [Input("targetComponentTypeId")] + public Input? TargetComponentTypeId { get; set; } + + public ComponentTypeRelationshipArgs() + { + } + public static new ComponentTypeRelationshipArgs Empty => new ComponentTypeRelationshipArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityComponentArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityComponentArgs.cs new file mode 100644 index 0000000000..6df1f37fef --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityComponentArgs.cs @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + public sealed class EntityComponentArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the component. + /// + [Input("componentName")] + public Input? ComponentName { get; set; } + + /// + /// The ID of the component type. + /// + [Input("componentTypeId")] + public Input? ComponentTypeId { get; set; } + + /// + /// The name of the property definition set in the component. + /// + [Input("definedIn")] + public Input? DefinedIn { get; set; } + + /// + /// The description of the component. + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("properties")] + private InputMap? _properties; + + /// + /// 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. + /// + public InputMap Properties + { + get => _properties ?? (_properties = new InputMap()); + set => _properties = value; + } + + [Input("propertyGroups")] + private InputMap? _propertyGroups; + + /// + /// 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. + /// + public InputMap PropertyGroups + { + get => _propertyGroups ?? (_propertyGroups = new InputMap()); + set => _propertyGroups = value; + } + + /// + /// The current status of the entity. + /// + [Input("status")] + public Input? Status { get; set; } + + public EntityComponentArgs() + { + } + public static new EntityComponentArgs Empty => new EntityComponentArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityCompositeComponentArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityCompositeComponentArgs.cs new file mode 100644 index 0000000000..12778e7dce --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityCompositeComponentArgs.cs @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + public sealed class EntityCompositeComponentArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the component. + /// + [Input("componentName")] + public Input? ComponentName { get; set; } + + /// + /// The path of the component. + /// + [Input("componentPath")] + public Input? ComponentPath { get; set; } + + /// + /// The ID of the component type. + /// + [Input("componentTypeId")] + public Input? ComponentTypeId { get; set; } + + /// + /// The description of the component. + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("properties")] + private InputMap? _properties; + + /// + /// 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. + /// + public InputMap Properties + { + get => _properties ?? (_properties = new InputMap()); + set => _properties = value; + } + + [Input("propertyGroups")] + private InputMap? _propertyGroups; + + /// + /// 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. + /// + public InputMap PropertyGroups + { + get => _propertyGroups ?? (_propertyGroups = new InputMap()); + set => _propertyGroups = value; + } + + /// + /// The current status of the component. + /// + [Input("status")] + public Input? Status { get; set; } + + public EntityCompositeComponentArgs() + { + } + public static new EntityCompositeComponentArgs Empty => new EntityCompositeComponentArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityDataTypeArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityDataTypeArgs.cs new file mode 100644 index 0000000000..9ce1defab5 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityDataTypeArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// An object that specifies the data type of a property. + /// + public sealed class EntityDataTypeArgs : global::Pulumi.ResourceArgs + { + [Input("allowedValues")] + private InputList? _allowedValues; + + /// + /// The allowed values for this data type. + /// + public InputList AllowedValues + { + get => _allowedValues ?? (_allowedValues = new InputList()); + set => _allowedValues = value; + } + + /// + /// The nested type in the data type. + /// + [Input("nestedType")] + public Input? NestedType { get; set; } + + /// + /// A relationship that associates a component with another component. + /// + [Input("relationship")] + public Input? Relationship { get; set; } + + /// + /// The underlying type of the data type. + /// + [Input("type")] + public Input? Type { get; set; } + + /// + /// The unit of measure used in this data type. + /// + [Input("unitOfMeasure")] + public Input? UnitOfMeasure { get; set; } + + public EntityDataTypeArgs() + { + } + public static new EntityDataTypeArgs Empty => new EntityDataTypeArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityDataValueArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityDataValueArgs.cs new file mode 100644 index 0000000000..5fe25e8a58 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityDataValueArgs.cs @@ -0,0 +1,89 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// An object that specifies a value for a property. + /// + public sealed class EntityDataValueArgs : global::Pulumi.ResourceArgs + { + /// + /// A Boolean value. + /// + [Input("booleanValue")] + public Input? BooleanValue { get; set; } + + /// + /// A double value. + /// + [Input("doubleValue")] + public Input? DoubleValue { get; set; } + + /// + /// An expression that produces the value. + /// + [Input("expression")] + public Input? Expression { get; set; } + + /// + /// An integer value. + /// + [Input("integerValue")] + public Input? IntegerValue { get; set; } + + [Input("listValue")] + private InputList? _listValue; + + /// + /// A list of multiple values. + /// + public InputList ListValue + { + get => _listValue ?? (_listValue = new InputList()); + set => _listValue = value; + } + + /// + /// A long value. + /// + [Input("longValue")] + public Input? LongValue { get; set; } + + [Input("mapValue")] + private InputMap? _mapValue; + + /// + /// An object that maps strings to multiple DataValue objects. + /// + public InputMap MapValue + { + get => _mapValue ?? (_mapValue = new InputMap()); + set => _mapValue = value; + } + + /// + /// A value that relates a component to another component. + /// + [Input("relationshipValue")] + public Input? RelationshipValue { get; set; } + + /// + /// A string value. + /// + [Input("stringValue")] + public Input? StringValue { get; set; } + + public EntityDataValueArgs() + { + } + public static new EntityDataValueArgs Empty => new EntityDataValueArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityDataValueRelationshipValuePropertiesArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityDataValueRelationshipValuePropertiesArgs.cs new file mode 100644 index 0000000000..5cc19defa2 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityDataValueRelationshipValuePropertiesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// A value that relates a component to another component. + /// + public sealed class EntityDataValueRelationshipValuePropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("targetComponentName")] + public Input? TargetComponentName { get; set; } + + [Input("targetEntityId")] + public Input? TargetEntityId { get; set; } + + public EntityDataValueRelationshipValuePropertiesArgs() + { + } + public static new EntityDataValueRelationshipValuePropertiesArgs Empty => new EntityDataValueRelationshipValuePropertiesArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyArgs.cs new file mode 100644 index 0000000000..9970314539 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + public sealed class EntityPropertyArgs : global::Pulumi.ResourceArgs + { + /// + /// An object that specifies information about a property. + /// + [Input("definition")] + public Input? Definition { get; set; } + + /// + /// The value of the property. + /// + [Input("value")] + public Input? Value { get; set; } + + public EntityPropertyArgs() + { + } + public static new EntityPropertyArgs Empty => new EntityPropertyArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyDefinitionConfigurationArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyDefinitionConfigurationArgs.cs new file mode 100644 index 0000000000..d2f4c08902 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyDefinitionConfigurationArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// An object that specifies information about a property. + /// + public sealed class EntityPropertyDefinitionConfigurationArgs : global::Pulumi.ResourceArgs + { + public EntityPropertyDefinitionConfigurationArgs() + { + } + public static new EntityPropertyDefinitionConfigurationArgs Empty => new EntityPropertyDefinitionConfigurationArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyDefinitionPropertiesArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyDefinitionPropertiesArgs.cs new file mode 100644 index 0000000000..d4dc176ff8 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyDefinitionPropertiesArgs.cs @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// An object that specifies information about a property. + /// + public sealed class EntityPropertyDefinitionPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// An object that specifies information about a property. + /// + [Input("configuration")] + public Input? Configuration { get; set; } + + /// + /// An object that contains information about the data type. + /// + [Input("dataType")] + public Input? DataType { get; set; } + + /// + /// An object that contains the default value. + /// + [Input("defaultValue")] + public Input? DefaultValue { get; set; } + + /// + /// A Boolean value that specifies whether the property ID comes from an external data store. + /// + [Input("isExternalId")] + public Input? IsExternalId { get; set; } + + /// + /// A Boolean value that specifies whether the property definition can be updated. + /// + [Input("isFinal")] + public Input? IsFinal { get; set; } + + /// + /// A Boolean value that specifies whether the property definition is imported from an external data store. + /// + [Input("isImported")] + public Input? IsImported { get; set; } + + /// + /// A Boolean value that specifies whether the property definition is inherited from a parent entity. + /// + [Input("isInherited")] + public Input? IsInherited { get; set; } + + /// + /// A Boolean value that specifies whether the property is required. + /// + [Input("isRequiredInEntity")] + public Input? IsRequiredInEntity { get; set; } + + /// + /// A Boolean value that specifies whether the property is stored externally. + /// + [Input("isStoredExternally")] + public Input? IsStoredExternally { get; set; } + + /// + /// A Boolean value that specifies whether the property consists of time series data. + /// + [Input("isTimeSeries")] + public Input? IsTimeSeries { get; set; } + + public EntityPropertyDefinitionPropertiesArgs() + { + } + public static new EntityPropertyDefinitionPropertiesArgs Empty => new EntityPropertyDefinitionPropertiesArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyGroupArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyGroupArgs.cs new file mode 100644 index 0000000000..862c73bb6c --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityPropertyGroupArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// An object that specifies information about a property group. + /// + public sealed class EntityPropertyGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of property group. + /// + [Input("groupType")] + public Input? GroupType { get; set; } + + [Input("propertyNames")] + private InputList? _propertyNames; + + /// + /// The list of property names in the property group. + /// + public InputList PropertyNames + { + get => _propertyNames ?? (_propertyNames = new InputList()); + set => _propertyNames = value; + } + + public EntityPropertyGroupArgs() + { + } + public static new EntityPropertyGroupArgs Empty => new EntityPropertyGroupArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityRelationshipArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityRelationshipArgs.cs new file mode 100644 index 0000000000..9757940304 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityRelationshipArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// The type of the relationship. + /// + public sealed class EntityRelationshipArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of the relationship. + /// + [Input("relationshipType")] + public Input? RelationshipType { get; set; } + + /// + /// The ID of the target component type associated with this relationship. + /// + [Input("targetComponentTypeId")] + public Input? TargetComponentTypeId { get; set; } + + public EntityRelationshipArgs() + { + } + public static new EntityRelationshipArgs Empty => new EntityRelationshipArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityStatusArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityStatusArgs.cs new file mode 100644 index 0000000000..243943234a --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityStatusArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + public sealed class EntityStatusArgs : global::Pulumi.ResourceArgs + { + [Input("error")] + public InputUnion? Error { get; set; } + + [Input("state")] + public Input? State { get; set; } + + public EntityStatusArgs() + { + } + public static new EntityStatusArgs Empty => new EntityStatusArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Inputs/EntityStatusErrorPropertiesArgs.cs b/sdk/dotnet/IoTTwinMaker/Inputs/EntityStatusErrorPropertiesArgs.cs new file mode 100644 index 0000000000..70aef4ba11 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Inputs/EntityStatusErrorPropertiesArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Inputs +{ + + /// + /// Error object with Message and Code. + /// + public sealed class EntityStatusErrorPropertiesArgs : global::Pulumi.ResourceArgs + { + [Input("code")] + public Input? Code { get; set; } + + [Input("message")] + public Input? Message { get; set; } + + public EntityStatusErrorPropertiesArgs() + { + } + public static new EntityStatusErrorPropertiesArgs Empty => new EntityStatusErrorPropertiesArgs(); + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeCompositeComponentType.cs b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeCompositeComponentType.cs new file mode 100644 index 0000000000..b01335fff1 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeCompositeComponentType.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// An object that sets information about a composite component type. + /// + [OutputType] + public sealed class ComponentTypeCompositeComponentType + { + /// + /// The id of the composite component type. + /// + public readonly string? ComponentTypeId; + + [OutputConstructor] + private ComponentTypeCompositeComponentType(string? componentTypeId) + { + ComponentTypeId = componentTypeId; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataConnector.cs b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataConnector.cs new file mode 100644 index 0000000000..6c233dd9d1 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataConnector.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// The data connector. + /// + [OutputType] + public sealed class ComponentTypeDataConnector + { + /// + /// A Boolean value that specifies whether the data connector is native to IoT TwinMaker. + /// + public readonly bool? IsNative; + /// + /// The Lambda function associated with this data connector. + /// + public readonly Outputs.ComponentTypeLambdaFunction? Lambda; + + [OutputConstructor] + private ComponentTypeDataConnector( + bool? isNative, + + Outputs.ComponentTypeLambdaFunction? lambda) + { + IsNative = isNative; + Lambda = lambda; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataType.cs b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataType.cs new file mode 100644 index 0000000000..15ab723904 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataType.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// An object that specifies the data type of a property. + /// + [OutputType] + public sealed class ComponentTypeDataType + { + /// + /// The allowed values for this data type. + /// + public readonly ImmutableArray AllowedValues; + /// + /// The nested type in the data type. + /// + public readonly Outputs.ComponentTypeDataType? NestedType; + /// + /// A relationship that associates a component with another component. + /// + public readonly Outputs.ComponentTypeRelationship? Relationship; + /// + /// The underlying type of the data type. + /// + public readonly Pulumi.AwsNative.IoTTwinMaker.ComponentTypeDataTypeType Type; + /// + /// The unit of measure used in this data type. + /// + public readonly string? UnitOfMeasure; + + [OutputConstructor] + private ComponentTypeDataType( + ImmutableArray allowedValues, + + Outputs.ComponentTypeDataType? nestedType, + + Outputs.ComponentTypeRelationship? relationship, + + Pulumi.AwsNative.IoTTwinMaker.ComponentTypeDataTypeType type, + + string? unitOfMeasure) + { + AllowedValues = allowedValues; + NestedType = nestedType; + Relationship = relationship; + Type = type; + UnitOfMeasure = unitOfMeasure; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataValue.cs b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataValue.cs new file mode 100644 index 0000000000..8179318471 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataValue.cs @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// An object that specifies a value for a property. + /// + [OutputType] + public sealed class ComponentTypeDataValue + { + /// + /// A Boolean value. + /// + public readonly bool? BooleanValue; + /// + /// A double value. + /// + public readonly double? DoubleValue; + /// + /// An expression that produces the value. + /// + public readonly string? Expression; + /// + /// An integer value. + /// + public readonly int? IntegerValue; + /// + /// A list of multiple values. + /// + public readonly ImmutableArray ListValue; + /// + /// A long value. + /// + public readonly double? LongValue; + /// + /// An object that maps strings to multiple DataValue objects. + /// + public readonly ImmutableDictionary? MapValue; + /// + /// A value that relates a component to another component. + /// + public readonly Outputs.ComponentTypeDataValueRelationshipValueProperties? RelationshipValue; + /// + /// A string value. + /// + public readonly string? StringValue; + + [OutputConstructor] + private ComponentTypeDataValue( + bool? booleanValue, + + double? doubleValue, + + string? expression, + + int? integerValue, + + ImmutableArray listValue, + + double? longValue, + + ImmutableDictionary? mapValue, + + Outputs.ComponentTypeDataValueRelationshipValueProperties? relationshipValue, + + string? stringValue) + { + BooleanValue = booleanValue; + DoubleValue = doubleValue; + Expression = expression; + IntegerValue = integerValue; + ListValue = listValue; + LongValue = longValue; + MapValue = mapValue; + RelationshipValue = relationshipValue; + StringValue = stringValue; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataValueRelationshipValueProperties.cs b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataValueRelationshipValueProperties.cs new file mode 100644 index 0000000000..19c5ab3385 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeDataValueRelationshipValueProperties.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// A value that relates a component to another component. + /// + [OutputType] + public sealed class ComponentTypeDataValueRelationshipValueProperties + { + public readonly string? TargetComponentName; + public readonly string? TargetEntityId; + + [OutputConstructor] + private ComponentTypeDataValueRelationshipValueProperties( + string? targetComponentName, + + string? targetEntityId) + { + TargetComponentName = targetComponentName; + TargetEntityId = targetEntityId; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeFunction.cs b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeFunction.cs new file mode 100644 index 0000000000..90328bbd83 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeFunction.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// The function of component type. + /// + [OutputType] + public sealed class ComponentTypeFunction + { + /// + /// The data connector. + /// + public readonly Outputs.ComponentTypeDataConnector? ImplementedBy; + /// + /// The required properties of the function. + /// + public readonly ImmutableArray RequiredProperties; + /// + /// The scope of the function. + /// + public readonly Pulumi.AwsNative.IoTTwinMaker.ComponentTypeFunctionScope? Scope; + + [OutputConstructor] + private ComponentTypeFunction( + Outputs.ComponentTypeDataConnector? implementedBy, + + ImmutableArray requiredProperties, + + Pulumi.AwsNative.IoTTwinMaker.ComponentTypeFunctionScope? scope) + { + ImplementedBy = implementedBy; + RequiredProperties = requiredProperties; + Scope = scope; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeLambdaFunction.cs b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeLambdaFunction.cs new file mode 100644 index 0000000000..350607d7fe --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeLambdaFunction.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + [OutputType] + public sealed class ComponentTypeLambdaFunction + { + public readonly string Arn; + + [OutputConstructor] + private ComponentTypeLambdaFunction(string arn) + { + Arn = arn; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypePropertyDefinition.cs b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypePropertyDefinition.cs new file mode 100644 index 0000000000..acb7795cc6 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypePropertyDefinition.cs @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// An object that sets information about a property. + /// + [OutputType] + public sealed class ComponentTypePropertyDefinition + { + /// + /// An object that specifies information about a property. + /// + public readonly ImmutableDictionary? Configurations; + /// + /// An object that contains information about the data type. + /// + public readonly Outputs.ComponentTypeDataType? DataType; + /// + /// An object that contains the default value. + /// + public readonly Outputs.ComponentTypeDataValue? DefaultValue; + /// + /// A Boolean value that specifies whether the property ID comes from an external data store. + /// + public readonly bool? IsExternalId; + /// + /// A Boolean value that specifies whether the property is required. + /// + public readonly bool? IsRequiredInEntity; + /// + /// A Boolean value that specifies whether the property is stored externally. + /// + public readonly bool? IsStoredExternally; + /// + /// A Boolean value that specifies whether the property consists of time series data. + /// + public readonly bool? IsTimeSeries; + + [OutputConstructor] + private ComponentTypePropertyDefinition( + ImmutableDictionary? configurations, + + Outputs.ComponentTypeDataType? dataType, + + Outputs.ComponentTypeDataValue? defaultValue, + + bool? isExternalId, + + bool? isRequiredInEntity, + + bool? isStoredExternally, + + bool? isTimeSeries) + { + Configurations = configurations; + DataType = dataType; + DefaultValue = defaultValue; + IsExternalId = isExternalId; + IsRequiredInEntity = isRequiredInEntity; + IsStoredExternally = isStoredExternally; + IsTimeSeries = isTimeSeries; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypePropertyGroup.cs b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypePropertyGroup.cs new file mode 100644 index 0000000000..45d1738e67 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypePropertyGroup.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// An object that sets information about a property group. + /// + [OutputType] + public sealed class ComponentTypePropertyGroup + { + /// + /// The type of property group. + /// + public readonly Pulumi.AwsNative.IoTTwinMaker.ComponentTypePropertyGroupGroupType? GroupType; + /// + /// The list of property names in the property group. + /// + public readonly ImmutableArray PropertyNames; + + [OutputConstructor] + private ComponentTypePropertyGroup( + Pulumi.AwsNative.IoTTwinMaker.ComponentTypePropertyGroupGroupType? groupType, + + ImmutableArray propertyNames) + { + GroupType = groupType; + PropertyNames = propertyNames; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeRelationship.cs b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeRelationship.cs new file mode 100644 index 0000000000..0d7cb864e5 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/ComponentTypeRelationship.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// The type of the relationship. + /// + [OutputType] + public sealed class ComponentTypeRelationship + { + /// + /// The type of the relationship. + /// + public readonly string? RelationshipType; + /// + /// The ID of the target component type associated with this relationship. + /// + public readonly string? TargetComponentTypeId; + + [OutputConstructor] + private ComponentTypeRelationship( + string? relationshipType, + + string? targetComponentTypeId) + { + RelationshipType = relationshipType; + TargetComponentTypeId = targetComponentTypeId; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/EntityComponent.cs b/sdk/dotnet/IoTTwinMaker/Outputs/EntityComponent.cs new file mode 100644 index 0000000000..97e993c649 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/EntityComponent.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + [OutputType] + public sealed class EntityComponent + { + /// + /// The name of the component. + /// + public readonly string? ComponentName; + /// + /// The ID of the component type. + /// + public readonly string? ComponentTypeId; + /// + /// The name of the property definition set in the component. + /// + public readonly string? DefinedIn; + /// + /// The description of the component. + /// + public readonly string? Description; + /// + /// 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. + /// + public readonly ImmutableDictionary? Properties; + /// + /// 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. + /// + public readonly ImmutableDictionary? PropertyGroups; + /// + /// The current status of the entity. + /// + public readonly Outputs.EntityStatus? Status; + + [OutputConstructor] + private EntityComponent( + string? componentName, + + string? componentTypeId, + + string? definedIn, + + string? description, + + ImmutableDictionary? properties, + + ImmutableDictionary? propertyGroups, + + Outputs.EntityStatus? status) + { + ComponentName = componentName; + ComponentTypeId = componentTypeId; + DefinedIn = definedIn; + Description = description; + Properties = properties; + PropertyGroups = propertyGroups; + Status = status; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/EntityCompositeComponent.cs b/sdk/dotnet/IoTTwinMaker/Outputs/EntityCompositeComponent.cs new file mode 100644 index 0000000000..cd7b5d0e05 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/EntityCompositeComponent.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + [OutputType] + public sealed class EntityCompositeComponent + { + /// + /// The name of the component. + /// + public readonly string? ComponentName; + /// + /// The path of the component. + /// + public readonly string? ComponentPath; + /// + /// The ID of the component type. + /// + public readonly string? ComponentTypeId; + /// + /// The description of the component. + /// + public readonly string? Description; + /// + /// 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. + /// + public readonly ImmutableDictionary? Properties; + /// + /// 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. + /// + public readonly ImmutableDictionary? PropertyGroups; + /// + /// The current status of the component. + /// + public readonly Outputs.EntityStatus? Status; + + [OutputConstructor] + private EntityCompositeComponent( + string? componentName, + + string? componentPath, + + string? componentTypeId, + + string? description, + + ImmutableDictionary? properties, + + ImmutableDictionary? propertyGroups, + + Outputs.EntityStatus? status) + { + ComponentName = componentName; + ComponentPath = componentPath; + ComponentTypeId = componentTypeId; + Description = description; + Properties = properties; + PropertyGroups = propertyGroups; + Status = status; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/EntityDataType.cs b/sdk/dotnet/IoTTwinMaker/Outputs/EntityDataType.cs new file mode 100644 index 0000000000..8aa6eeaf99 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/EntityDataType.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// An object that specifies the data type of a property. + /// + [OutputType] + public sealed class EntityDataType + { + /// + /// The allowed values for this data type. + /// + public readonly ImmutableArray AllowedValues; + /// + /// The nested type in the data type. + /// + public readonly Outputs.EntityDataType? NestedType; + /// + /// A relationship that associates a component with another component. + /// + public readonly Outputs.EntityRelationship? Relationship; + /// + /// The underlying type of the data type. + /// + public readonly Pulumi.AwsNative.IoTTwinMaker.EntityDataTypeType? Type; + /// + /// The unit of measure used in this data type. + /// + public readonly string? UnitOfMeasure; + + [OutputConstructor] + private EntityDataType( + ImmutableArray allowedValues, + + Outputs.EntityDataType? nestedType, + + Outputs.EntityRelationship? relationship, + + Pulumi.AwsNative.IoTTwinMaker.EntityDataTypeType? type, + + string? unitOfMeasure) + { + AllowedValues = allowedValues; + NestedType = nestedType; + Relationship = relationship; + Type = type; + UnitOfMeasure = unitOfMeasure; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/EntityDataValue.cs b/sdk/dotnet/IoTTwinMaker/Outputs/EntityDataValue.cs new file mode 100644 index 0000000000..0729b6a6e7 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/EntityDataValue.cs @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// An object that specifies a value for a property. + /// + [OutputType] + public sealed class EntityDataValue + { + /// + /// A Boolean value. + /// + public readonly bool? BooleanValue; + /// + /// A double value. + /// + public readonly double? DoubleValue; + /// + /// An expression that produces the value. + /// + public readonly string? Expression; + /// + /// An integer value. + /// + public readonly int? IntegerValue; + /// + /// A list of multiple values. + /// + public readonly ImmutableArray ListValue; + /// + /// A long value. + /// + public readonly double? LongValue; + /// + /// An object that maps strings to multiple DataValue objects. + /// + public readonly ImmutableDictionary? MapValue; + /// + /// A value that relates a component to another component. + /// + public readonly Outputs.EntityDataValueRelationshipValueProperties? RelationshipValue; + /// + /// A string value. + /// + public readonly string? StringValue; + + [OutputConstructor] + private EntityDataValue( + bool? booleanValue, + + double? doubleValue, + + string? expression, + + int? integerValue, + + ImmutableArray listValue, + + double? longValue, + + ImmutableDictionary? mapValue, + + Outputs.EntityDataValueRelationshipValueProperties? relationshipValue, + + string? stringValue) + { + BooleanValue = booleanValue; + DoubleValue = doubleValue; + Expression = expression; + IntegerValue = integerValue; + ListValue = listValue; + LongValue = longValue; + MapValue = mapValue; + RelationshipValue = relationshipValue; + StringValue = stringValue; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/EntityDataValueRelationshipValueProperties.cs b/sdk/dotnet/IoTTwinMaker/Outputs/EntityDataValueRelationshipValueProperties.cs new file mode 100644 index 0000000000..94272691e5 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/EntityDataValueRelationshipValueProperties.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// A value that relates a component to another component. + /// + [OutputType] + public sealed class EntityDataValueRelationshipValueProperties + { + public readonly string? TargetComponentName; + public readonly string? TargetEntityId; + + [OutputConstructor] + private EntityDataValueRelationshipValueProperties( + string? targetComponentName, + + string? targetEntityId) + { + TargetComponentName = targetComponentName; + TargetEntityId = targetEntityId; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/EntityProperty.cs b/sdk/dotnet/IoTTwinMaker/Outputs/EntityProperty.cs new file mode 100644 index 0000000000..525a780483 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/EntityProperty.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + [OutputType] + public sealed class EntityProperty + { + /// + /// An object that specifies information about a property. + /// + public readonly Outputs.EntityPropertyDefinitionProperties? Definition; + /// + /// The value of the property. + /// + public readonly Outputs.EntityDataValue? Value; + + [OutputConstructor] + private EntityProperty( + Outputs.EntityPropertyDefinitionProperties? definition, + + Outputs.EntityDataValue? value) + { + Definition = definition; + Value = value; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/EntityPropertyDefinitionConfiguration.cs b/sdk/dotnet/IoTTwinMaker/Outputs/EntityPropertyDefinitionConfiguration.cs new file mode 100644 index 0000000000..44f7d8a851 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/EntityPropertyDefinitionConfiguration.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// An object that specifies information about a property. + /// + [OutputType] + public sealed class EntityPropertyDefinitionConfiguration + { + [OutputConstructor] + private EntityPropertyDefinitionConfiguration() + { + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/EntityPropertyDefinitionProperties.cs b/sdk/dotnet/IoTTwinMaker/Outputs/EntityPropertyDefinitionProperties.cs new file mode 100644 index 0000000000..0f020396a0 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/EntityPropertyDefinitionProperties.cs @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// An object that specifies information about a property. + /// + [OutputType] + public sealed class EntityPropertyDefinitionProperties + { + /// + /// An object that specifies information about a property. + /// + public readonly Outputs.EntityPropertyDefinitionConfiguration? Configuration; + /// + /// An object that contains information about the data type. + /// + public readonly Outputs.EntityDataType? DataType; + /// + /// An object that contains the default value. + /// + public readonly Outputs.EntityDataValue? DefaultValue; + /// + /// A Boolean value that specifies whether the property ID comes from an external data store. + /// + public readonly bool? IsExternalId; + /// + /// A Boolean value that specifies whether the property definition can be updated. + /// + public readonly bool? IsFinal; + /// + /// A Boolean value that specifies whether the property definition is imported from an external data store. + /// + public readonly bool? IsImported; + /// + /// A Boolean value that specifies whether the property definition is inherited from a parent entity. + /// + public readonly bool? IsInherited; + /// + /// A Boolean value that specifies whether the property is required. + /// + public readonly bool? IsRequiredInEntity; + /// + /// A Boolean value that specifies whether the property is stored externally. + /// + public readonly bool? IsStoredExternally; + /// + /// A Boolean value that specifies whether the property consists of time series data. + /// + public readonly bool? IsTimeSeries; + + [OutputConstructor] + private EntityPropertyDefinitionProperties( + Outputs.EntityPropertyDefinitionConfiguration? configuration, + + Outputs.EntityDataType? dataType, + + Outputs.EntityDataValue? defaultValue, + + bool? isExternalId, + + bool? isFinal, + + bool? isImported, + + bool? isInherited, + + bool? isRequiredInEntity, + + bool? isStoredExternally, + + bool? isTimeSeries) + { + Configuration = configuration; + DataType = dataType; + DefaultValue = defaultValue; + IsExternalId = isExternalId; + IsFinal = isFinal; + IsImported = isImported; + IsInherited = isInherited; + IsRequiredInEntity = isRequiredInEntity; + IsStoredExternally = isStoredExternally; + IsTimeSeries = isTimeSeries; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/EntityPropertyGroup.cs b/sdk/dotnet/IoTTwinMaker/Outputs/EntityPropertyGroup.cs new file mode 100644 index 0000000000..141e3fb910 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/EntityPropertyGroup.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// An object that specifies information about a property group. + /// + [OutputType] + public sealed class EntityPropertyGroup + { + /// + /// The type of property group. + /// + public readonly Pulumi.AwsNative.IoTTwinMaker.EntityPropertyGroupGroupType? GroupType; + /// + /// The list of property names in the property group. + /// + public readonly ImmutableArray PropertyNames; + + [OutputConstructor] + private EntityPropertyGroup( + Pulumi.AwsNative.IoTTwinMaker.EntityPropertyGroupGroupType? groupType, + + ImmutableArray propertyNames) + { + GroupType = groupType; + PropertyNames = propertyNames; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Outputs/EntityRelationship.cs b/sdk/dotnet/IoTTwinMaker/Outputs/EntityRelationship.cs new file mode 100644 index 0000000000..abe49b81f9 --- /dev/null +++ b/sdk/dotnet/IoTTwinMaker/Outputs/EntityRelationship.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.IoTTwinMaker.Outputs +{ + + /// + /// The type of the relationship. + /// + [OutputType] + public sealed class EntityRelationship + { + /// + /// The type of the relationship. + /// + public readonly string? RelationshipType; + /// + /// The ID of the target component type associated with this relationship. + /// + public readonly string? TargetComponentTypeId; + + [OutputConstructor] + private EntityRelationship( + string? relationshipType, + + string? targetComponentTypeId) + { + RelationshipType = relationshipType; + TargetComponentTypeId = targetComponentTypeId; + } + } +} diff --git a/sdk/dotnet/IoTTwinMaker/Scene.cs b/sdk/dotnet/IoTTwinMaker/Scene.cs index c90a4d988f..1ae20754de 100644 --- a/sdk/dotnet/IoTTwinMaker/Scene.cs +++ b/sdk/dotnet/IoTTwinMaker/Scene.cs @@ -49,7 +49,7 @@ public partial class Scene : global::Pulumi.CustomResource /// A key-value pair of generated scene metadata for the scene. /// [Output("generatedSceneMetadata")] - public Output GeneratedSceneMetadata { get; private set; } = null!; + public Output> GeneratedSceneMetadata { get; private set; } = null!; /// /// The ID of the scene. @@ -61,13 +61,13 @@ public partial class Scene : global::Pulumi.CustomResource /// A key-value pair of scene metadata for the scene. /// [Output("sceneMetadata")] - public Output SceneMetadata { get; private set; } = null!; + public Output?> SceneMetadata { get; private set; } = null!; /// /// A key-value pair to associate with a resource. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The date and time of the current update. @@ -161,17 +161,29 @@ public InputList Capabilities [Input("sceneId", required: true)] public Input SceneId { get; set; } = null!; + [Input("sceneMetadata")] + private InputMap? _sceneMetadata; + /// /// A key-value pair of scene metadata for the scene. /// - [Input("sceneMetadata")] - public Input? SceneMetadata { get; set; } + public InputMap SceneMetadata + { + get => _sceneMetadata ?? (_sceneMetadata = new InputMap()); + set => _sceneMetadata = value; + } + + [Input("tags")] + private InputMap? _tags; /// /// A key-value pair to associate with a resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// The ID of the scene. diff --git a/sdk/dotnet/IoTTwinMaker/SyncJob.cs b/sdk/dotnet/IoTTwinMaker/SyncJob.cs index b7a9cfafa7..737b150a3b 100644 --- a/sdk/dotnet/IoTTwinMaker/SyncJob.cs +++ b/sdk/dotnet/IoTTwinMaker/SyncJob.cs @@ -49,7 +49,7 @@ public partial class SyncJob : global::Pulumi.CustomResource /// A key-value pair to associate with a resource. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The date and time when the sync job was updated. @@ -90,7 +90,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { "syncRole", "syncSource", - "tags", + "tags.*", "workspaceId", }, }; @@ -127,11 +127,17 @@ public sealed class SyncJobArgs : global::Pulumi.ResourceArgs [Input("syncSource", required: true)] public Input SyncSource { get; set; } = null!; + [Input("tags")] + private InputMap? _tags; + /// /// A key-value pair to associate with a resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// The ID of the workspace. diff --git a/sdk/dotnet/IoTTwinMaker/Workspace.cs b/sdk/dotnet/IoTTwinMaker/Workspace.cs index 224cb380aa..664c2ff275 100644 --- a/sdk/dotnet/IoTTwinMaker/Workspace.cs +++ b/sdk/dotnet/IoTTwinMaker/Workspace.cs @@ -49,7 +49,7 @@ public partial class Workspace : global::Pulumi.CustomResource /// A map of key-value pairs to associate with a resource. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The date and time of the current update. @@ -130,11 +130,17 @@ public sealed class WorkspaceArgs : global::Pulumi.ResourceArgs [Input("s3Location", required: true)] public Input S3Location { get; set; } = null!; + [Input("tags")] + private InputMap? _tags; + /// /// A map of key-value pairs to associate with a resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// The ID of the workspace. diff --git a/sdk/dotnet/KafkaConnect/Connector.cs b/sdk/dotnet/KafkaConnect/Connector.cs index 5fb59397e5..5e7d232c29 100644 --- a/sdk/dotnet/KafkaConnect/Connector.cs +++ b/sdk/dotnet/KafkaConnect/Connector.cs @@ -28,7 +28,7 @@ public partial class Connector : global::Pulumi.CustomResource /// The configuration for the connector. /// [Output("connectorConfiguration")] - public Output ConnectorConfiguration { get; private set; } = null!; + public Output> ConnectorConfiguration { get; private set; } = null!; /// /// A summary description of the connector. @@ -100,7 +100,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, ReplaceOnChanges = { - "connectorConfiguration", + "connectorConfiguration.*", "connectorDescription", "connectorName", "kafkaCluster", @@ -137,11 +137,17 @@ public sealed class ConnectorArgs : global::Pulumi.ResourceArgs [Input("capacity", required: true)] public Input Capacity { get; set; } = null!; + [Input("connectorConfiguration", required: true)] + private InputMap? _connectorConfiguration; + /// /// The configuration for the connector. /// - [Input("connectorConfiguration", required: true)] - public Input ConnectorConfiguration { get; set; } = null!; + public InputMap ConnectorConfiguration + { + get => _connectorConfiguration ?? (_connectorConfiguration = new InputMap()); + set => _connectorConfiguration = value; + } /// /// A summary description of the connector. diff --git a/sdk/dotnet/Lambda/Inputs/FunctionEnvironmentArgs.cs b/sdk/dotnet/Lambda/Inputs/FunctionEnvironmentArgs.cs index f8e9af512a..5f0af00b27 100644 --- a/sdk/dotnet/Lambda/Inputs/FunctionEnvironmentArgs.cs +++ b/sdk/dotnet/Lambda/Inputs/FunctionEnvironmentArgs.cs @@ -15,11 +15,17 @@ namespace Pulumi.AwsNative.Lambda.Inputs /// public sealed class FunctionEnvironmentArgs : global::Pulumi.ResourceArgs { + [Input("variables")] + private InputMap? _variables; + /// /// Environment variable key-value pairs. /// - [Input("variables")] - public Input? Variables { get; set; } + public InputMap Variables + { + get => _variables ?? (_variables = new InputMap()); + set => _variables = value; + } public FunctionEnvironmentArgs() { diff --git a/sdk/dotnet/Lambda/Outputs/FunctionEnvironment.cs b/sdk/dotnet/Lambda/Outputs/FunctionEnvironment.cs index 58e3207474..5ae341dbe3 100644 --- a/sdk/dotnet/Lambda/Outputs/FunctionEnvironment.cs +++ b/sdk/dotnet/Lambda/Outputs/FunctionEnvironment.cs @@ -19,10 +19,10 @@ public sealed class FunctionEnvironment /// /// Environment variable key-value pairs. /// - public readonly object? Variables; + public readonly ImmutableDictionary? Variables; [OutputConstructor] - private FunctionEnvironment(object? variables) + private FunctionEnvironment(ImmutableDictionary? variables) { Variables = variables; } diff --git a/sdk/dotnet/Lex/Inputs/BotAllowedInputTypesArgs.cs b/sdk/dotnet/Lex/Inputs/BotAllowedInputTypesArgs.cs new file mode 100644 index 0000000000..3f82484471 --- /dev/null +++ b/sdk/dotnet/Lex/Inputs/BotAllowedInputTypesArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Inputs +{ + + /// + /// Specifies the allowed input types. + /// + public sealed class BotAllowedInputTypesArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates whether audio input is allowed. + /// + [Input("allowAudioInput", required: true)] + public Input AllowAudioInput { get; set; } = null!; + + /// + /// Indicates whether DTMF input is allowed. + /// + [Input("allowDtmfInput", required: true)] + public Input AllowDtmfInput { get; set; } = null!; + + public BotAllowedInputTypesArgs() + { + } + public static new BotAllowedInputTypesArgs Empty => new BotAllowedInputTypesArgs(); + } +} diff --git a/sdk/dotnet/Lex/Inputs/BotAudioAndDtmfInputSpecificationArgs.cs b/sdk/dotnet/Lex/Inputs/BotAudioAndDtmfInputSpecificationArgs.cs new file mode 100644 index 0000000000..ddbc2b26c9 --- /dev/null +++ b/sdk/dotnet/Lex/Inputs/BotAudioAndDtmfInputSpecificationArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Inputs +{ + + /// + /// Specifies the audio and DTMF input specification. + /// + public sealed class BotAudioAndDtmfInputSpecificationArgs : global::Pulumi.ResourceArgs + { + [Input("audioSpecification")] + public Input? AudioSpecification { get; set; } + + [Input("dtmfSpecification")] + public Input? DtmfSpecification { get; set; } + + /// + /// 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. + /// + [Input("startTimeoutMs", required: true)] + public Input StartTimeoutMs { get; set; } = null!; + + public BotAudioAndDtmfInputSpecificationArgs() + { + } + public static new BotAudioAndDtmfInputSpecificationArgs Empty => new BotAudioAndDtmfInputSpecificationArgs(); + } +} diff --git a/sdk/dotnet/Lex/Inputs/BotAudioSpecificationArgs.cs b/sdk/dotnet/Lex/Inputs/BotAudioSpecificationArgs.cs new file mode 100644 index 0000000000..fcd538a8de --- /dev/null +++ b/sdk/dotnet/Lex/Inputs/BotAudioSpecificationArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Inputs +{ + + /// + /// Specifies the audio input specifications. + /// + public sealed class BotAudioSpecificationArgs : global::Pulumi.ResourceArgs + { + /// + /// Time for which a bot waits after the customer stops speaking to assume the utterance is finished. + /// + [Input("endTimeoutMs", required: true)] + public Input EndTimeoutMs { get; set; } = null!; + + /// + /// Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. + /// + [Input("maxLengthMs", required: true)] + public Input MaxLengthMs { get; set; } = null!; + + public BotAudioSpecificationArgs() + { + } + public static new BotAudioSpecificationArgs Empty => new BotAudioSpecificationArgs(); + } +} diff --git a/sdk/dotnet/Lex/Inputs/BotDtmfSpecificationArgs.cs b/sdk/dotnet/Lex/Inputs/BotDtmfSpecificationArgs.cs new file mode 100644 index 0000000000..f86bb7dfd4 --- /dev/null +++ b/sdk/dotnet/Lex/Inputs/BotDtmfSpecificationArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Inputs +{ + + /// + /// Specifies the settings on DTMF input. + /// + public sealed class BotDtmfSpecificationArgs : global::Pulumi.ResourceArgs + { + /// + /// The DTMF character that clears the accumulated DTMF digits and immediately ends the input. + /// + [Input("deletionCharacter", required: true)] + public Input DeletionCharacter { get; set; } = null!; + + /// + /// The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. + /// + [Input("endCharacter", required: true)] + public Input EndCharacter { get; set; } = null!; + + /// + /// How long the bot should wait after the last DTMF character input before assuming that the input has concluded. + /// + [Input("endTimeoutMs", required: true)] + public Input EndTimeoutMs { get; set; } = null!; + + /// + /// The maximum number of DTMF digits allowed in an utterance. + /// + [Input("maxLength", required: true)] + public Input MaxLength { get; set; } = null!; + + public BotDtmfSpecificationArgs() + { + } + public static new BotDtmfSpecificationArgs Empty => new BotDtmfSpecificationArgs(); + } +} diff --git a/sdk/dotnet/Lex/Inputs/BotPromptAttemptSpecificationArgs.cs b/sdk/dotnet/Lex/Inputs/BotPromptAttemptSpecificationArgs.cs new file mode 100644 index 0000000000..077fc77942 --- /dev/null +++ b/sdk/dotnet/Lex/Inputs/BotPromptAttemptSpecificationArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Inputs +{ + + /// + /// Specifies the settings on a prompt attempt. + /// + public sealed class BotPromptAttemptSpecificationArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates whether the user can interrupt a speech prompt attempt from the bot. + /// + [Input("allowInterrupt")] + public Input? AllowInterrupt { get; set; } + + [Input("allowedInputTypes", required: true)] + public Input AllowedInputTypes { get; set; } = null!; + + [Input("audioAndDtmfInputSpecification")] + public Input? AudioAndDtmfInputSpecification { get; set; } + + [Input("textInputSpecification")] + public Input? TextInputSpecification { get; set; } + + public BotPromptAttemptSpecificationArgs() + { + } + public static new BotPromptAttemptSpecificationArgs Empty => new BotPromptAttemptSpecificationArgs(); + } +} diff --git a/sdk/dotnet/Lex/Inputs/BotPromptSpecificationArgs.cs b/sdk/dotnet/Lex/Inputs/BotPromptSpecificationArgs.cs index 44123bf51f..33f1240bd6 100644 --- a/sdk/dotnet/Lex/Inputs/BotPromptSpecificationArgs.cs +++ b/sdk/dotnet/Lex/Inputs/BotPromptSpecificationArgs.cs @@ -35,11 +35,17 @@ public InputList MessageGroupsList [Input("messageSelectionStrategy")] public Input? MessageSelectionStrategy { get; set; } + [Input("promptAttemptsSpecification")] + private InputMap? _promptAttemptsSpecification; + /// /// Specifies the advanced settings on each attempt of the prompt. /// - [Input("promptAttemptsSpecification")] - public Input? PromptAttemptsSpecification { get; set; } + public InputMap PromptAttemptsSpecification + { + get => _promptAttemptsSpecification ?? (_promptAttemptsSpecification = new InputMap()); + set => _promptAttemptsSpecification = value; + } public BotPromptSpecificationArgs() { diff --git a/sdk/dotnet/Lex/Inputs/BotTextInputSpecificationArgs.cs b/sdk/dotnet/Lex/Inputs/BotTextInputSpecificationArgs.cs new file mode 100644 index 0000000000..4860043248 --- /dev/null +++ b/sdk/dotnet/Lex/Inputs/BotTextInputSpecificationArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Inputs +{ + + /// + /// Specifies the text input specifications. + /// + public sealed class BotTextInputSpecificationArgs : global::Pulumi.ResourceArgs + { + /// + /// Time for which a bot waits before re-prompting a customer for text input. + /// + [Input("startTimeoutMs", required: true)] + public Input StartTimeoutMs { get; set; } = null!; + + public BotTextInputSpecificationArgs() + { + } + public static new BotTextInputSpecificationArgs Empty => new BotTextInputSpecificationArgs(); + } +} diff --git a/sdk/dotnet/Lex/Outputs/BotAllowedInputTypes.cs b/sdk/dotnet/Lex/Outputs/BotAllowedInputTypes.cs new file mode 100644 index 0000000000..28dbb99b59 --- /dev/null +++ b/sdk/dotnet/Lex/Outputs/BotAllowedInputTypes.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Outputs +{ + + /// + /// Specifies the allowed input types. + /// + [OutputType] + public sealed class BotAllowedInputTypes + { + /// + /// Indicates whether audio input is allowed. + /// + public readonly bool AllowAudioInput; + /// + /// Indicates whether DTMF input is allowed. + /// + public readonly bool AllowDtmfInput; + + [OutputConstructor] + private BotAllowedInputTypes( + bool allowAudioInput, + + bool allowDtmfInput) + { + AllowAudioInput = allowAudioInput; + AllowDtmfInput = allowDtmfInput; + } + } +} diff --git a/sdk/dotnet/Lex/Outputs/BotAudioAndDtmfInputSpecification.cs b/sdk/dotnet/Lex/Outputs/BotAudioAndDtmfInputSpecification.cs new file mode 100644 index 0000000000..f69523a893 --- /dev/null +++ b/sdk/dotnet/Lex/Outputs/BotAudioAndDtmfInputSpecification.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Outputs +{ + + /// + /// Specifies the audio and DTMF input specification. + /// + [OutputType] + public sealed class BotAudioAndDtmfInputSpecification + { + public readonly Outputs.BotAudioSpecification? AudioSpecification; + public readonly Outputs.BotDtmfSpecification? DtmfSpecification; + /// + /// 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. + /// + public readonly int StartTimeoutMs; + + [OutputConstructor] + private BotAudioAndDtmfInputSpecification( + Outputs.BotAudioSpecification? audioSpecification, + + Outputs.BotDtmfSpecification? dtmfSpecification, + + int startTimeoutMs) + { + AudioSpecification = audioSpecification; + DtmfSpecification = dtmfSpecification; + StartTimeoutMs = startTimeoutMs; + } + } +} diff --git a/sdk/dotnet/Lex/Outputs/BotAudioSpecification.cs b/sdk/dotnet/Lex/Outputs/BotAudioSpecification.cs new file mode 100644 index 0000000000..0b509e427a --- /dev/null +++ b/sdk/dotnet/Lex/Outputs/BotAudioSpecification.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Outputs +{ + + /// + /// Specifies the audio input specifications. + /// + [OutputType] + public sealed class BotAudioSpecification + { + /// + /// Time for which a bot waits after the customer stops speaking to assume the utterance is finished. + /// + public readonly int EndTimeoutMs; + /// + /// Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. + /// + public readonly int MaxLengthMs; + + [OutputConstructor] + private BotAudioSpecification( + int endTimeoutMs, + + int maxLengthMs) + { + EndTimeoutMs = endTimeoutMs; + MaxLengthMs = maxLengthMs; + } + } +} diff --git a/sdk/dotnet/Lex/Outputs/BotDtmfSpecification.cs b/sdk/dotnet/Lex/Outputs/BotDtmfSpecification.cs new file mode 100644 index 0000000000..736279c1d3 --- /dev/null +++ b/sdk/dotnet/Lex/Outputs/BotDtmfSpecification.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Outputs +{ + + /// + /// Specifies the settings on DTMF input. + /// + [OutputType] + public sealed class BotDtmfSpecification + { + /// + /// The DTMF character that clears the accumulated DTMF digits and immediately ends the input. + /// + public readonly string DeletionCharacter; + /// + /// The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. + /// + public readonly string EndCharacter; + /// + /// How long the bot should wait after the last DTMF character input before assuming that the input has concluded. + /// + public readonly int EndTimeoutMs; + /// + /// The maximum number of DTMF digits allowed in an utterance. + /// + public readonly int MaxLength; + + [OutputConstructor] + private BotDtmfSpecification( + string deletionCharacter, + + string endCharacter, + + int endTimeoutMs, + + int maxLength) + { + DeletionCharacter = deletionCharacter; + EndCharacter = endCharacter; + EndTimeoutMs = endTimeoutMs; + MaxLength = maxLength; + } + } +} diff --git a/sdk/dotnet/Lex/Outputs/BotPromptAttemptSpecification.cs b/sdk/dotnet/Lex/Outputs/BotPromptAttemptSpecification.cs new file mode 100644 index 0000000000..718cf61ee1 --- /dev/null +++ b/sdk/dotnet/Lex/Outputs/BotPromptAttemptSpecification.cs @@ -0,0 +1,43 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Outputs +{ + + /// + /// Specifies the settings on a prompt attempt. + /// + [OutputType] + public sealed class BotPromptAttemptSpecification + { + /// + /// Indicates whether the user can interrupt a speech prompt attempt from the bot. + /// + public readonly bool? AllowInterrupt; + public readonly Outputs.BotAllowedInputTypes AllowedInputTypes; + public readonly Outputs.BotAudioAndDtmfInputSpecification? AudioAndDtmfInputSpecification; + public readonly Outputs.BotTextInputSpecification? TextInputSpecification; + + [OutputConstructor] + private BotPromptAttemptSpecification( + bool? allowInterrupt, + + Outputs.BotAllowedInputTypes allowedInputTypes, + + Outputs.BotAudioAndDtmfInputSpecification? audioAndDtmfInputSpecification, + + Outputs.BotTextInputSpecification? textInputSpecification) + { + AllowInterrupt = allowInterrupt; + AllowedInputTypes = allowedInputTypes; + AudioAndDtmfInputSpecification = audioAndDtmfInputSpecification; + TextInputSpecification = textInputSpecification; + } + } +} diff --git a/sdk/dotnet/Lex/Outputs/BotPromptSpecification.cs b/sdk/dotnet/Lex/Outputs/BotPromptSpecification.cs index 222033cdfb..7e83590df8 100644 --- a/sdk/dotnet/Lex/Outputs/BotPromptSpecification.cs +++ b/sdk/dotnet/Lex/Outputs/BotPromptSpecification.cs @@ -26,7 +26,7 @@ public sealed class BotPromptSpecification /// /// Specifies the advanced settings on each attempt of the prompt. /// - public readonly object? PromptAttemptsSpecification; + public readonly ImmutableDictionary? PromptAttemptsSpecification; [OutputConstructor] private BotPromptSpecification( @@ -38,7 +38,7 @@ private BotPromptSpecification( Pulumi.AwsNative.Lex.BotMessageSelectionStrategy? messageSelectionStrategy, - object? promptAttemptsSpecification) + ImmutableDictionary? promptAttemptsSpecification) { AllowInterrupt = allowInterrupt; MaxRetries = maxRetries; diff --git a/sdk/dotnet/Lex/Outputs/BotTextInputSpecification.cs b/sdk/dotnet/Lex/Outputs/BotTextInputSpecification.cs new file mode 100644 index 0000000000..156ca566a8 --- /dev/null +++ b/sdk/dotnet/Lex/Outputs/BotTextInputSpecification.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.Lex.Outputs +{ + + /// + /// Specifies the text input specifications. + /// + [OutputType] + public sealed class BotTextInputSpecification + { + /// + /// Time for which a bot waits before re-prompting a customer for text input. + /// + public readonly int StartTimeoutMs; + + [OutputConstructor] + private BotTextInputSpecification(int startTimeoutMs) + { + StartTimeoutMs = startTimeoutMs; + } + } +} diff --git a/sdk/dotnet/Msk/Cluster.cs b/sdk/dotnet/Msk/Cluster.cs index 88c3bbd32e..aa1d6891fc 100644 --- a/sdk/dotnet/Msk/Cluster.cs +++ b/sdk/dotnet/Msk/Cluster.cs @@ -61,7 +61,7 @@ public partial class Cluster : global::Pulumi.CustomResource /// A key-value pair to associate with a resource. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// @@ -156,11 +156,17 @@ public sealed class ClusterArgs : global::Pulumi.ResourceArgs [Input("storageMode")] public Input? StorageMode { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// A key-value pair to associate with a resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } public ClusterArgs() { diff --git a/sdk/dotnet/Msk/GetCluster.cs b/sdk/dotnet/Msk/GetCluster.cs index eaab2a4ade..ed5baefeb1 100644 --- a/sdk/dotnet/Msk/GetCluster.cs +++ b/sdk/dotnet/Msk/GetCluster.cs @@ -69,7 +69,7 @@ public sealed class GetClusterResult /// /// A key-value pair to associate with a resource. /// - public readonly object? Tags; + public readonly ImmutableDictionary? Tags; [OutputConstructor] private GetClusterResult( @@ -97,7 +97,7 @@ private GetClusterResult( Pulumi.AwsNative.Msk.ClusterStorageMode? storageMode, - object? tags) + ImmutableDictionary? tags) { Arn = arn; BrokerNodeGroupInfo = brokerNodeGroupInfo; diff --git a/sdk/dotnet/Msk/ServerlessCluster.cs b/sdk/dotnet/Msk/ServerlessCluster.cs index 794190c2fc..51120b73cb 100644 --- a/sdk/dotnet/Msk/ServerlessCluster.cs +++ b/sdk/dotnet/Msk/ServerlessCluster.cs @@ -28,7 +28,7 @@ public partial class ServerlessCluster : global::Pulumi.CustomResource /// A key-value pair to associate with a resource. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; [Output("vpcConfigs")] public Output> VpcConfigs { get; private set; } = null!; @@ -60,7 +60,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { "clientAuthentication", "clusterName", - "tags", + "tags.*", "vpcConfigs[*]", }, }; @@ -91,11 +91,17 @@ public sealed class ServerlessClusterArgs : global::Pulumi.ResourceArgs [Input("clusterName", required: true)] public Input ClusterName { get; set; } = null!; + [Input("tags")] + private InputMap? _tags; + /// /// A key-value pair to associate with a resource. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } [Input("vpcConfigs", required: true)] private InputList? _vpcConfigs; diff --git a/sdk/dotnet/NetworkFirewall/Inputs/LoggingConfigurationLogDestinationConfigArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/LoggingConfigurationLogDestinationConfigArgs.cs index a883e35c8f..507e0f219f 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/LoggingConfigurationLogDestinationConfigArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/LoggingConfigurationLogDestinationConfigArgs.cs @@ -12,11 +12,17 @@ namespace Pulumi.AwsNative.NetworkFirewall.Inputs public sealed class LoggingConfigurationLogDestinationConfigArgs : global::Pulumi.ResourceArgs { + [Input("logDestination", required: true)] + private InputMap? _logDestination; + /// /// A key-value pair to configure the logDestinations. /// - [Input("logDestination", required: true)] - public Input LogDestination { get; set; } = null!; + public InputMap LogDestination + { + get => _logDestination ?? (_logDestination = new InputMap()); + set => _logDestination = value; + } [Input("logDestinationType", required: true)] public Input LogDestinationType { get; set; } = null!; diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupIpSetArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupIpSetArgs.cs new file mode 100644 index 0000000000..20325976c2 --- /dev/null +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupIpSetArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.NetworkFirewall.Inputs +{ + + public sealed class RuleGroupIpSetArgs : global::Pulumi.ResourceArgs + { + [Input("definition")] + private InputList? _definition; + public InputList Definition + { + get => _definition ?? (_definition = new InputList()); + set => _definition = value; + } + + public RuleGroupIpSetArgs() + { + } + public static new RuleGroupIpSetArgs Empty => new RuleGroupIpSetArgs(); + } +} diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupIpSetReferenceArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupIpSetReferenceArgs.cs new file mode 100644 index 0000000000..defaab0faf --- /dev/null +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupIpSetReferenceArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.NetworkFirewall.Inputs +{ + + public sealed class RuleGroupIpSetReferenceArgs : global::Pulumi.ResourceArgs + { + [Input("referenceArn")] + public Input? ReferenceArn { get; set; } + + public RuleGroupIpSetReferenceArgs() + { + } + public static new RuleGroupIpSetReferenceArgs Empty => new RuleGroupIpSetReferenceArgs(); + } +} diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupPortSetArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupPortSetArgs.cs new file mode 100644 index 0000000000..e81a0e9e25 --- /dev/null +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupPortSetArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.NetworkFirewall.Inputs +{ + + public sealed class RuleGroupPortSetArgs : global::Pulumi.ResourceArgs + { + [Input("definition")] + private InputList? _definition; + public InputList Definition + { + get => _definition ?? (_definition = new InputList()); + set => _definition = value; + } + + public RuleGroupPortSetArgs() + { + } + public static new RuleGroupPortSetArgs Empty => new RuleGroupPortSetArgs(); + } +} diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupReferenceSetsArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupReferenceSetsArgs.cs index 156a2127a2..9e0797bf85 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupReferenceSetsArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupReferenceSetsArgs.cs @@ -13,7 +13,12 @@ namespace Pulumi.AwsNative.NetworkFirewall.Inputs public sealed class RuleGroupReferenceSetsArgs : global::Pulumi.ResourceArgs { [Input("ipSetReferences")] - public Input? IpSetReferences { get; set; } + private InputMap? _ipSetReferences; + public InputMap IpSetReferences + { + get => _ipSetReferences ?? (_ipSetReferences = new InputMap()); + set => _ipSetReferences = value; + } public RuleGroupReferenceSetsArgs() { diff --git a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleVariablesArgs.cs b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleVariablesArgs.cs index 9d18591099..1c3ffa1cb0 100644 --- a/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleVariablesArgs.cs +++ b/sdk/dotnet/NetworkFirewall/Inputs/RuleGroupRuleVariablesArgs.cs @@ -13,10 +13,20 @@ namespace Pulumi.AwsNative.NetworkFirewall.Inputs public sealed class RuleGroupRuleVariablesArgs : global::Pulumi.ResourceArgs { [Input("ipSets")] - public Input? IpSets { get; set; } + private InputMap? _ipSets; + public InputMap IpSets + { + get => _ipSets ?? (_ipSets = new InputMap()); + set => _ipSets = value; + } [Input("portSets")] - public Input? PortSets { get; set; } + private InputMap? _portSets; + public InputMap PortSets + { + get => _portSets ?? (_portSets = new InputMap()); + set => _portSets = value; + } public RuleGroupRuleVariablesArgs() { diff --git a/sdk/dotnet/NetworkFirewall/Outputs/LoggingConfigurationLogDestinationConfig.cs b/sdk/dotnet/NetworkFirewall/Outputs/LoggingConfigurationLogDestinationConfig.cs index 48c73f33d5..b0b7f9ebd3 100644 --- a/sdk/dotnet/NetworkFirewall/Outputs/LoggingConfigurationLogDestinationConfig.cs +++ b/sdk/dotnet/NetworkFirewall/Outputs/LoggingConfigurationLogDestinationConfig.cs @@ -16,13 +16,13 @@ public sealed class LoggingConfigurationLogDestinationConfig /// /// A key-value pair to configure the logDestinations. /// - public readonly object LogDestination; + public readonly ImmutableDictionary LogDestination; public readonly Pulumi.AwsNative.NetworkFirewall.LoggingConfigurationLogDestinationConfigLogDestinationType LogDestinationType; public readonly Pulumi.AwsNative.NetworkFirewall.LoggingConfigurationLogDestinationConfigLogType LogType; [OutputConstructor] private LoggingConfigurationLogDestinationConfig( - object logDestination, + ImmutableDictionary logDestination, Pulumi.AwsNative.NetworkFirewall.LoggingConfigurationLogDestinationConfigLogDestinationType logDestinationType, diff --git a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupIpSet.cs b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupIpSet.cs new file mode 100644 index 0000000000..7aded93ea4 --- /dev/null +++ b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupIpSet.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.NetworkFirewall.Outputs +{ + + [OutputType] + public sealed class RuleGroupIpSet + { + public readonly ImmutableArray Definition; + + [OutputConstructor] + private RuleGroupIpSet(ImmutableArray definition) + { + Definition = definition; + } + } +} diff --git a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupIpSetReference.cs b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupIpSetReference.cs new file mode 100644 index 0000000000..0e63144ec5 --- /dev/null +++ b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupIpSetReference.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.NetworkFirewall.Outputs +{ + + [OutputType] + public sealed class RuleGroupIpSetReference + { + public readonly string? ReferenceArn; + + [OutputConstructor] + private RuleGroupIpSetReference(string? referenceArn) + { + ReferenceArn = referenceArn; + } + } +} diff --git a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupPortSet.cs b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupPortSet.cs new file mode 100644 index 0000000000..995cc82085 --- /dev/null +++ b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupPortSet.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.NetworkFirewall.Outputs +{ + + [OutputType] + public sealed class RuleGroupPortSet + { + public readonly ImmutableArray Definition; + + [OutputConstructor] + private RuleGroupPortSet(ImmutableArray definition) + { + Definition = definition; + } + } +} diff --git a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupReferenceSets.cs b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupReferenceSets.cs index a775f2658b..25a798f9c6 100644 --- a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupReferenceSets.cs +++ b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupReferenceSets.cs @@ -13,10 +13,10 @@ namespace Pulumi.AwsNative.NetworkFirewall.Outputs [OutputType] public sealed class RuleGroupReferenceSets { - public readonly object? IpSetReferences; + public readonly ImmutableDictionary? IpSetReferences; [OutputConstructor] - private RuleGroupReferenceSets(object? ipSetReferences) + private RuleGroupReferenceSets(ImmutableDictionary? ipSetReferences) { IpSetReferences = ipSetReferences; } diff --git a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleVariables.cs b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleVariables.cs index fc7c2483f0..19e8d5fbd2 100644 --- a/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleVariables.cs +++ b/sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleVariables.cs @@ -13,14 +13,14 @@ namespace Pulumi.AwsNative.NetworkFirewall.Outputs [OutputType] public sealed class RuleGroupRuleVariables { - public readonly object? IpSets; - public readonly object? PortSets; + public readonly ImmutableDictionary? IpSets; + public readonly ImmutableDictionary? PortSets; [OutputConstructor] private RuleGroupRuleVariables( - object? ipSets, + ImmutableDictionary? ipSets, - object? portSets) + ImmutableDictionary? portSets) { IpSets = ipSets; PortSets = portSets; diff --git a/sdk/dotnet/OpenSearchService/Domain.cs b/sdk/dotnet/OpenSearchService/Domain.cs index ee2a6122fb..67d906c5c4 100644 --- a/sdk/dotnet/OpenSearchService/Domain.cs +++ b/sdk/dotnet/OpenSearchService/Domain.cs @@ -19,7 +19,7 @@ public partial class Domain : global::Pulumi.CustomResource public Output AccessPolicies { get; private set; } = null!; [Output("advancedOptions")] - public Output AdvancedOptions { get; private set; } = null!; + public Output?> AdvancedOptions { get; private set; } = null!; [Output("advancedSecurityOptions")] public Output AdvancedSecurityOptions { get; private set; } = null!; @@ -46,7 +46,7 @@ public partial class Domain : global::Pulumi.CustomResource public Output DomainEndpointV2 { get; private set; } = null!; [Output("domainEndpoints")] - public Output DomainEndpoints { get; private set; } = null!; + public Output> DomainEndpoints { get; private set; } = null!; [Output("domainName")] public Output DomainName { get; private set; } = null!; @@ -64,7 +64,7 @@ public partial class Domain : global::Pulumi.CustomResource public Output IpAddressType { get; private set; } = null!; [Output("logPublishingOptions")] - public Output LogPublishingOptions { get; private set; } = null!; + public Output?> LogPublishingOptions { get; private set; } = null!; [Output("nodeToNodeEncryptionOptions")] public Output NodeToNodeEncryptionOptions { get; private set; } = null!; @@ -143,7 +143,12 @@ public sealed class DomainArgs : global::Pulumi.ResourceArgs public Input? AccessPolicies { get; set; } [Input("advancedOptions")] - public Input? AdvancedOptions { get; set; } + private InputMap? _advancedOptions; + public InputMap AdvancedOptions + { + get => _advancedOptions ?? (_advancedOptions = new InputMap()); + set => _advancedOptions = value; + } [Input("advancedSecurityOptions")] public Input? AdvancedSecurityOptions { get; set; } @@ -173,7 +178,12 @@ public sealed class DomainArgs : global::Pulumi.ResourceArgs public Input? IpAddressType { get; set; } [Input("logPublishingOptions")] - public Input? LogPublishingOptions { get; set; } + private InputMap? _logPublishingOptions; + public InputMap LogPublishingOptions + { + get => _logPublishingOptions ?? (_logPublishingOptions = new InputMap()); + set => _logPublishingOptions = value; + } [Input("nodeToNodeEncryptionOptions")] public Input? NodeToNodeEncryptionOptions { get; set; } diff --git a/sdk/dotnet/OpenSearchService/GetDomain.cs b/sdk/dotnet/OpenSearchService/GetDomain.cs index 1922a2903f..97af26b1b6 100644 --- a/sdk/dotnet/OpenSearchService/GetDomain.cs +++ b/sdk/dotnet/OpenSearchService/GetDomain.cs @@ -52,7 +52,7 @@ public GetDomainInvokeArgs() public sealed class GetDomainResult { public readonly object? AccessPolicies; - public readonly object? AdvancedOptions; + public readonly ImmutableDictionary? AdvancedOptions; public readonly Outputs.DomainAdvancedSecurityOptionsInput? AdvancedSecurityOptions; public readonly string? Arn; public readonly Outputs.DomainClusterConfig? ClusterConfig; @@ -61,13 +61,13 @@ public sealed class GetDomainResult public readonly string? DomainEndpoint; public readonly Outputs.DomainEndpointOptions? DomainEndpointOptions; public readonly string? DomainEndpointV2; - public readonly object? DomainEndpoints; + public readonly ImmutableDictionary? DomainEndpoints; public readonly Outputs.DomainEbsOptions? EbsOptions; public readonly Outputs.DomainEncryptionAtRestOptions? EncryptionAtRestOptions; public readonly string? EngineVersion; public readonly string? Id; public readonly string? IpAddressType; - public readonly object? LogPublishingOptions; + public readonly ImmutableDictionary? LogPublishingOptions; public readonly Outputs.DomainNodeToNodeEncryptionOptions? NodeToNodeEncryptionOptions; public readonly Outputs.DomainOffPeakWindowOptions? OffPeakWindowOptions; public readonly Outputs.DomainServiceSoftwareOptions? ServiceSoftwareOptions; @@ -83,7 +83,7 @@ public sealed class GetDomainResult private GetDomainResult( object? accessPolicies, - object? advancedOptions, + ImmutableDictionary? advancedOptions, Outputs.DomainAdvancedSecurityOptionsInput? advancedSecurityOptions, @@ -101,7 +101,7 @@ private GetDomainResult( string? domainEndpointV2, - object? domainEndpoints, + ImmutableDictionary? domainEndpoints, Outputs.DomainEbsOptions? ebsOptions, @@ -113,7 +113,7 @@ private GetDomainResult( string? ipAddressType, - object? logPublishingOptions, + ImmutableDictionary? logPublishingOptions, Outputs.DomainNodeToNodeEncryptionOptions? nodeToNodeEncryptionOptions, diff --git a/sdk/dotnet/OpenSearchService/Inputs/DomainLogPublishingOptionArgs.cs b/sdk/dotnet/OpenSearchService/Inputs/DomainLogPublishingOptionArgs.cs new file mode 100644 index 0000000000..f08a43549c --- /dev/null +++ b/sdk/dotnet/OpenSearchService/Inputs/DomainLogPublishingOptionArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.OpenSearchService.Inputs +{ + + public sealed class DomainLogPublishingOptionArgs : global::Pulumi.ResourceArgs + { + [Input("cloudWatchLogsLogGroupArn")] + public Input? CloudWatchLogsLogGroupArn { get; set; } + + [Input("enabled")] + public Input? Enabled { get; set; } + + public DomainLogPublishingOptionArgs() + { + } + public static new DomainLogPublishingOptionArgs Empty => new DomainLogPublishingOptionArgs(); + } +} diff --git a/sdk/dotnet/OpenSearchService/Outputs/DomainLogPublishingOption.cs b/sdk/dotnet/OpenSearchService/Outputs/DomainLogPublishingOption.cs new file mode 100644 index 0000000000..2eb110f987 --- /dev/null +++ b/sdk/dotnet/OpenSearchService/Outputs/DomainLogPublishingOption.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi SDK Generator. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AwsNative.OpenSearchService.Outputs +{ + + [OutputType] + public sealed class DomainLogPublishingOption + { + public readonly string? CloudWatchLogsLogGroupArn; + public readonly bool? Enabled; + + [OutputConstructor] + private DomainLogPublishingOption( + string? cloudWatchLogsLogGroupArn, + + bool? enabled) + { + CloudWatchLogsLogGroupArn = cloudWatchLogsLogGroupArn; + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/Personalize/Inputs/SolutionConfigArgs.cs b/sdk/dotnet/Personalize/Inputs/SolutionConfigArgs.cs index a5ac998b38..7752151010 100644 --- a/sdk/dotnet/Personalize/Inputs/SolutionConfigArgs.cs +++ b/sdk/dotnet/Personalize/Inputs/SolutionConfigArgs.cs @@ -15,11 +15,17 @@ namespace Pulumi.AwsNative.Personalize.Inputs /// public sealed class SolutionConfigArgs : global::Pulumi.ResourceArgs { + [Input("algorithmHyperParameters")] + private InputMap? _algorithmHyperParameters; + /// /// Lists the hyperparameter names and ranges. /// - [Input("algorithmHyperParameters")] - public Input? AlgorithmHyperParameters { get; set; } + public InputMap AlgorithmHyperParameters + { + get => _algorithmHyperParameters ?? (_algorithmHyperParameters = new InputMap()); + set => _algorithmHyperParameters = value; + } /// /// The AutoMLConfig object containing a list of recipes to search when AutoML is performed. @@ -33,11 +39,17 @@ public sealed class SolutionConfigArgs : global::Pulumi.ResourceArgs [Input("eventValueThreshold")] public Input? EventValueThreshold { get; set; } + [Input("featureTransformationParameters")] + private InputMap? _featureTransformationParameters; + /// /// Lists the feature transformation parameters. /// - [Input("featureTransformationParameters")] - public Input? FeatureTransformationParameters { get; set; } + public InputMap FeatureTransformationParameters + { + get => _featureTransformationParameters ?? (_featureTransformationParameters = new InputMap()); + set => _featureTransformationParameters = value; + } /// /// Describes the properties for hyperparameter optimization (HPO) diff --git a/sdk/dotnet/Personalize/Outputs/SolutionConfig.cs b/sdk/dotnet/Personalize/Outputs/SolutionConfig.cs index 6b86c3766a..0aedd97e0f 100644 --- a/sdk/dotnet/Personalize/Outputs/SolutionConfig.cs +++ b/sdk/dotnet/Personalize/Outputs/SolutionConfig.cs @@ -19,7 +19,7 @@ public sealed class SolutionConfig /// /// Lists the hyperparameter names and ranges. /// - public readonly object? AlgorithmHyperParameters; + public readonly ImmutableDictionary? AlgorithmHyperParameters; /// /// The AutoMLConfig object containing a list of recipes to search when AutoML is performed. /// @@ -31,7 +31,7 @@ public sealed class SolutionConfig /// /// Lists the feature transformation parameters. /// - public readonly object? FeatureTransformationParameters; + public readonly ImmutableDictionary? FeatureTransformationParameters; /// /// Describes the properties for hyperparameter optimization (HPO) /// @@ -39,13 +39,13 @@ public sealed class SolutionConfig [OutputConstructor] private SolutionConfig( - object? algorithmHyperParameters, + ImmutableDictionary? algorithmHyperParameters, Outputs.SolutionConfigAutoMlConfigProperties? autoMlConfig, string? eventValueThreshold, - object? featureTransformationParameters, + ImmutableDictionary? featureTransformationParameters, Outputs.SolutionConfigHpoConfigProperties? hpoConfig) { diff --git a/sdk/dotnet/SageMaker/Inputs/ModelCardAdditionalInformationArgs.cs b/sdk/dotnet/SageMaker/Inputs/ModelCardAdditionalInformationArgs.cs index 3bad8d6d9d..04366b4a7b 100644 --- a/sdk/dotnet/SageMaker/Inputs/ModelCardAdditionalInformationArgs.cs +++ b/sdk/dotnet/SageMaker/Inputs/ModelCardAdditionalInformationArgs.cs @@ -18,11 +18,17 @@ public sealed class ModelCardAdditionalInformationArgs : global::Pulumi.Resource [Input("caveatsAndRecommendations")] public Input? CaveatsAndRecommendations { get; set; } + [Input("customDetails")] + private InputMap? _customDetails; + /// /// customer details. /// - [Input("customDetails")] - public Input? CustomDetails { get; set; } + public InputMap CustomDetails + { + get => _customDetails ?? (_customDetails = new InputMap()); + set => _customDetails = value; + } /// /// Any ethical considerations that the author wants to provide. diff --git a/sdk/dotnet/SageMaker/Inputs/ModelCardEvaluationDetailArgs.cs b/sdk/dotnet/SageMaker/Inputs/ModelCardEvaluationDetailArgs.cs index 872df3b61d..948b6f398a 100644 --- a/sdk/dotnet/SageMaker/Inputs/ModelCardEvaluationDetailArgs.cs +++ b/sdk/dotnet/SageMaker/Inputs/ModelCardEvaluationDetailArgs.cs @@ -29,11 +29,17 @@ public InputList Datasets [Input("evaluationObservation")] public Input? EvaluationObservation { get; set; } + [Input("metadata")] + private InputMap? _metadata; + /// /// additional attributes associated with the evaluation results. /// - [Input("metadata")] - public Input? Metadata { get; set; } + public InputMap Metadata + { + get => _metadata ?? (_metadata = new InputMap()); + set => _metadata = value; + } [Input("metricGroups")] private InputList? _metricGroups; diff --git a/sdk/dotnet/SageMaker/Outputs/ModelCardAdditionalInformation.cs b/sdk/dotnet/SageMaker/Outputs/ModelCardAdditionalInformation.cs index 9d4b6dd110..71cccfabfe 100644 --- a/sdk/dotnet/SageMaker/Outputs/ModelCardAdditionalInformation.cs +++ b/sdk/dotnet/SageMaker/Outputs/ModelCardAdditionalInformation.cs @@ -20,7 +20,7 @@ public sealed class ModelCardAdditionalInformation /// /// customer details. /// - public readonly object? CustomDetails; + public readonly ImmutableDictionary? CustomDetails; /// /// Any ethical considerations that the author wants to provide. /// @@ -30,7 +30,7 @@ public sealed class ModelCardAdditionalInformation private ModelCardAdditionalInformation( string? caveatsAndRecommendations, - object? customDetails, + ImmutableDictionary? customDetails, string? ethicalConsiderations) { diff --git a/sdk/dotnet/SageMaker/Outputs/ModelCardEvaluationDetail.cs b/sdk/dotnet/SageMaker/Outputs/ModelCardEvaluationDetail.cs index 57486b2c82..a5a5be81a1 100644 --- a/sdk/dotnet/SageMaker/Outputs/ModelCardEvaluationDetail.cs +++ b/sdk/dotnet/SageMaker/Outputs/ModelCardEvaluationDetail.cs @@ -22,7 +22,7 @@ public sealed class ModelCardEvaluationDetail /// /// additional attributes associated with the evaluation results. /// - public readonly object? Metadata; + public readonly ImmutableDictionary? Metadata; public readonly ImmutableArray MetricGroups; public readonly string Name; @@ -34,7 +34,7 @@ private ModelCardEvaluationDetail( string? evaluationObservation, - object? metadata, + ImmutableDictionary? metadata, ImmutableArray metricGroups, diff --git a/sdk/dotnet/ServiceCatalog/CloudFormationProvisionedProduct.cs b/sdk/dotnet/ServiceCatalog/CloudFormationProvisionedProduct.cs index 15fd494586..12f4575427 100644 --- a/sdk/dotnet/ServiceCatalog/CloudFormationProvisionedProduct.cs +++ b/sdk/dotnet/ServiceCatalog/CloudFormationProvisionedProduct.cs @@ -28,7 +28,7 @@ public partial class CloudFormationProvisionedProduct : global::Pulumi.CustomRes /// List of key-value pair outputs. /// [Output("outputs")] - public Output Outputs { get; private set; } = null!; + public Output> Outputs { get; private set; } = null!; [Output("pathId")] public Output PathId { get; private set; } = null!; diff --git a/sdk/dotnet/ServiceCatalog/GetCloudFormationProvisionedProduct.cs b/sdk/dotnet/ServiceCatalog/GetCloudFormationProvisionedProduct.cs index c1c2e9db8e..1bb28e3aa1 100644 --- a/sdk/dotnet/ServiceCatalog/GetCloudFormationProvisionedProduct.cs +++ b/sdk/dotnet/ServiceCatalog/GetCloudFormationProvisionedProduct.cs @@ -56,7 +56,7 @@ public sealed class GetCloudFormationProvisionedProductResult /// /// List of key-value pair outputs. /// - public readonly object? Outputs; + public readonly ImmutableDictionary? Outputs; public readonly string? PathId; public readonly string? PathName; public readonly string? ProductId; @@ -75,7 +75,7 @@ private GetCloudFormationProvisionedProductResult( string? cloudformationStackArn, - object? outputs, + ImmutableDictionary? outputs, string? pathId, diff --git a/sdk/dotnet/Ssm/Parameter.cs b/sdk/dotnet/Ssm/Parameter.cs index 4491adfcfc..24a2ecb645 100644 --- a/sdk/dotnet/Ssm/Parameter.cs +++ b/sdk/dotnet/Ssm/Parameter.cs @@ -54,7 +54,7 @@ public partial class Parameter : global::Pulumi.CustomResource /// Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. /// [Output("tags")] - public Output Tags { get; private set; } = null!; + public Output?> Tags { get; private set; } = null!; /// /// The parameter tier. @@ -157,11 +157,17 @@ public sealed class ParameterArgs : global::Pulumi.ResourceArgs [Input("policies")] public Input? Policies { get; set; } + [Input("tags")] + private InputMap? _tags; + /// /// Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. /// - [Input("tags")] - public Input? Tags { get; set; } + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } /// /// The parameter tier. diff --git a/sdk/dotnet/Synthetics/Inputs/CanaryRunConfigArgs.cs b/sdk/dotnet/Synthetics/Inputs/CanaryRunConfigArgs.cs index a8ead82d05..ae52ad5bd6 100644 --- a/sdk/dotnet/Synthetics/Inputs/CanaryRunConfigArgs.cs +++ b/sdk/dotnet/Synthetics/Inputs/CanaryRunConfigArgs.cs @@ -18,11 +18,17 @@ public sealed class CanaryRunConfigArgs : global::Pulumi.ResourceArgs [Input("activeTracing")] public Input? ActiveTracing { get; set; } + [Input("environmentVariables")] + private InputMap? _environmentVariables; + /// /// Environment variable key-value pairs. /// - [Input("environmentVariables")] - public Input? EnvironmentVariables { get; set; } + public InputMap EnvironmentVariables + { + get => _environmentVariables ?? (_environmentVariables = new InputMap()); + set => _environmentVariables = value; + } /// /// Provide maximum memory available for canary in MB diff --git a/sdk/dotnet/Synthetics/Outputs/CanaryRunConfig.cs b/sdk/dotnet/Synthetics/Outputs/CanaryRunConfig.cs index d944831bdf..8e7bde5d16 100644 --- a/sdk/dotnet/Synthetics/Outputs/CanaryRunConfig.cs +++ b/sdk/dotnet/Synthetics/Outputs/CanaryRunConfig.cs @@ -20,7 +20,7 @@ public sealed class CanaryRunConfig /// /// Environment variable key-value pairs. /// - public readonly object? EnvironmentVariables; + public readonly ImmutableDictionary? EnvironmentVariables; /// /// Provide maximum memory available for canary in MB /// @@ -34,7 +34,7 @@ public sealed class CanaryRunConfig private CanaryRunConfig( bool? activeTracing, - object? environmentVariables, + ImmutableDictionary? environmentVariables, int? memoryInMb, diff --git a/sdk/dotnet/XRay/Inputs/SamplingRuleArgs.cs b/sdk/dotnet/XRay/Inputs/SamplingRuleArgs.cs index 73292290c5..6b00377452 100644 --- a/sdk/dotnet/XRay/Inputs/SamplingRuleArgs.cs +++ b/sdk/dotnet/XRay/Inputs/SamplingRuleArgs.cs @@ -12,11 +12,17 @@ namespace Pulumi.AwsNative.XRay.Inputs public sealed class SamplingRuleArgs : global::Pulumi.ResourceArgs { + [Input("attributes")] + private InputMap? _attributes; + /// /// Matches attributes derived from the request. /// - [Input("attributes")] - public Input? Attributes { get; set; } + public InputMap Attributes + { + get => _attributes ?? (_attributes = new InputMap()); + set => _attributes = value; + } /// /// The percentage of matching requests to instrument, after the reservoir is exhausted. diff --git a/sdk/dotnet/XRay/Inputs/SamplingRuleUpdateArgs.cs b/sdk/dotnet/XRay/Inputs/SamplingRuleUpdateArgs.cs index 9865259b10..3c8d042294 100644 --- a/sdk/dotnet/XRay/Inputs/SamplingRuleUpdateArgs.cs +++ b/sdk/dotnet/XRay/Inputs/SamplingRuleUpdateArgs.cs @@ -12,11 +12,17 @@ namespace Pulumi.AwsNative.XRay.Inputs public sealed class SamplingRuleUpdateArgs : global::Pulumi.ResourceArgs { + [Input("attributes")] + private InputMap? _attributes; + /// /// Matches attributes derived from the request. /// - [Input("attributes")] - public Input? Attributes { get; set; } + public InputMap Attributes + { + get => _attributes ?? (_attributes = new InputMap()); + set => _attributes = value; + } /// /// The percentage of matching requests to instrument, after the reservoir is exhausted. diff --git a/sdk/dotnet/XRay/Outputs/SamplingRule.cs b/sdk/dotnet/XRay/Outputs/SamplingRule.cs index 945c849182..8e4fcf2226 100644 --- a/sdk/dotnet/XRay/Outputs/SamplingRule.cs +++ b/sdk/dotnet/XRay/Outputs/SamplingRule.cs @@ -16,7 +16,7 @@ public sealed class SamplingRule /// /// Matches attributes derived from the request. /// - public readonly object? Attributes; + public readonly ImmutableDictionary? Attributes; /// /// The percentage of matching requests to instrument, after the reservoir is exhausted. /// @@ -62,7 +62,7 @@ public sealed class SamplingRule [OutputConstructor] private SamplingRule( - object? attributes, + ImmutableDictionary? attributes, double fixedRate, diff --git a/sdk/dotnet/XRay/Outputs/SamplingRuleUpdate.cs b/sdk/dotnet/XRay/Outputs/SamplingRuleUpdate.cs index 30449c68f6..23215ec792 100644 --- a/sdk/dotnet/XRay/Outputs/SamplingRuleUpdate.cs +++ b/sdk/dotnet/XRay/Outputs/SamplingRuleUpdate.cs @@ -16,7 +16,7 @@ public sealed class SamplingRuleUpdate /// /// Matches attributes derived from the request. /// - public readonly object? Attributes; + public readonly ImmutableDictionary? Attributes; /// /// The percentage of matching requests to instrument, after the reservoir is exhausted. /// @@ -58,7 +58,7 @@ public sealed class SamplingRuleUpdate [OutputConstructor] private SamplingRuleUpdate( - object? attributes, + ImmutableDictionary? attributes, double? fixedRate, diff --git a/sdk/go/aws/apigateway/gatewayResponse.go b/sdk/go/aws/apigateway/gatewayResponse.go index 183272adea..38cc6bccc0 100644 --- a/sdk/go/aws/apigateway/gatewayResponse.go +++ b/sdk/go/aws/apigateway/gatewayResponse.go @@ -19,9 +19,9 @@ type GatewayResponse struct { pulumi.CustomResourceState // Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. - ResponseParameters pulumi.AnyOutput `pulumi:"responseParameters"` + ResponseParameters pulumi.StringMapOutput `pulumi:"responseParameters"` // Response templates of the GatewayResponse as a string-to-string map of key-value pairs. - ResponseTemplates pulumi.AnyOutput `pulumi:"responseTemplates"` + ResponseTemplates pulumi.StringMapOutput `pulumi:"responseTemplates"` // The response type of the associated GatewayResponse. ResponseType pulumi.StringOutput `pulumi:"responseType"` // The string identifier of the associated RestApi. @@ -82,9 +82,9 @@ func (GatewayResponseState) ElementType() reflect.Type { type gatewayResponseArgs struct { // Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. - ResponseParameters interface{} `pulumi:"responseParameters"` + ResponseParameters map[string]string `pulumi:"responseParameters"` // Response templates of the GatewayResponse as a string-to-string map of key-value pairs. - ResponseTemplates interface{} `pulumi:"responseTemplates"` + ResponseTemplates map[string]string `pulumi:"responseTemplates"` // The response type of the associated GatewayResponse. ResponseType string `pulumi:"responseType"` // The string identifier of the associated RestApi. @@ -96,9 +96,9 @@ type gatewayResponseArgs struct { // The set of arguments for constructing a GatewayResponse resource. type GatewayResponseArgs struct { // Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. - ResponseParameters pulumi.Input + ResponseParameters pulumi.StringMapInput // Response templates of the GatewayResponse as a string-to-string map of key-value pairs. - ResponseTemplates pulumi.Input + ResponseTemplates pulumi.StringMapInput // The response type of the associated GatewayResponse. ResponseType pulumi.StringInput // The string identifier of the associated RestApi. @@ -145,13 +145,13 @@ func (o GatewayResponseOutput) ToGatewayResponseOutputWithContext(ctx context.Co } // Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. -func (o GatewayResponseOutput) ResponseParameters() pulumi.AnyOutput { - return o.ApplyT(func(v *GatewayResponse) pulumi.AnyOutput { return v.ResponseParameters }).(pulumi.AnyOutput) +func (o GatewayResponseOutput) ResponseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *GatewayResponse) pulumi.StringMapOutput { return v.ResponseParameters }).(pulumi.StringMapOutput) } // Response templates of the GatewayResponse as a string-to-string map of key-value pairs. -func (o GatewayResponseOutput) ResponseTemplates() pulumi.AnyOutput { - return o.ApplyT(func(v *GatewayResponse) pulumi.AnyOutput { return v.ResponseTemplates }).(pulumi.AnyOutput) +func (o GatewayResponseOutput) ResponseTemplates() pulumi.StringMapOutput { + return o.ApplyT(func(v *GatewayResponse) pulumi.StringMapOutput { return v.ResponseTemplates }).(pulumi.StringMapOutput) } // The response type of the associated GatewayResponse. diff --git a/sdk/go/aws/apigateway/getGatewayResponse.go b/sdk/go/aws/apigateway/getGatewayResponse.go index b464a9dbb1..a9473da1ba 100644 --- a/sdk/go/aws/apigateway/getGatewayResponse.go +++ b/sdk/go/aws/apigateway/getGatewayResponse.go @@ -29,9 +29,9 @@ type LookupGatewayResponseArgs struct { type LookupGatewayResponseResult struct { Id *string `pulumi:"id"` // Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. - ResponseParameters interface{} `pulumi:"responseParameters"` + ResponseParameters map[string]string `pulumi:"responseParameters"` // Response templates of the GatewayResponse as a string-to-string map of key-value pairs. - ResponseTemplates interface{} `pulumi:"responseTemplates"` + ResponseTemplates map[string]string `pulumi:"responseTemplates"` // The HTTP status code for this GatewayResponse. StatusCode *string `pulumi:"statusCode"` } @@ -76,13 +76,13 @@ func (o LookupGatewayResponseResultOutput) Id() pulumi.StringPtrOutput { } // Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. -func (o LookupGatewayResponseResultOutput) ResponseParameters() pulumi.AnyOutput { - return o.ApplyT(func(v LookupGatewayResponseResult) interface{} { return v.ResponseParameters }).(pulumi.AnyOutput) +func (o LookupGatewayResponseResultOutput) ResponseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupGatewayResponseResult) map[string]string { return v.ResponseParameters }).(pulumi.StringMapOutput) } // Response templates of the GatewayResponse as a string-to-string map of key-value pairs. -func (o LookupGatewayResponseResultOutput) ResponseTemplates() pulumi.AnyOutput { - return o.ApplyT(func(v LookupGatewayResponseResult) interface{} { return v.ResponseTemplates }).(pulumi.AnyOutput) +func (o LookupGatewayResponseResultOutput) ResponseTemplates() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupGatewayResponseResult) map[string]string { return v.ResponseTemplates }).(pulumi.StringMapOutput) } // The HTTP status code for this GatewayResponse. diff --git a/sdk/go/aws/apigateway/getMethod.go b/sdk/go/aws/apigateway/getMethod.go index 5a42a29d93..6df9e3e09c 100644 --- a/sdk/go/aws/apigateway/getMethod.go +++ b/sdk/go/aws/apigateway/getMethod.go @@ -48,9 +48,9 @@ type LookupMethodResult struct { // A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example. OperationName *string `pulumi:"operationName"` // A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). - RequestModels interface{} `pulumi:"requestModels"` + RequestModels map[string]string `pulumi:"requestModels"` // A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. - RequestParameters interface{} `pulumi:"requestParameters"` + RequestParameters map[string]bool `pulumi:"requestParameters"` // The identifier of a RequestValidator for request validation. RequestValidatorId *string `pulumi:"requestValidatorId"` } @@ -133,13 +133,13 @@ func (o LookupMethodResultOutput) OperationName() pulumi.StringPtrOutput { } // A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). -func (o LookupMethodResultOutput) RequestModels() pulumi.AnyOutput { - return o.ApplyT(func(v LookupMethodResult) interface{} { return v.RequestModels }).(pulumi.AnyOutput) +func (o LookupMethodResultOutput) RequestModels() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupMethodResult) map[string]string { return v.RequestModels }).(pulumi.StringMapOutput) } // A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of “method.request.{location}.{name}“, where “location“ is “querystring“, “path“, or “header“ and “name“ is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (“true“) or optional (“false“). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. -func (o LookupMethodResultOutput) RequestParameters() pulumi.AnyOutput { - return o.ApplyT(func(v LookupMethodResult) interface{} { return v.RequestParameters }).(pulumi.AnyOutput) +func (o LookupMethodResultOutput) RequestParameters() pulumi.BoolMapOutput { + return o.ApplyT(func(v LookupMethodResult) map[string]bool { return v.RequestParameters }).(pulumi.BoolMapOutput) } // The identifier of a RequestValidator for request validation. diff --git a/sdk/go/aws/apigateway/getStage.go b/sdk/go/aws/apigateway/getStage.go index da0c8b411b..dcd27e437b 100644 --- a/sdk/go/aws/apigateway/getStage.go +++ b/sdk/go/aws/apigateway/getStage.go @@ -53,7 +53,7 @@ type LookupStageResult struct { // Specifies whether active tracing with X-ray is enabled for the Stage. TracingEnabled *bool `pulumi:"tracingEnabled"` // A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. - Variables interface{} `pulumi:"variables"` + Variables map[string]string `pulumi:"variables"` } func LookupStageOutput(ctx *pulumi.Context, args LookupStageOutputArgs, opts ...pulumi.InvokeOption) LookupStageResultOutput { @@ -150,8 +150,8 @@ func (o LookupStageResultOutput) TracingEnabled() pulumi.BoolPtrOutput { } // A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: “[A-Za-z0-9-._~:/?#&=,]+“. -func (o LookupStageResultOutput) Variables() pulumi.AnyOutput { - return o.ApplyT(func(v LookupStageResult) interface{} { return v.Variables }).(pulumi.AnyOutput) +func (o LookupStageResultOutput) Variables() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupStageResult) map[string]string { return v.Variables }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/apigateway/method.go b/sdk/go/aws/apigateway/method.go index d04e088c50..7cdb58879c 100644 --- a/sdk/go/aws/apigateway/method.go +++ b/sdk/go/aws/apigateway/method.go @@ -34,9 +34,9 @@ type Method struct { // A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example. OperationName pulumi.StringPtrOutput `pulumi:"operationName"` // A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). - RequestModels pulumi.AnyOutput `pulumi:"requestModels"` + RequestModels pulumi.StringMapOutput `pulumi:"requestModels"` // A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. - RequestParameters pulumi.AnyOutput `pulumi:"requestParameters"` + RequestParameters pulumi.BoolMapOutput `pulumi:"requestParameters"` // The identifier of a RequestValidator for request validation. RequestValidatorId pulumi.StringPtrOutput `pulumi:"requestValidatorId"` // The Resource identifier for the MethodResponse resource. @@ -118,9 +118,9 @@ type methodArgs struct { // A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example. OperationName *string `pulumi:"operationName"` // A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). - RequestModels interface{} `pulumi:"requestModels"` + RequestModels map[string]string `pulumi:"requestModels"` // A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. - RequestParameters interface{} `pulumi:"requestParameters"` + RequestParameters map[string]bool `pulumi:"requestParameters"` // The identifier of a RequestValidator for request validation. RequestValidatorId *string `pulumi:"requestValidatorId"` // The Resource identifier for the MethodResponse resource. @@ -149,9 +149,9 @@ type MethodArgs struct { // A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example. OperationName pulumi.StringPtrInput // A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). - RequestModels pulumi.Input + RequestModels pulumi.StringMapInput // A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. - RequestParameters pulumi.Input + RequestParameters pulumi.BoolMapInput // The identifier of a RequestValidator for request validation. RequestValidatorId pulumi.StringPtrInput // The Resource identifier for the MethodResponse resource. @@ -240,13 +240,13 @@ func (o MethodOutput) OperationName() pulumi.StringPtrOutput { } // A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). -func (o MethodOutput) RequestModels() pulumi.AnyOutput { - return o.ApplyT(func(v *Method) pulumi.AnyOutput { return v.RequestModels }).(pulumi.AnyOutput) +func (o MethodOutput) RequestModels() pulumi.StringMapOutput { + return o.ApplyT(func(v *Method) pulumi.StringMapOutput { return v.RequestModels }).(pulumi.StringMapOutput) } // A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of “method.request.{location}.{name}“, where “location“ is “querystring“, “path“, or “header“ and “name“ is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (“true“) or optional (“false“). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. -func (o MethodOutput) RequestParameters() pulumi.AnyOutput { - return o.ApplyT(func(v *Method) pulumi.AnyOutput { return v.RequestParameters }).(pulumi.AnyOutput) +func (o MethodOutput) RequestParameters() pulumi.BoolMapOutput { + return o.ApplyT(func(v *Method) pulumi.BoolMapOutput { return v.RequestParameters }).(pulumi.BoolMapOutput) } // The identifier of a RequestValidator for request validation. diff --git a/sdk/go/aws/apigateway/pulumiTypes.go b/sdk/go/aws/apigateway/pulumiTypes.go index d2f9c52448..8edce480f4 100644 --- a/sdk/go/aws/apigateway/pulumiTypes.go +++ b/sdk/go/aws/apigateway/pulumiTypes.go @@ -500,7 +500,7 @@ type DeploymentCanarySetting struct { // The percent (0-100) of traffic diverted to a canary deployment. PercentTraffic *float64 `pulumi:"percentTraffic"` // 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. - StageVariableOverrides interface{} `pulumi:"stageVariableOverrides"` + StageVariableOverrides map[string]string `pulumi:"stageVariableOverrides"` // A Boolean flag to indicate whether the canary deployment uses the stage cache or not. UseStageCache *bool `pulumi:"useStageCache"` } @@ -523,7 +523,7 @@ type DeploymentCanarySettingArgs struct { // The percent (0-100) of traffic diverted to a canary deployment. PercentTraffic pulumi.Float64PtrInput `pulumi:"percentTraffic"` // 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. - StageVariableOverrides pulumi.Input `pulumi:"stageVariableOverrides"` + StageVariableOverrides pulumi.StringMapInput `pulumi:"stageVariableOverrides"` // A Boolean flag to indicate whether the canary deployment uses the stage cache or not. UseStageCache pulumi.BoolPtrInput `pulumi:"useStageCache"` } @@ -614,8 +614,8 @@ func (o DeploymentCanarySettingOutput) PercentTraffic() pulumi.Float64PtrOutput } // 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. -func (o DeploymentCanarySettingOutput) StageVariableOverrides() pulumi.AnyOutput { - return o.ApplyT(func(v DeploymentCanarySetting) interface{} { return v.StageVariableOverrides }).(pulumi.AnyOutput) +func (o DeploymentCanarySettingOutput) StageVariableOverrides() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentCanarySetting) map[string]string { return v.StageVariableOverrides }).(pulumi.StringMapOutput) } // A Boolean flag to indicate whether the canary deployment uses the stage cache or not. @@ -658,13 +658,13 @@ func (o DeploymentCanarySettingPtrOutput) PercentTraffic() pulumi.Float64PtrOutp } // 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. -func (o DeploymentCanarySettingPtrOutput) StageVariableOverrides() pulumi.AnyOutput { - return o.ApplyT(func(v *DeploymentCanarySetting) interface{} { +func (o DeploymentCanarySettingPtrOutput) StageVariableOverrides() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentCanarySetting) map[string]string { if v == nil { return nil } return v.StageVariableOverrides - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // A Boolean flag to indicate whether the canary deployment uses the stage cache or not. @@ -682,7 +682,7 @@ type DeploymentCanarySettings struct { // The percentage (0.0-100.0) of traffic routed to the canary deployment. PercentTraffic *float64 `pulumi:"percentTraffic"` // 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. - StageVariableOverrides interface{} `pulumi:"stageVariableOverrides"` + StageVariableOverrides map[string]string `pulumi:"stageVariableOverrides"` // A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. UseStageCache *bool `pulumi:"useStageCache"` } @@ -703,7 +703,7 @@ type DeploymentCanarySettingsArgs struct { // The percentage (0.0-100.0) of traffic routed to the canary deployment. PercentTraffic pulumi.Float64PtrInput `pulumi:"percentTraffic"` // 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. - StageVariableOverrides pulumi.Input `pulumi:"stageVariableOverrides"` + StageVariableOverrides pulumi.StringMapInput `pulumi:"stageVariableOverrides"` // A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. UseStageCache pulumi.BoolPtrInput `pulumi:"useStageCache"` } @@ -792,8 +792,8 @@ func (o DeploymentCanarySettingsOutput) PercentTraffic() pulumi.Float64PtrOutput } // 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. -func (o DeploymentCanarySettingsOutput) StageVariableOverrides() pulumi.AnyOutput { - return o.ApplyT(func(v DeploymentCanarySettings) interface{} { return v.StageVariableOverrides }).(pulumi.AnyOutput) +func (o DeploymentCanarySettingsOutput) StageVariableOverrides() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentCanarySettings) map[string]string { return v.StageVariableOverrides }).(pulumi.StringMapOutput) } // A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. @@ -836,13 +836,13 @@ func (o DeploymentCanarySettingsPtrOutput) PercentTraffic() pulumi.Float64PtrOut } // 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. -func (o DeploymentCanarySettingsPtrOutput) StageVariableOverrides() pulumi.AnyOutput { - return o.ApplyT(func(v *DeploymentCanarySettings) interface{} { +func (o DeploymentCanarySettingsPtrOutput) StageVariableOverrides() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentCanarySettings) map[string]string { if v == nil { return nil } return v.StageVariableOverrides - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. @@ -1082,7 +1082,7 @@ type DeploymentStageDescription struct { // 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*. TracingEnabled *bool `pulumi:"tracingEnabled"` // 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-._~:/?#&=,]+``. - Variables interface{} `pulumi:"variables"` + Variables map[string]string `pulumi:"variables"` } // DeploymentStageDescriptionInput is an input type that accepts DeploymentStageDescriptionArgs and DeploymentStageDescriptionOutput values. @@ -1136,7 +1136,7 @@ type DeploymentStageDescriptionArgs struct { // 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*. TracingEnabled pulumi.BoolPtrInput `pulumi:"tracingEnabled"` // 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-._~:/?#&=,]+``. - Variables pulumi.Input `pulumi:"variables"` + Variables pulumi.StringMapInput `pulumi:"variables"` } func (DeploymentStageDescriptionArgs) ElementType() reflect.Type { @@ -1310,8 +1310,8 @@ func (o DeploymentStageDescriptionOutput) TracingEnabled() pulumi.BoolPtrOutput } // 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-._~:/?#&=,]+“. -func (o DeploymentStageDescriptionOutput) Variables() pulumi.AnyOutput { - return o.ApplyT(func(v DeploymentStageDescription) interface{} { return v.Variables }).(pulumi.AnyOutput) +func (o DeploymentStageDescriptionOutput) Variables() pulumi.StringMapOutput { + return o.ApplyT(func(v DeploymentStageDescription) map[string]string { return v.Variables }).(pulumi.StringMapOutput) } type DeploymentStageDescriptionPtrOutput struct{ *pulumi.OutputState } @@ -1521,13 +1521,13 @@ func (o DeploymentStageDescriptionPtrOutput) TracingEnabled() pulumi.BoolPtrOutp } // 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-._~:/?#&=,]+“. -func (o DeploymentStageDescriptionPtrOutput) Variables() pulumi.AnyOutput { - return o.ApplyT(func(v *DeploymentStageDescription) interface{} { +func (o DeploymentStageDescriptionPtrOutput) Variables() pulumi.StringMapOutput { + return o.ApplyT(func(v *DeploymentStageDescription) map[string]string { if v == nil { return nil } return v.Variables - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } type DeploymentTag struct { @@ -2136,9 +2136,9 @@ type MethodIntegration struct { // 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. PassthroughBehavior *MethodIntegrationPassthroughBehavior `pulumi:"passthroughBehavior"` // 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. - RequestParameters interface{} `pulumi:"requestParameters"` + RequestParameters map[string]string `pulumi:"requestParameters"` // 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. - RequestTemplates interface{} `pulumi:"requestTemplates"` + RequestTemplates map[string]string `pulumi:"requestTemplates"` // Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. TimeoutInMillis *int `pulumi:"timeoutInMillis"` // Specifies an API method integration type. The valid value is one of the following: @@ -2182,9 +2182,9 @@ type MethodIntegrationArgs struct { // 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. PassthroughBehavior MethodIntegrationPassthroughBehaviorPtrInput `pulumi:"passthroughBehavior"` // 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. - RequestParameters pulumi.Input `pulumi:"requestParameters"` + RequestParameters pulumi.StringMapInput `pulumi:"requestParameters"` // 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. - RequestTemplates pulumi.Input `pulumi:"requestTemplates"` + RequestTemplates pulumi.StringMapInput `pulumi:"requestTemplates"` // Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. TimeoutInMillis pulumi.IntPtrInput `pulumi:"timeoutInMillis"` // Specifies an API method integration type. The valid value is one of the following: @@ -2321,13 +2321,13 @@ func (o MethodIntegrationOutput) PassthroughBehavior() MethodIntegrationPassthro } // 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. -func (o MethodIntegrationOutput) RequestParameters() pulumi.AnyOutput { - return o.ApplyT(func(v MethodIntegration) interface{} { return v.RequestParameters }).(pulumi.AnyOutput) +func (o MethodIntegrationOutput) RequestParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v MethodIntegration) map[string]string { return v.RequestParameters }).(pulumi.StringMapOutput) } // 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. -func (o MethodIntegrationOutput) RequestTemplates() pulumi.AnyOutput { - return o.ApplyT(func(v MethodIntegration) interface{} { return v.RequestTemplates }).(pulumi.AnyOutput) +func (o MethodIntegrationOutput) RequestTemplates() pulumi.StringMapOutput { + return o.ApplyT(func(v MethodIntegration) map[string]string { return v.RequestTemplates }).(pulumi.StringMapOutput) } // Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. @@ -2466,23 +2466,23 @@ func (o MethodIntegrationPtrOutput) PassthroughBehavior() MethodIntegrationPasst } // 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. -func (o MethodIntegrationPtrOutput) RequestParameters() pulumi.AnyOutput { - return o.ApplyT(func(v *MethodIntegration) interface{} { +func (o MethodIntegrationPtrOutput) RequestParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *MethodIntegration) map[string]string { if v == nil { return nil } return v.RequestParameters - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // 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. -func (o MethodIntegrationPtrOutput) RequestTemplates() pulumi.AnyOutput { - return o.ApplyT(func(v *MethodIntegration) interface{} { +func (o MethodIntegrationPtrOutput) RequestTemplates() pulumi.StringMapOutput { + return o.ApplyT(func(v *MethodIntegration) map[string]string { if v == nil { return nil } return v.RequestTemplates - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. @@ -2525,9 +2525,9 @@ type MethodIntegrationResponse struct { // If this property is not defined, the response payload will be passed through from the integration response to the method response without modification. ContentHandling *MethodIntegrationResponseContentHandling `pulumi:"contentHandling"` // 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. - ResponseParameters interface{} `pulumi:"responseParameters"` + ResponseParameters map[string]string `pulumi:"responseParameters"` // 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. - ResponseTemplates interface{} `pulumi:"responseTemplates"` + ResponseTemplates map[string]string `pulumi:"responseTemplates"` // 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 LAMlong function, the LAMlong function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. SelectionPattern *string `pulumi:"selectionPattern"` // Specifies the status code that is used to map the integration response to an existing MethodResponse. @@ -2551,9 +2551,9 @@ type MethodIntegrationResponseArgs struct { // If this property is not defined, the response payload will be passed through from the integration response to the method response without modification. ContentHandling MethodIntegrationResponseContentHandlingPtrInput `pulumi:"contentHandling"` // 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. - ResponseParameters pulumi.Input `pulumi:"responseParameters"` + ResponseParameters pulumi.StringMapInput `pulumi:"responseParameters"` // 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. - ResponseTemplates pulumi.Input `pulumi:"responseTemplates"` + ResponseTemplates pulumi.StringMapInput `pulumi:"responseTemplates"` // 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 LAMlong function, the LAMlong function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. SelectionPattern pulumi.StringPtrInput `pulumi:"selectionPattern"` // Specifies the status code that is used to map the integration response to an existing MethodResponse. @@ -2620,13 +2620,13 @@ func (o MethodIntegrationResponseOutput) ContentHandling() MethodIntegrationResp } // 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. -func (o MethodIntegrationResponseOutput) ResponseParameters() pulumi.AnyOutput { - return o.ApplyT(func(v MethodIntegrationResponse) interface{} { return v.ResponseParameters }).(pulumi.AnyOutput) +func (o MethodIntegrationResponseOutput) ResponseParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v MethodIntegrationResponse) map[string]string { return v.ResponseParameters }).(pulumi.StringMapOutput) } // 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. -func (o MethodIntegrationResponseOutput) ResponseTemplates() pulumi.AnyOutput { - return o.ApplyT(func(v MethodIntegrationResponse) interface{} { return v.ResponseTemplates }).(pulumi.AnyOutput) +func (o MethodIntegrationResponseOutput) ResponseTemplates() pulumi.StringMapOutput { + return o.ApplyT(func(v MethodIntegrationResponse) map[string]string { return v.ResponseTemplates }).(pulumi.StringMapOutput) } // 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 LAMlong function, the LAMlong function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. @@ -2662,9 +2662,9 @@ func (o MethodIntegrationResponseArrayOutput) Index(i pulumi.IntInput) MethodInt // Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template. type MethodResponse struct { // 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. - ResponseModels interface{} `pulumi:"responseModels"` + ResponseModels map[string]string `pulumi:"responseModels"` // 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.) - ResponseParameters interface{} `pulumi:"responseParameters"` + ResponseParameters map[string]bool `pulumi:"responseParameters"` // The method response's status code. StatusCode string `pulumi:"statusCode"` } @@ -2683,9 +2683,9 @@ type MethodResponseInput interface { // Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template. type MethodResponseArgs struct { // 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. - ResponseModels pulumi.Input `pulumi:"responseModels"` + ResponseModels pulumi.StringMapInput `pulumi:"responseModels"` // 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.) - ResponseParameters pulumi.Input `pulumi:"responseParameters"` + ResponseParameters pulumi.BoolMapInput `pulumi:"responseParameters"` // The method response's status code. StatusCode pulumi.StringInput `pulumi:"statusCode"` } @@ -2743,13 +2743,13 @@ func (o MethodResponseOutput) ToMethodResponseOutputWithContext(ctx context.Cont } // 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. -func (o MethodResponseOutput) ResponseModels() pulumi.AnyOutput { - return o.ApplyT(func(v MethodResponse) interface{} { return v.ResponseModels }).(pulumi.AnyOutput) +func (o MethodResponseOutput) ResponseModels() pulumi.StringMapOutput { + return o.ApplyT(func(v MethodResponse) map[string]string { return v.ResponseModels }).(pulumi.StringMapOutput) } // 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.) -func (o MethodResponseOutput) ResponseParameters() pulumi.AnyOutput { - return o.ApplyT(func(v MethodResponse) interface{} { return v.ResponseParameters }).(pulumi.AnyOutput) +func (o MethodResponseOutput) ResponseParameters() pulumi.BoolMapOutput { + return o.ApplyT(func(v MethodResponse) map[string]bool { return v.ResponseParameters }).(pulumi.BoolMapOutput) } // The method response's status code. @@ -3417,7 +3417,7 @@ type StageCanarySetting struct { // The percent (0-100) of traffic diverted to a canary deployment. PercentTraffic *float64 `pulumi:"percentTraffic"` // 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. - StageVariableOverrides interface{} `pulumi:"stageVariableOverrides"` + StageVariableOverrides map[string]string `pulumi:"stageVariableOverrides"` // A Boolean flag to indicate whether the canary deployment uses the stage cache or not. UseStageCache *bool `pulumi:"useStageCache"` } @@ -3440,7 +3440,7 @@ type StageCanarySettingArgs struct { // The percent (0-100) of traffic diverted to a canary deployment. PercentTraffic pulumi.Float64PtrInput `pulumi:"percentTraffic"` // 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. - StageVariableOverrides pulumi.Input `pulumi:"stageVariableOverrides"` + StageVariableOverrides pulumi.StringMapInput `pulumi:"stageVariableOverrides"` // A Boolean flag to indicate whether the canary deployment uses the stage cache or not. UseStageCache pulumi.BoolPtrInput `pulumi:"useStageCache"` } @@ -3534,8 +3534,8 @@ func (o StageCanarySettingOutput) PercentTraffic() pulumi.Float64PtrOutput { } // 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. -func (o StageCanarySettingOutput) StageVariableOverrides() pulumi.AnyOutput { - return o.ApplyT(func(v StageCanarySetting) interface{} { return v.StageVariableOverrides }).(pulumi.AnyOutput) +func (o StageCanarySettingOutput) StageVariableOverrides() pulumi.StringMapOutput { + return o.ApplyT(func(v StageCanarySetting) map[string]string { return v.StageVariableOverrides }).(pulumi.StringMapOutput) } // A Boolean flag to indicate whether the canary deployment uses the stage cache or not. @@ -3588,13 +3588,13 @@ func (o StageCanarySettingPtrOutput) PercentTraffic() pulumi.Float64PtrOutput { } // 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. -func (o StageCanarySettingPtrOutput) StageVariableOverrides() pulumi.AnyOutput { - return o.ApplyT(func(v *StageCanarySetting) interface{} { +func (o StageCanarySettingPtrOutput) StageVariableOverrides() pulumi.StringMapOutput { + return o.ApplyT(func(v *StageCanarySetting) map[string]string { if v == nil { return nil } return v.StageVariableOverrides - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // A Boolean flag to indicate whether the canary deployment uses the stage cache or not. @@ -3907,7 +3907,7 @@ type UsagePlanApiStage struct { // API stage name of the associated API stage in a usage plan. Stage *string `pulumi:"stage"` // Map containing method level throttling information for API stage in a usage plan. - Throttle interface{} `pulumi:"throttle"` + Throttle map[string]UsagePlanThrottleSettings `pulumi:"throttle"` } // UsagePlanApiStageInput is an input type that accepts UsagePlanApiStageArgs and UsagePlanApiStageOutput values. @@ -3928,7 +3928,7 @@ type UsagePlanApiStageArgs struct { // API stage name of the associated API stage in a usage plan. Stage pulumi.StringPtrInput `pulumi:"stage"` // Map containing method level throttling information for API stage in a usage plan. - Throttle pulumi.Input `pulumi:"throttle"` + Throttle UsagePlanThrottleSettingsMapInput `pulumi:"throttle"` } func (UsagePlanApiStageArgs) ElementType() reflect.Type { @@ -3994,8 +3994,8 @@ func (o UsagePlanApiStageOutput) Stage() pulumi.StringPtrOutput { } // Map containing method level throttling information for API stage in a usage plan. -func (o UsagePlanApiStageOutput) Throttle() pulumi.AnyOutput { - return o.ApplyT(func(v UsagePlanApiStage) interface{} { return v.Throttle }).(pulumi.AnyOutput) +func (o UsagePlanApiStageOutput) Throttle() UsagePlanThrottleSettingsMapOutput { + return o.ApplyT(func(v UsagePlanApiStage) map[string]UsagePlanThrottleSettings { return v.Throttle }).(UsagePlanThrottleSettingsMapOutput) } type UsagePlanApiStageArrayOutput struct{ *pulumi.OutputState } @@ -4388,6 +4388,31 @@ func (i *usagePlanThrottleSettingsPtrType) ToUsagePlanThrottleSettingsPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(UsagePlanThrottleSettingsPtrOutput) } +// UsagePlanThrottleSettingsMapInput is an input type that accepts UsagePlanThrottleSettingsMap and UsagePlanThrottleSettingsMapOutput values. +// You can construct a concrete instance of `UsagePlanThrottleSettingsMapInput` via: +// +// UsagePlanThrottleSettingsMap{ "key": UsagePlanThrottleSettingsArgs{...} } +type UsagePlanThrottleSettingsMapInput interface { + pulumi.Input + + ToUsagePlanThrottleSettingsMapOutput() UsagePlanThrottleSettingsMapOutput + ToUsagePlanThrottleSettingsMapOutputWithContext(context.Context) UsagePlanThrottleSettingsMapOutput +} + +type UsagePlanThrottleSettingsMap map[string]UsagePlanThrottleSettingsInput + +func (UsagePlanThrottleSettingsMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]UsagePlanThrottleSettings)(nil)).Elem() +} + +func (i UsagePlanThrottleSettingsMap) ToUsagePlanThrottleSettingsMapOutput() UsagePlanThrottleSettingsMapOutput { + return i.ToUsagePlanThrottleSettingsMapOutputWithContext(context.Background()) +} + +func (i UsagePlanThrottleSettingsMap) ToUsagePlanThrottleSettingsMapOutputWithContext(ctx context.Context) UsagePlanThrottleSettingsMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(UsagePlanThrottleSettingsMapOutput) +} + // “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. type UsagePlanThrottleSettingsOutput struct{ *pulumi.OutputState } @@ -4467,6 +4492,26 @@ func (o UsagePlanThrottleSettingsPtrOutput) RateLimit() pulumi.Float64PtrOutput }).(pulumi.Float64PtrOutput) } +type UsagePlanThrottleSettingsMapOutput struct{ *pulumi.OutputState } + +func (UsagePlanThrottleSettingsMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]UsagePlanThrottleSettings)(nil)).Elem() +} + +func (o UsagePlanThrottleSettingsMapOutput) ToUsagePlanThrottleSettingsMapOutput() UsagePlanThrottleSettingsMapOutput { + return o +} + +func (o UsagePlanThrottleSettingsMapOutput) ToUsagePlanThrottleSettingsMapOutputWithContext(ctx context.Context) UsagePlanThrottleSettingsMapOutput { + return o +} + +func (o UsagePlanThrottleSettingsMapOutput) MapIndex(k pulumi.StringInput) UsagePlanThrottleSettingsOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) UsagePlanThrottleSettings { + return vs[0].(map[string]UsagePlanThrottleSettings)[vs[1].(string)] + }).(UsagePlanThrottleSettingsOutput) +} + type VpcLinkTag struct { Key string `pulumi:"key"` Value string `pulumi:"value"` @@ -4621,6 +4666,7 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*UsagePlanTagArrayInput)(nil)).Elem(), UsagePlanTagArray{}) pulumi.RegisterInputType(reflect.TypeOf((*UsagePlanThrottleSettingsInput)(nil)).Elem(), UsagePlanThrottleSettingsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*UsagePlanThrottleSettingsPtrInput)(nil)).Elem(), UsagePlanThrottleSettingsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*UsagePlanThrottleSettingsMapInput)(nil)).Elem(), UsagePlanThrottleSettingsMap{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcLinkTagInput)(nil)).Elem(), VpcLinkTagArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcLinkTagArrayInput)(nil)).Elem(), VpcLinkTagArray{}) pulumi.RegisterOutputType(ApiKeyStageKeyOutput{}) @@ -4676,6 +4722,7 @@ func init() { pulumi.RegisterOutputType(UsagePlanTagArrayOutput{}) pulumi.RegisterOutputType(UsagePlanThrottleSettingsOutput{}) pulumi.RegisterOutputType(UsagePlanThrottleSettingsPtrOutput{}) + pulumi.RegisterOutputType(UsagePlanThrottleSettingsMapOutput{}) pulumi.RegisterOutputType(VpcLinkTagOutput{}) pulumi.RegisterOutputType(VpcLinkTagArrayOutput{}) } diff --git a/sdk/go/aws/apigateway/restApi.go b/sdk/go/aws/apigateway/restApi.go index 0a3bf0ad1f..4ac4df164b 100644 --- a/sdk/go/aws/apigateway/restApi.go +++ b/sdk/go/aws/apigateway/restApi.go @@ -47,7 +47,7 @@ type RestApi struct { // The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification. Name pulumi.StringPtrOutput `pulumi:"name"` // Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. - Parameters pulumi.AnyOutput `pulumi:"parameters"` + Parameters pulumi.StringMapOutput `pulumi:"parameters"` // A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``. Policy pulumi.AnyOutput `pulumi:"policy"` RestApiId pulumi.StringOutput `pulumi:"restApiId"` @@ -126,7 +126,7 @@ type restApiArgs struct { // The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification. Name *string `pulumi:"name"` // Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. - Parameters interface{} `pulumi:"parameters"` + Parameters map[string]string `pulumi:"parameters"` // A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``. Policy interface{} `pulumi:"policy"` // The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters. @@ -165,7 +165,7 @@ type RestApiArgs struct { // The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification. Name pulumi.StringPtrInput // Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. - Parameters pulumi.Input + Parameters pulumi.StringMapInput // A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``. Policy pulumi.Input // The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters. @@ -276,8 +276,8 @@ func (o RestApiOutput) Name() pulumi.StringPtrOutput { } // Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set “ignore=documentation“ as a “parameters“ value, as in the AWS CLI command of “aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'“. -func (o RestApiOutput) Parameters() pulumi.AnyOutput { - return o.ApplyT(func(v *RestApi) pulumi.AnyOutput { return v.Parameters }).(pulumi.AnyOutput) +func (o RestApiOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *RestApi) pulumi.StringMapOutput { return v.Parameters }).(pulumi.StringMapOutput) } // A policy document that contains the permissions for the “RestApi“ resource. To set the ARN for the policy, use the “!Join“ intrinsic function with “""“ as delimiter and values of “"execute-api:/"“ and “"*"“. diff --git a/sdk/go/aws/apigateway/stage.go b/sdk/go/aws/apigateway/stage.go index aa5f977440..ae40afd7b2 100644 --- a/sdk/go/aws/apigateway/stage.go +++ b/sdk/go/aws/apigateway/stage.go @@ -43,7 +43,7 @@ type Stage struct { // Specifies whether active tracing with X-ray is enabled for the Stage. TracingEnabled pulumi.BoolPtrOutput `pulumi:"tracingEnabled"` // A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. - Variables pulumi.AnyOutput `pulumi:"variables"` + Variables pulumi.StringMapOutput `pulumi:"variables"` } // NewStage registers a new resource with the given unique name, arguments, and options. @@ -121,7 +121,7 @@ type stageArgs struct { // Specifies whether active tracing with X-ray is enabled for the Stage. TracingEnabled *bool `pulumi:"tracingEnabled"` // A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. - Variables interface{} `pulumi:"variables"` + Variables map[string]string `pulumi:"variables"` } // The set of arguments for constructing a Stage resource. @@ -153,7 +153,7 @@ type StageArgs struct { // Specifies whether active tracing with X-ray is enabled for the Stage. TracingEnabled pulumi.BoolPtrInput // A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. - Variables pulumi.Input + Variables pulumi.StringMapInput } func (StageArgs) ElementType() reflect.Type { @@ -259,8 +259,8 @@ func (o StageOutput) TracingEnabled() pulumi.BoolPtrOutput { } // A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: “[A-Za-z0-9-._~:/?#&=,]+“. -func (o StageOutput) Variables() pulumi.AnyOutput { - return o.ApplyT(func(v *Stage) pulumi.AnyOutput { return v.Variables }).(pulumi.AnyOutput) +func (o StageOutput) Variables() pulumi.StringMapOutput { + return o.ApplyT(func(v *Stage) pulumi.StringMapOutput { return v.Variables }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/apigatewayv2/api.go b/sdk/go/aws/apigatewayv2/api.go index 7d87b5df74..b51f9a5768 100644 --- a/sdk/go/aws/apigatewayv2/api.go +++ b/sdk/go/aws/apigatewayv2/api.go @@ -46,7 +46,7 @@ type Api struct { // The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs. RouteSelectionExpression pulumi.StringPtrOutput `pulumi:"routeSelectionExpression"` // The collection of tags. Each tag element is associated with a given resource. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs. Target pulumi.StringPtrOutput `pulumi:"target"` // A version identifier for the API. @@ -126,7 +126,7 @@ type apiArgs struct { // The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs. RouteSelectionExpression *string `pulumi:"routeSelectionExpression"` // The collection of tags. Each tag element is associated with a given resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs. Target *string `pulumi:"target"` // A version identifier for the API. @@ -164,7 +164,7 @@ type ApiArgs struct { // The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs. RouteSelectionExpression pulumi.StringPtrInput // The collection of tags. Each tag element is associated with a given resource. - Tags pulumi.Input + Tags pulumi.StringMapInput // This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs. Target pulumi.StringPtrInput // A version identifier for the API. @@ -287,8 +287,8 @@ func (o ApiOutput) RouteSelectionExpression() pulumi.StringPtrOutput { } // The collection of tags. Each tag element is associated with a given resource. -func (o ApiOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *Api) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ApiOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Api) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs. diff --git a/sdk/go/aws/apigatewayv2/domainName.go b/sdk/go/aws/apigatewayv2/domainName.go index 90cd467d95..ef2831c7b4 100644 --- a/sdk/go/aws/apigatewayv2/domainName.go +++ b/sdk/go/aws/apigatewayv2/domainName.go @@ -27,7 +27,7 @@ type DomainName struct { RegionalDomainName pulumi.StringOutput `pulumi:"regionalDomainName"` RegionalHostedZoneId pulumi.StringOutput `pulumi:"regionalHostedZoneId"` // The collection of tags associated with a domain name. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` } // NewDomainName registers a new resource with the given unique name, arguments, and options. @@ -84,7 +84,7 @@ type domainNameArgs struct { // The mutual TLS authentication configuration for a custom domain name. MutualTlsAuthentication *DomainNameMutualTlsAuthentication `pulumi:"mutualTlsAuthentication"` // The collection of tags associated with a domain name. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` } // The set of arguments for constructing a DomainName resource. @@ -96,7 +96,7 @@ type DomainNameArgs struct { // The mutual TLS authentication configuration for a custom domain name. MutualTlsAuthentication DomainNameMutualTlsAuthenticationPtrInput // The collection of tags associated with a domain name. - Tags pulumi.Input + Tags pulumi.StringMapInput } func (DomainNameArgs) ElementType() reflect.Type { @@ -160,8 +160,8 @@ func (o DomainNameOutput) RegionalHostedZoneId() pulumi.StringOutput { } // The collection of tags associated with a domain name. -func (o DomainNameOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *DomainName) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o DomainNameOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *DomainName) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/apigatewayv2/getApi.go b/sdk/go/aws/apigatewayv2/getApi.go index 4c8fe9c5af..d6571953c7 100644 --- a/sdk/go/aws/apigatewayv2/getApi.go +++ b/sdk/go/aws/apigatewayv2/getApi.go @@ -42,7 +42,7 @@ type LookupApiResult struct { // The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs. RouteSelectionExpression *string `pulumi:"routeSelectionExpression"` // The collection of tags. Each tag element is associated with a given resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // A version identifier for the API. Version *string `pulumi:"version"` } @@ -121,8 +121,8 @@ func (o LookupApiResultOutput) RouteSelectionExpression() pulumi.StringPtrOutput } // The collection of tags. Each tag element is associated with a given resource. -func (o LookupApiResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupApiResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupApiResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupApiResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } // A version identifier for the API. diff --git a/sdk/go/aws/apigatewayv2/getDomainName.go b/sdk/go/aws/apigatewayv2/getDomainName.go index 9a3c3b3793..773078bf3f 100644 --- a/sdk/go/aws/apigatewayv2/getDomainName.go +++ b/sdk/go/aws/apigatewayv2/getDomainName.go @@ -37,7 +37,7 @@ type LookupDomainNameResult struct { RegionalDomainName *string `pulumi:"regionalDomainName"` RegionalHostedZoneId *string `pulumi:"regionalHostedZoneId"` // The collection of tags associated with a domain name. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` } func LookupDomainNameOutput(ctx *pulumi.Context, args LookupDomainNameOutputArgs, opts ...pulumi.InvokeOption) LookupDomainNameResultOutput { @@ -95,8 +95,8 @@ func (o LookupDomainNameResultOutput) RegionalHostedZoneId() pulumi.StringPtrOut } // The collection of tags associated with a domain name. -func (o LookupDomainNameResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupDomainNameResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupDomainNameResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDomainNameResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/apigatewayv2/getVpcLink.go b/sdk/go/aws/apigatewayv2/getVpcLink.go index 73984e24cb..65dd932ed7 100644 --- a/sdk/go/aws/apigatewayv2/getVpcLink.go +++ b/sdk/go/aws/apigatewayv2/getVpcLink.go @@ -29,8 +29,8 @@ type LookupVpcLinkArgs struct { type LookupVpcLinkResult struct { Name *string `pulumi:"name"` // This resource type use map for Tags, suggest to use List of Tag - Tags interface{} `pulumi:"tags"` - VpcLinkId *string `pulumi:"vpcLinkId"` + Tags map[string]string `pulumi:"tags"` + VpcLinkId *string `pulumi:"vpcLinkId"` } func LookupVpcLinkOutput(ctx *pulumi.Context, args LookupVpcLinkOutputArgs, opts ...pulumi.InvokeOption) LookupVpcLinkResultOutput { @@ -73,8 +73,8 @@ func (o LookupVpcLinkResultOutput) Name() pulumi.StringPtrOutput { } // This resource type use map for Tags, suggest to use List of Tag -func (o LookupVpcLinkResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupVpcLinkResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupVpcLinkResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupVpcLinkResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } func (o LookupVpcLinkResultOutput) VpcLinkId() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/apigatewayv2/vpcLink.go b/sdk/go/aws/apigatewayv2/vpcLink.go index afacd1b55f..eef95add5f 100644 --- a/sdk/go/aws/apigatewayv2/vpcLink.go +++ b/sdk/go/aws/apigatewayv2/vpcLink.go @@ -20,8 +20,8 @@ type VpcLink struct { SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"` // This resource type use map for Tags, suggest to use List of Tag - Tags pulumi.AnyOutput `pulumi:"tags"` - VpcLinkId pulumi.StringOutput `pulumi:"vpcLinkId"` + Tags pulumi.StringMapOutput `pulumi:"tags"` + VpcLinkId pulumi.StringOutput `pulumi:"vpcLinkId"` } // NewVpcLink registers a new resource with the given unique name, arguments, and options. @@ -76,7 +76,7 @@ type vpcLinkArgs struct { SecurityGroupIds []string `pulumi:"securityGroupIds"` SubnetIds []string `pulumi:"subnetIds"` // This resource type use map for Tags, suggest to use List of Tag - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` } // The set of arguments for constructing a VpcLink resource. @@ -85,7 +85,7 @@ type VpcLinkArgs struct { SecurityGroupIds pulumi.StringArrayInput SubnetIds pulumi.StringArrayInput // This resource type use map for Tags, suggest to use List of Tag - Tags pulumi.Input + Tags pulumi.StringMapInput } func (VpcLinkArgs) ElementType() reflect.Type { @@ -138,8 +138,8 @@ func (o VpcLinkOutput) SubnetIds() pulumi.StringArrayOutput { } // This resource type use map for Tags, suggest to use List of Tag -func (o VpcLinkOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *VpcLink) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o VpcLinkOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *VpcLink) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func (o VpcLinkOutput) VpcLinkId() pulumi.StringOutput { diff --git a/sdk/go/aws/appconfig/extension.go b/sdk/go/aws/appconfig/extension.go index 0ebe0b134d..115da48715 100644 --- a/sdk/go/aws/appconfig/extension.go +++ b/sdk/go/aws/appconfig/extension.go @@ -16,14 +16,14 @@ import ( type Extension struct { pulumi.CustomResourceState - Actions pulumi.AnyOutput `pulumi:"actions"` - Arn pulumi.StringOutput `pulumi:"arn"` + Actions ExtensionActionArrayMapOutput `pulumi:"actions"` + Arn pulumi.StringOutput `pulumi:"arn"` // Description of the extension. Description pulumi.StringPtrOutput `pulumi:"description"` LatestVersionNumber pulumi.IntPtrOutput `pulumi:"latestVersionNumber"` // Name of the extension. - Name pulumi.StringOutput `pulumi:"name"` - Parameters pulumi.AnyOutput `pulumi:"parameters"` + Name pulumi.StringOutput `pulumi:"name"` + Parameters ExtensionParameterMapOutput `pulumi:"parameters"` // An array of key-value tags to apply to this resource. Tags ExtensionTagArrayOutput `pulumi:"tags"` VersionNumber pulumi.IntOutput `pulumi:"versionNumber"` @@ -77,26 +77,26 @@ func (ExtensionState) ElementType() reflect.Type { } type extensionArgs struct { - Actions interface{} `pulumi:"actions"` + Actions map[string][]ExtensionAction `pulumi:"actions"` // Description of the extension. Description *string `pulumi:"description"` LatestVersionNumber *int `pulumi:"latestVersionNumber"` // Name of the extension. - Name *string `pulumi:"name"` - Parameters interface{} `pulumi:"parameters"` + Name *string `pulumi:"name"` + Parameters map[string]ExtensionParameter `pulumi:"parameters"` // An array of key-value tags to apply to this resource. Tags []ExtensionTag `pulumi:"tags"` } // The set of arguments for constructing a Extension resource. type ExtensionArgs struct { - Actions pulumi.Input + Actions ExtensionActionArrayMapInput // Description of the extension. Description pulumi.StringPtrInput LatestVersionNumber pulumi.IntPtrInput // Name of the extension. Name pulumi.StringPtrInput - Parameters pulumi.Input + Parameters ExtensionParameterMapInput // An array of key-value tags to apply to this resource. Tags ExtensionTagArrayInput } @@ -138,8 +138,8 @@ func (o ExtensionOutput) ToExtensionOutputWithContext(ctx context.Context) Exten return o } -func (o ExtensionOutput) Actions() pulumi.AnyOutput { - return o.ApplyT(func(v *Extension) pulumi.AnyOutput { return v.Actions }).(pulumi.AnyOutput) +func (o ExtensionOutput) Actions() ExtensionActionArrayMapOutput { + return o.ApplyT(func(v *Extension) ExtensionActionArrayMapOutput { return v.Actions }).(ExtensionActionArrayMapOutput) } func (o ExtensionOutput) Arn() pulumi.StringOutput { @@ -160,8 +160,8 @@ func (o ExtensionOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Extension) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -func (o ExtensionOutput) Parameters() pulumi.AnyOutput { - return o.ApplyT(func(v *Extension) pulumi.AnyOutput { return v.Parameters }).(pulumi.AnyOutput) +func (o ExtensionOutput) Parameters() ExtensionParameterMapOutput { + return o.ApplyT(func(v *Extension) ExtensionParameterMapOutput { return v.Parameters }).(ExtensionParameterMapOutput) } // An array of key-value tags to apply to this resource. diff --git a/sdk/go/aws/appconfig/extensionAssociation.go b/sdk/go/aws/appconfig/extensionAssociation.go index 09255cf039..8c5be7441b 100644 --- a/sdk/go/aws/appconfig/extensionAssociation.go +++ b/sdk/go/aws/appconfig/extensionAssociation.go @@ -19,7 +19,7 @@ type ExtensionAssociation struct { ExtensionArn pulumi.StringOutput `pulumi:"extensionArn"` ExtensionIdentifier pulumi.StringPtrOutput `pulumi:"extensionIdentifier"` ExtensionVersionNumber pulumi.IntPtrOutput `pulumi:"extensionVersionNumber"` - Parameters pulumi.AnyOutput `pulumi:"parameters"` + Parameters pulumi.StringMapOutput `pulumi:"parameters"` ResourceArn pulumi.StringOutput `pulumi:"resourceArn"` ResourceIdentifier pulumi.StringPtrOutput `pulumi:"resourceIdentifier"` // An array of key-value pairs to apply to this resource. @@ -73,10 +73,10 @@ func (ExtensionAssociationState) ElementType() reflect.Type { } type extensionAssociationArgs struct { - ExtensionIdentifier *string `pulumi:"extensionIdentifier"` - ExtensionVersionNumber *int `pulumi:"extensionVersionNumber"` - Parameters interface{} `pulumi:"parameters"` - ResourceIdentifier *string `pulumi:"resourceIdentifier"` + ExtensionIdentifier *string `pulumi:"extensionIdentifier"` + ExtensionVersionNumber *int `pulumi:"extensionVersionNumber"` + Parameters map[string]string `pulumi:"parameters"` + ResourceIdentifier *string `pulumi:"resourceIdentifier"` // An array of key-value pairs to apply to this resource. Tags []ExtensionAssociationTag `pulumi:"tags"` } @@ -85,7 +85,7 @@ type extensionAssociationArgs struct { type ExtensionAssociationArgs struct { ExtensionIdentifier pulumi.StringPtrInput ExtensionVersionNumber pulumi.IntPtrInput - Parameters pulumi.Input + Parameters pulumi.StringMapInput ResourceIdentifier pulumi.StringPtrInput // An array of key-value pairs to apply to this resource. Tags ExtensionAssociationTagArrayInput @@ -144,8 +144,8 @@ func (o ExtensionAssociationOutput) ExtensionVersionNumber() pulumi.IntPtrOutput return o.ApplyT(func(v *ExtensionAssociation) pulumi.IntPtrOutput { return v.ExtensionVersionNumber }).(pulumi.IntPtrOutput) } -func (o ExtensionAssociationOutput) Parameters() pulumi.AnyOutput { - return o.ApplyT(func(v *ExtensionAssociation) pulumi.AnyOutput { return v.Parameters }).(pulumi.AnyOutput) +func (o ExtensionAssociationOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *ExtensionAssociation) pulumi.StringMapOutput { return v.Parameters }).(pulumi.StringMapOutput) } func (o ExtensionAssociationOutput) ResourceArn() pulumi.StringOutput { diff --git a/sdk/go/aws/appconfig/getExtension.go b/sdk/go/aws/appconfig/getExtension.go index e690ea5000..d003195a92 100644 --- a/sdk/go/aws/appconfig/getExtension.go +++ b/sdk/go/aws/appconfig/getExtension.go @@ -27,13 +27,13 @@ type LookupExtensionArgs struct { } type LookupExtensionResult struct { - Actions interface{} `pulumi:"actions"` - Arn *string `pulumi:"arn"` + Actions map[string][]ExtensionAction `pulumi:"actions"` + Arn *string `pulumi:"arn"` // Description of the extension. - Description *string `pulumi:"description"` - Id *string `pulumi:"id"` - Parameters interface{} `pulumi:"parameters"` - VersionNumber *int `pulumi:"versionNumber"` + Description *string `pulumi:"description"` + Id *string `pulumi:"id"` + Parameters map[string]ExtensionParameter `pulumi:"parameters"` + VersionNumber *int `pulumi:"versionNumber"` } func LookupExtensionOutput(ctx *pulumi.Context, args LookupExtensionOutputArgs, opts ...pulumi.InvokeOption) LookupExtensionResultOutput { @@ -71,8 +71,8 @@ func (o LookupExtensionResultOutput) ToLookupExtensionResultOutputWithContext(ct return o } -func (o LookupExtensionResultOutput) Actions() pulumi.AnyOutput { - return o.ApplyT(func(v LookupExtensionResult) interface{} { return v.Actions }).(pulumi.AnyOutput) +func (o LookupExtensionResultOutput) Actions() ExtensionActionArrayMapOutput { + return o.ApplyT(func(v LookupExtensionResult) map[string][]ExtensionAction { return v.Actions }).(ExtensionActionArrayMapOutput) } func (o LookupExtensionResultOutput) Arn() pulumi.StringPtrOutput { @@ -88,8 +88,8 @@ func (o LookupExtensionResultOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupExtensionResult) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o LookupExtensionResultOutput) Parameters() pulumi.AnyOutput { - return o.ApplyT(func(v LookupExtensionResult) interface{} { return v.Parameters }).(pulumi.AnyOutput) +func (o LookupExtensionResultOutput) Parameters() ExtensionParameterMapOutput { + return o.ApplyT(func(v LookupExtensionResult) map[string]ExtensionParameter { return v.Parameters }).(ExtensionParameterMapOutput) } func (o LookupExtensionResultOutput) VersionNumber() pulumi.IntPtrOutput { diff --git a/sdk/go/aws/appconfig/getExtensionAssociation.go b/sdk/go/aws/appconfig/getExtensionAssociation.go index 408e47dd70..acbd7f6677 100644 --- a/sdk/go/aws/appconfig/getExtensionAssociation.go +++ b/sdk/go/aws/appconfig/getExtensionAssociation.go @@ -27,11 +27,11 @@ type LookupExtensionAssociationArgs struct { } type LookupExtensionAssociationResult struct { - Arn *string `pulumi:"arn"` - ExtensionArn *string `pulumi:"extensionArn"` - Id *string `pulumi:"id"` - Parameters interface{} `pulumi:"parameters"` - ResourceArn *string `pulumi:"resourceArn"` + Arn *string `pulumi:"arn"` + ExtensionArn *string `pulumi:"extensionArn"` + Id *string `pulumi:"id"` + Parameters map[string]string `pulumi:"parameters"` + ResourceArn *string `pulumi:"resourceArn"` } func LookupExtensionAssociationOutput(ctx *pulumi.Context, args LookupExtensionAssociationOutputArgs, opts ...pulumi.InvokeOption) LookupExtensionAssociationResultOutput { @@ -81,8 +81,8 @@ func (o LookupExtensionAssociationResultOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupExtensionAssociationResult) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o LookupExtensionAssociationResultOutput) Parameters() pulumi.AnyOutput { - return o.ApplyT(func(v LookupExtensionAssociationResult) interface{} { return v.Parameters }).(pulumi.AnyOutput) +func (o LookupExtensionAssociationResultOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupExtensionAssociationResult) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) } func (o LookupExtensionAssociationResultOutput) ResourceArn() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/appconfig/pulumiTypes.go b/sdk/go/aws/appconfig/pulumiTypes.go index 7bdab2f5bc..ab9958215c 100644 --- a/sdk/go/aws/appconfig/pulumiTypes.go +++ b/sdk/go/aws/appconfig/pulumiTypes.go @@ -758,6 +758,133 @@ func (o EnvironmentTagArrayOutput) Index(i pulumi.IntInput) EnvironmentTagOutput }).(EnvironmentTagOutput) } +// An action for an extension to take at a specific action point. +type ExtensionAction struct { + // The description of the extension Action. + Description *string `pulumi:"description"` + // The name of the extension action. + Name string `pulumi:"name"` + // The ARN of the role for invoking the extension action. + RoleArn *string `pulumi:"roleArn"` + // The URI of the extension action. + Uri string `pulumi:"uri"` +} + +// ExtensionActionInput is an input type that accepts ExtensionActionArgs and ExtensionActionOutput values. +// You can construct a concrete instance of `ExtensionActionInput` via: +// +// ExtensionActionArgs{...} +type ExtensionActionInput interface { + pulumi.Input + + ToExtensionActionOutput() ExtensionActionOutput + ToExtensionActionOutputWithContext(context.Context) ExtensionActionOutput +} + +// An action for an extension to take at a specific action point. +type ExtensionActionArgs struct { + // The description of the extension Action. + Description pulumi.StringPtrInput `pulumi:"description"` + // The name of the extension action. + Name pulumi.StringInput `pulumi:"name"` + // The ARN of the role for invoking the extension action. + RoleArn pulumi.StringPtrInput `pulumi:"roleArn"` + // The URI of the extension action. + Uri pulumi.StringInput `pulumi:"uri"` +} + +func (ExtensionActionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ExtensionAction)(nil)).Elem() +} + +func (i ExtensionActionArgs) ToExtensionActionOutput() ExtensionActionOutput { + return i.ToExtensionActionOutputWithContext(context.Background()) +} + +func (i ExtensionActionArgs) ToExtensionActionOutputWithContext(ctx context.Context) ExtensionActionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ExtensionActionOutput) +} + +// ExtensionActionArrayInput is an input type that accepts ExtensionActionArray and ExtensionActionArrayOutput values. +// You can construct a concrete instance of `ExtensionActionArrayInput` via: +// +// ExtensionActionArray{ ExtensionActionArgs{...} } +type ExtensionActionArrayInput interface { + pulumi.Input + + ToExtensionActionArrayOutput() ExtensionActionArrayOutput + ToExtensionActionArrayOutputWithContext(context.Context) ExtensionActionArrayOutput +} + +type ExtensionActionArray []ExtensionActionInput + +func (ExtensionActionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ExtensionAction)(nil)).Elem() +} + +func (i ExtensionActionArray) ToExtensionActionArrayOutput() ExtensionActionArrayOutput { + return i.ToExtensionActionArrayOutputWithContext(context.Background()) +} + +func (i ExtensionActionArray) ToExtensionActionArrayOutputWithContext(ctx context.Context) ExtensionActionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ExtensionActionArrayOutput) +} + +// An action for an extension to take at a specific action point. +type ExtensionActionOutput struct{ *pulumi.OutputState } + +func (ExtensionActionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ExtensionAction)(nil)).Elem() +} + +func (o ExtensionActionOutput) ToExtensionActionOutput() ExtensionActionOutput { + return o +} + +func (o ExtensionActionOutput) ToExtensionActionOutputWithContext(ctx context.Context) ExtensionActionOutput { + return o +} + +// The description of the extension Action. +func (o ExtensionActionOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v ExtensionAction) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// The name of the extension action. +func (o ExtensionActionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ExtensionAction) string { return v.Name }).(pulumi.StringOutput) +} + +// The ARN of the role for invoking the extension action. +func (o ExtensionActionOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ExtensionAction) *string { return v.RoleArn }).(pulumi.StringPtrOutput) +} + +// The URI of the extension action. +func (o ExtensionActionOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v ExtensionAction) string { return v.Uri }).(pulumi.StringOutput) +} + +type ExtensionActionArrayOutput struct{ *pulumi.OutputState } + +func (ExtensionActionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ExtensionAction)(nil)).Elem() +} + +func (o ExtensionActionArrayOutput) ToExtensionActionArrayOutput() ExtensionActionArrayOutput { + return o +} + +func (o ExtensionActionArrayOutput) ToExtensionActionArrayOutputWithContext(ctx context.Context) ExtensionActionArrayOutput { + return o +} + +func (o ExtensionActionArrayOutput) Index(i pulumi.IntInput) ExtensionActionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExtensionAction { + return vs[0].([]ExtensionAction)[vs[1].(int)] + }).(ExtensionActionOutput) +} + // A key-value pair to associate with a resource. type ExtensionAssociationTag struct { // 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 -. @@ -867,6 +994,112 @@ func (o ExtensionAssociationTagArrayOutput) Index(i pulumi.IntInput) ExtensionAs }).(ExtensionAssociationTagOutput) } +// A parameter for the extension to send to a specific action. +type ExtensionParameter struct { + // The description of the extension Parameter. + Description *string `pulumi:"description"` + Required bool `pulumi:"required"` +} + +// ExtensionParameterInput is an input type that accepts ExtensionParameterArgs and ExtensionParameterOutput values. +// You can construct a concrete instance of `ExtensionParameterInput` via: +// +// ExtensionParameterArgs{...} +type ExtensionParameterInput interface { + pulumi.Input + + ToExtensionParameterOutput() ExtensionParameterOutput + ToExtensionParameterOutputWithContext(context.Context) ExtensionParameterOutput +} + +// A parameter for the extension to send to a specific action. +type ExtensionParameterArgs struct { + // The description of the extension Parameter. + Description pulumi.StringPtrInput `pulumi:"description"` + Required pulumi.BoolInput `pulumi:"required"` +} + +func (ExtensionParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ExtensionParameter)(nil)).Elem() +} + +func (i ExtensionParameterArgs) ToExtensionParameterOutput() ExtensionParameterOutput { + return i.ToExtensionParameterOutputWithContext(context.Background()) +} + +func (i ExtensionParameterArgs) ToExtensionParameterOutputWithContext(ctx context.Context) ExtensionParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(ExtensionParameterOutput) +} + +// ExtensionParameterMapInput is an input type that accepts ExtensionParameterMap and ExtensionParameterMapOutput values. +// You can construct a concrete instance of `ExtensionParameterMapInput` via: +// +// ExtensionParameterMap{ "key": ExtensionParameterArgs{...} } +type ExtensionParameterMapInput interface { + pulumi.Input + + ToExtensionParameterMapOutput() ExtensionParameterMapOutput + ToExtensionParameterMapOutputWithContext(context.Context) ExtensionParameterMapOutput +} + +type ExtensionParameterMap map[string]ExtensionParameterInput + +func (ExtensionParameterMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ExtensionParameter)(nil)).Elem() +} + +func (i ExtensionParameterMap) ToExtensionParameterMapOutput() ExtensionParameterMapOutput { + return i.ToExtensionParameterMapOutputWithContext(context.Background()) +} + +func (i ExtensionParameterMap) ToExtensionParameterMapOutputWithContext(ctx context.Context) ExtensionParameterMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ExtensionParameterMapOutput) +} + +// A parameter for the extension to send to a specific action. +type ExtensionParameterOutput struct{ *pulumi.OutputState } + +func (ExtensionParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ExtensionParameter)(nil)).Elem() +} + +func (o ExtensionParameterOutput) ToExtensionParameterOutput() ExtensionParameterOutput { + return o +} + +func (o ExtensionParameterOutput) ToExtensionParameterOutputWithContext(ctx context.Context) ExtensionParameterOutput { + return o +} + +// The description of the extension Parameter. +func (o ExtensionParameterOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v ExtensionParameter) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o ExtensionParameterOutput) Required() pulumi.BoolOutput { + return o.ApplyT(func(v ExtensionParameter) bool { return v.Required }).(pulumi.BoolOutput) +} + +type ExtensionParameterMapOutput struct{ *pulumi.OutputState } + +func (ExtensionParameterMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ExtensionParameter)(nil)).Elem() +} + +func (o ExtensionParameterMapOutput) ToExtensionParameterMapOutput() ExtensionParameterMapOutput { + return o +} + +func (o ExtensionParameterMapOutput) ToExtensionParameterMapOutputWithContext(ctx context.Context) ExtensionParameterMapOutput { + return o +} + +func (o ExtensionParameterMapOutput) MapIndex(k pulumi.StringInput) ExtensionParameterOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) ExtensionParameter { + return vs[0].(map[string]ExtensionParameter)[vs[1].(string)] + }).(ExtensionParameterOutput) +} + // A key-value pair to associate with a resource. type ExtensionTag struct { // 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 -. @@ -976,6 +1209,51 @@ func (o ExtensionTagArrayOutput) Index(i pulumi.IntInput) ExtensionTagOutput { }).(ExtensionTagOutput) } +type ExtensionActionArrayMap map[string]ExtensionActionArrayInput + +func (ExtensionActionArrayMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string][]ExtensionAction)(nil)).Elem() +} + +func (i ExtensionActionArrayMap) ToExtensionActionArrayMapOutput() ExtensionActionArrayMapOutput { + return i.ToExtensionActionArrayMapOutputWithContext(context.Background()) +} + +func (i ExtensionActionArrayMap) ToExtensionActionArrayMapOutputWithContext(ctx context.Context) ExtensionActionArrayMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ExtensionActionArrayMapOutput) +} + +// ExtensionActionArrayMapInput is an input type that accepts ExtensionActionArrayMap and ExtensionActionArrayMapOutput values. +// You can construct a concrete instance of `ExtensionActionArrayMapInput` via: +// +// ExtensionActionArrayMap{ "key": ExtensionActionArray{ ExtensionActionArgs{...} } } +type ExtensionActionArrayMapInput interface { + pulumi.Input + + ToExtensionActionArrayMapOutput() ExtensionActionArrayMapOutput + ToExtensionActionArrayMapOutputWithContext(context.Context) ExtensionActionArrayMapOutput +} + +type ExtensionActionArrayMapOutput struct{ *pulumi.OutputState } + +func (ExtensionActionArrayMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string][]ExtensionAction)(nil)).Elem() +} + +func (o ExtensionActionArrayMapOutput) ToExtensionActionArrayMapOutput() ExtensionActionArrayMapOutput { + return o +} + +func (o ExtensionActionArrayMapOutput) ToExtensionActionArrayMapOutputWithContext(ctx context.Context) ExtensionActionArrayMapOutput { + return o +} + +func (o ExtensionActionArrayMapOutput) MapIndex(k pulumi.StringInput) ExtensionActionArrayOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) []ExtensionAction { + return vs[0].(map[string][]ExtensionAction)[vs[1].(string)] + }).(ExtensionActionArrayOutput) +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ApplicationTagsInput)(nil)).Elem(), ApplicationTagsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ApplicationTagsArrayInput)(nil)).Elem(), ApplicationTagsArray{}) @@ -991,10 +1269,15 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*EnvironmentMonitorArrayInput)(nil)).Elem(), EnvironmentMonitorArray{}) pulumi.RegisterInputType(reflect.TypeOf((*EnvironmentTagInput)(nil)).Elem(), EnvironmentTagArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*EnvironmentTagArrayInput)(nil)).Elem(), EnvironmentTagArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ExtensionActionInput)(nil)).Elem(), ExtensionActionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ExtensionActionArrayInput)(nil)).Elem(), ExtensionActionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ExtensionAssociationTagInput)(nil)).Elem(), ExtensionAssociationTagArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ExtensionAssociationTagArrayInput)(nil)).Elem(), ExtensionAssociationTagArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ExtensionParameterInput)(nil)).Elem(), ExtensionParameterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ExtensionParameterMapInput)(nil)).Elem(), ExtensionParameterMap{}) pulumi.RegisterInputType(reflect.TypeOf((*ExtensionTagInput)(nil)).Elem(), ExtensionTagArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ExtensionTagArrayInput)(nil)).Elem(), ExtensionTagArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ExtensionActionArrayMapInput)(nil)).Elem(), ExtensionActionArrayMap{}) pulumi.RegisterOutputType(ApplicationTagsOutput{}) pulumi.RegisterOutputType(ApplicationTagsArrayOutput{}) pulumi.RegisterOutputType(ConfigurationProfileTagsOutput{}) @@ -1009,8 +1292,13 @@ func init() { pulumi.RegisterOutputType(EnvironmentMonitorArrayOutput{}) pulumi.RegisterOutputType(EnvironmentTagOutput{}) pulumi.RegisterOutputType(EnvironmentTagArrayOutput{}) + pulumi.RegisterOutputType(ExtensionActionOutput{}) + pulumi.RegisterOutputType(ExtensionActionArrayOutput{}) pulumi.RegisterOutputType(ExtensionAssociationTagOutput{}) pulumi.RegisterOutputType(ExtensionAssociationTagArrayOutput{}) + pulumi.RegisterOutputType(ExtensionParameterOutput{}) + pulumi.RegisterOutputType(ExtensionParameterMapOutput{}) pulumi.RegisterOutputType(ExtensionTagOutput{}) pulumi.RegisterOutputType(ExtensionTagArrayOutput{}) + pulumi.RegisterOutputType(ExtensionActionArrayMapOutput{}) } diff --git a/sdk/go/aws/appintegrations/pulumiTypes.go b/sdk/go/aws/appintegrations/pulumiTypes.go index bdb1bbbeff..e02837a39b 100644 --- a/sdk/go/aws/appintegrations/pulumiTypes.go +++ b/sdk/go/aws/appintegrations/pulumiTypes.go @@ -16,7 +16,7 @@ var _ = internal.GetEnvOrDefault // The configuration for what files should be pulled from the source. type DataIntegrationFileConfiguration struct { // Restrictions for what files should be pulled from the source. - Filters interface{} `pulumi:"filters"` + Filters map[string][]string `pulumi:"filters"` // Identifiers for the source folders to pull all files from recursively. Folders []string `pulumi:"folders"` } @@ -35,7 +35,7 @@ type DataIntegrationFileConfigurationInput interface { // The configuration for what files should be pulled from the source. type DataIntegrationFileConfigurationArgs struct { // Restrictions for what files should be pulled from the source. - Filters pulumi.Input `pulumi:"filters"` + Filters pulumi.StringArrayMapInput `pulumi:"filters"` // Identifiers for the source folders to pull all files from recursively. Folders pulumi.StringArrayInput `pulumi:"folders"` } @@ -119,8 +119,8 @@ func (o DataIntegrationFileConfigurationOutput) ToDataIntegrationFileConfigurati } // Restrictions for what files should be pulled from the source. -func (o DataIntegrationFileConfigurationOutput) Filters() pulumi.AnyOutput { - return o.ApplyT(func(v DataIntegrationFileConfiguration) interface{} { return v.Filters }).(pulumi.AnyOutput) +func (o DataIntegrationFileConfigurationOutput) Filters() pulumi.StringArrayMapOutput { + return o.ApplyT(func(v DataIntegrationFileConfiguration) map[string][]string { return v.Filters }).(pulumi.StringArrayMapOutput) } // Identifiers for the source folders to pull all files from recursively. @@ -153,13 +153,13 @@ func (o DataIntegrationFileConfigurationPtrOutput) Elem() DataIntegrationFileCon } // Restrictions for what files should be pulled from the source. -func (o DataIntegrationFileConfigurationPtrOutput) Filters() pulumi.AnyOutput { - return o.ApplyT(func(v *DataIntegrationFileConfiguration) interface{} { +func (o DataIntegrationFileConfigurationPtrOutput) Filters() pulumi.StringArrayMapOutput { + return o.ApplyT(func(v *DataIntegrationFileConfiguration) map[string][]string { if v == nil { return nil } return v.Filters - }).(pulumi.AnyOutput) + }).(pulumi.StringArrayMapOutput) } // Identifiers for the source folders to pull all files from recursively. diff --git a/sdk/go/aws/athena/dataCatalog.go b/sdk/go/aws/athena/dataCatalog.go index f328f9a451..8e07a89d91 100644 --- a/sdk/go/aws/athena/dataCatalog.go +++ b/sdk/go/aws/athena/dataCatalog.go @@ -21,7 +21,7 @@ type DataCatalog struct { // 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. Name pulumi.StringOutput `pulumi:"name"` // Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. - Parameters pulumi.AnyOutput `pulumi:"parameters"` + Parameters pulumi.StringMapOutput `pulumi:"parameters"` // A list of comma separated tags to add to the data catalog that is created. Tags DataCatalogTagArrayOutput `pulumi:"tags"` // The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. @@ -80,7 +80,7 @@ type dataCatalogArgs struct { // 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. Name *string `pulumi:"name"` // Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. - Parameters interface{} `pulumi:"parameters"` + Parameters map[string]string `pulumi:"parameters"` // A list of comma separated tags to add to the data catalog that is created. Tags []DataCatalogTag `pulumi:"tags"` // The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. @@ -94,7 +94,7 @@ type DataCatalogArgs struct { // 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. Name pulumi.StringPtrInput // Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. - Parameters pulumi.Input + Parameters pulumi.StringMapInput // A list of comma separated tags to add to the data catalog that is created. Tags DataCatalogTagArrayInput // The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. @@ -149,8 +149,8 @@ func (o DataCatalogOutput) Name() pulumi.StringOutput { } // Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. -func (o DataCatalogOutput) Parameters() pulumi.AnyOutput { - return o.ApplyT(func(v *DataCatalog) pulumi.AnyOutput { return v.Parameters }).(pulumi.AnyOutput) +func (o DataCatalogOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *DataCatalog) pulumi.StringMapOutput { return v.Parameters }).(pulumi.StringMapOutput) } // A list of comma separated tags to add to the data catalog that is created. diff --git a/sdk/go/aws/athena/getDataCatalog.go b/sdk/go/aws/athena/getDataCatalog.go index 9ba7fb18a0..a7fec09d3f 100644 --- a/sdk/go/aws/athena/getDataCatalog.go +++ b/sdk/go/aws/athena/getDataCatalog.go @@ -31,7 +31,7 @@ type LookupDataCatalogResult struct { // A description of the data catalog to be created. Description *string `pulumi:"description"` // Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. - Parameters interface{} `pulumi:"parameters"` + Parameters map[string]string `pulumi:"parameters"` // A list of comma separated tags to add to the data catalog that is created. Tags []DataCatalogTag `pulumi:"tags"` // The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. @@ -80,8 +80,8 @@ func (o LookupDataCatalogResultOutput) Description() pulumi.StringPtrOutput { } // Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. -func (o LookupDataCatalogResultOutput) Parameters() pulumi.AnyOutput { - return o.ApplyT(func(v LookupDataCatalogResult) interface{} { return v.Parameters }).(pulumi.AnyOutput) +func (o LookupDataCatalogResultOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDataCatalogResult) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) } // A list of comma separated tags to add to the data catalog that is created. diff --git a/sdk/go/aws/backup/backupPlan.go b/sdk/go/aws/backup/backupPlan.go index b21470f1ba..9e1dca037d 100644 --- a/sdk/go/aws/backup/backupPlan.go +++ b/sdk/go/aws/backup/backupPlan.go @@ -19,7 +19,7 @@ type BackupPlan struct { BackupPlan BackupPlanResourceTypeOutput `pulumi:"backupPlan"` BackupPlanArn pulumi.StringOutput `pulumi:"backupPlanArn"` BackupPlanId pulumi.StringOutput `pulumi:"backupPlanId"` - BackupPlanTags pulumi.AnyOutput `pulumi:"backupPlanTags"` + BackupPlanTags pulumi.StringMapOutput `pulumi:"backupPlanTags"` VersionId pulumi.StringOutput `pulumi:"versionId"` } @@ -67,13 +67,13 @@ func (BackupPlanState) ElementType() reflect.Type { type backupPlanArgs struct { BackupPlan BackupPlanResourceType `pulumi:"backupPlan"` - BackupPlanTags interface{} `pulumi:"backupPlanTags"` + BackupPlanTags map[string]string `pulumi:"backupPlanTags"` } // The set of arguments for constructing a BackupPlan resource. type BackupPlanArgs struct { BackupPlan BackupPlanResourceTypeInput - BackupPlanTags pulumi.Input + BackupPlanTags pulumi.StringMapInput } func (BackupPlanArgs) ElementType() reflect.Type { @@ -125,8 +125,8 @@ func (o BackupPlanOutput) BackupPlanId() pulumi.StringOutput { return o.ApplyT(func(v *BackupPlan) pulumi.StringOutput { return v.BackupPlanId }).(pulumi.StringOutput) } -func (o BackupPlanOutput) BackupPlanTags() pulumi.AnyOutput { - return o.ApplyT(func(v *BackupPlan) pulumi.AnyOutput { return v.BackupPlanTags }).(pulumi.AnyOutput) +func (o BackupPlanOutput) BackupPlanTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *BackupPlan) pulumi.StringMapOutput { return v.BackupPlanTags }).(pulumi.StringMapOutput) } func (o BackupPlanOutput) VersionId() pulumi.StringOutput { diff --git a/sdk/go/aws/backup/backupVault.go b/sdk/go/aws/backup/backupVault.go index cf826647f0..a35947e932 100644 --- a/sdk/go/aws/backup/backupVault.go +++ b/sdk/go/aws/backup/backupVault.go @@ -18,7 +18,7 @@ type BackupVault struct { AccessPolicy pulumi.AnyOutput `pulumi:"accessPolicy"` BackupVaultArn pulumi.StringOutput `pulumi:"backupVaultArn"` BackupVaultName pulumi.StringOutput `pulumi:"backupVaultName"` - BackupVaultTags pulumi.AnyOutput `pulumi:"backupVaultTags"` + BackupVaultTags pulumi.StringMapOutput `pulumi:"backupVaultTags"` EncryptionKeyArn pulumi.StringPtrOutput `pulumi:"encryptionKeyArn"` LockConfiguration BackupVaultLockConfigurationTypePtrOutput `pulumi:"lockConfiguration"` Notifications BackupVaultNotificationObjectTypePtrOutput `pulumi:"notifications"` @@ -71,7 +71,7 @@ func (BackupVaultState) ElementType() reflect.Type { type backupVaultArgs struct { AccessPolicy interface{} `pulumi:"accessPolicy"` BackupVaultName *string `pulumi:"backupVaultName"` - BackupVaultTags interface{} `pulumi:"backupVaultTags"` + BackupVaultTags map[string]string `pulumi:"backupVaultTags"` EncryptionKeyArn *string `pulumi:"encryptionKeyArn"` LockConfiguration *BackupVaultLockConfigurationType `pulumi:"lockConfiguration"` Notifications *BackupVaultNotificationObjectType `pulumi:"notifications"` @@ -81,7 +81,7 @@ type backupVaultArgs struct { type BackupVaultArgs struct { AccessPolicy pulumi.Input BackupVaultName pulumi.StringPtrInput - BackupVaultTags pulumi.Input + BackupVaultTags pulumi.StringMapInput EncryptionKeyArn pulumi.StringPtrInput LockConfiguration BackupVaultLockConfigurationTypePtrInput Notifications BackupVaultNotificationObjectTypePtrInput @@ -136,8 +136,8 @@ func (o BackupVaultOutput) BackupVaultName() pulumi.StringOutput { return o.ApplyT(func(v *BackupVault) pulumi.StringOutput { return v.BackupVaultName }).(pulumi.StringOutput) } -func (o BackupVaultOutput) BackupVaultTags() pulumi.AnyOutput { - return o.ApplyT(func(v *BackupVault) pulumi.AnyOutput { return v.BackupVaultTags }).(pulumi.AnyOutput) +func (o BackupVaultOutput) BackupVaultTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *BackupVault) pulumi.StringMapOutput { return v.BackupVaultTags }).(pulumi.StringMapOutput) } func (o BackupVaultOutput) EncryptionKeyArn() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/backup/getBackupPlan.go b/sdk/go/aws/backup/getBackupPlan.go index f7b2bf97ba..7dea66950f 100644 --- a/sdk/go/aws/backup/getBackupPlan.go +++ b/sdk/go/aws/backup/getBackupPlan.go @@ -30,7 +30,7 @@ type LookupBackupPlanResult struct { BackupPlan *BackupPlanResourceType `pulumi:"backupPlan"` BackupPlanArn *string `pulumi:"backupPlanArn"` BackupPlanId *string `pulumi:"backupPlanId"` - BackupPlanTags interface{} `pulumi:"backupPlanTags"` + BackupPlanTags map[string]string `pulumi:"backupPlanTags"` VersionId *string `pulumi:"versionId"` } @@ -81,8 +81,8 @@ func (o LookupBackupPlanResultOutput) BackupPlanId() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupBackupPlanResult) *string { return v.BackupPlanId }).(pulumi.StringPtrOutput) } -func (o LookupBackupPlanResultOutput) BackupPlanTags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupBackupPlanResult) interface{} { return v.BackupPlanTags }).(pulumi.AnyOutput) +func (o LookupBackupPlanResultOutput) BackupPlanTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupBackupPlanResult) map[string]string { return v.BackupPlanTags }).(pulumi.StringMapOutput) } func (o LookupBackupPlanResultOutput) VersionId() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/backup/getBackupVault.go b/sdk/go/aws/backup/getBackupVault.go index 4c97a89398..216394a7d4 100644 --- a/sdk/go/aws/backup/getBackupVault.go +++ b/sdk/go/aws/backup/getBackupVault.go @@ -29,7 +29,7 @@ type LookupBackupVaultArgs struct { type LookupBackupVaultResult struct { AccessPolicy interface{} `pulumi:"accessPolicy"` BackupVaultArn *string `pulumi:"backupVaultArn"` - BackupVaultTags interface{} `pulumi:"backupVaultTags"` + BackupVaultTags map[string]string `pulumi:"backupVaultTags"` LockConfiguration *BackupVaultLockConfigurationType `pulumi:"lockConfiguration"` Notifications *BackupVaultNotificationObjectType `pulumi:"notifications"` } @@ -77,8 +77,8 @@ func (o LookupBackupVaultResultOutput) BackupVaultArn() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupBackupVaultResult) *string { return v.BackupVaultArn }).(pulumi.StringPtrOutput) } -func (o LookupBackupVaultResultOutput) BackupVaultTags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupBackupVaultResult) interface{} { return v.BackupVaultTags }).(pulumi.AnyOutput) +func (o LookupBackupVaultResultOutput) BackupVaultTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupBackupVaultResult) map[string]string { return v.BackupVaultTags }).(pulumi.StringMapOutput) } func (o LookupBackupVaultResultOutput) LockConfiguration() BackupVaultLockConfigurationTypePtrOutput { diff --git a/sdk/go/aws/backup/pulumiTypes.go b/sdk/go/aws/backup/pulumiTypes.go index 34b0cc51ad..73b4304f78 100644 --- a/sdk/go/aws/backup/pulumiTypes.go +++ b/sdk/go/aws/backup/pulumiTypes.go @@ -118,7 +118,7 @@ type BackupPlanBackupRuleResourceType struct { CopyActions []BackupPlanCopyActionResourceType `pulumi:"copyActions"` EnableContinuousBackup *bool `pulumi:"enableContinuousBackup"` Lifecycle *BackupPlanLifecycleResourceType `pulumi:"lifecycle"` - RecoveryPointTags interface{} `pulumi:"recoveryPointTags"` + RecoveryPointTags map[string]string `pulumi:"recoveryPointTags"` RuleName string `pulumi:"ruleName"` ScheduleExpression *string `pulumi:"scheduleExpression"` ScheduleExpressionTimezone *string `pulumi:"scheduleExpressionTimezone"` @@ -142,7 +142,7 @@ type BackupPlanBackupRuleResourceTypeArgs struct { CopyActions BackupPlanCopyActionResourceTypeArrayInput `pulumi:"copyActions"` EnableContinuousBackup pulumi.BoolPtrInput `pulumi:"enableContinuousBackup"` Lifecycle BackupPlanLifecycleResourceTypePtrInput `pulumi:"lifecycle"` - RecoveryPointTags pulumi.Input `pulumi:"recoveryPointTags"` + RecoveryPointTags pulumi.StringMapInput `pulumi:"recoveryPointTags"` RuleName pulumi.StringInput `pulumi:"ruleName"` ScheduleExpression pulumi.StringPtrInput `pulumi:"scheduleExpression"` ScheduleExpressionTimezone pulumi.StringPtrInput `pulumi:"scheduleExpressionTimezone"` @@ -217,8 +217,8 @@ func (o BackupPlanBackupRuleResourceTypeOutput) Lifecycle() BackupPlanLifecycleR return o.ApplyT(func(v BackupPlanBackupRuleResourceType) *BackupPlanLifecycleResourceType { return v.Lifecycle }).(BackupPlanLifecycleResourceTypePtrOutput) } -func (o BackupPlanBackupRuleResourceTypeOutput) RecoveryPointTags() pulumi.AnyOutput { - return o.ApplyT(func(v BackupPlanBackupRuleResourceType) interface{} { return v.RecoveryPointTags }).(pulumi.AnyOutput) +func (o BackupPlanBackupRuleResourceTypeOutput) RecoveryPointTags() pulumi.StringMapOutput { + return o.ApplyT(func(v BackupPlanBackupRuleResourceType) map[string]string { return v.RecoveryPointTags }).(pulumi.StringMapOutput) } func (o BackupPlanBackupRuleResourceTypeOutput) RuleName() pulumi.StringOutput { diff --git a/sdk/go/aws/batch/computeEnvironment.go b/sdk/go/aws/batch/computeEnvironment.go index 32797e15c5..2098a4a45a 100644 --- a/sdk/go/aws/batch/computeEnvironment.go +++ b/sdk/go/aws/batch/computeEnvironment.go @@ -24,7 +24,7 @@ type ComputeEnvironment struct { ServiceRole pulumi.StringPtrOutput `pulumi:"serviceRole"` State pulumi.StringPtrOutput `pulumi:"state"` // A key-value pair to associate with a resource. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` Type pulumi.StringOutput `pulumi:"type"` UnmanagedvCpus pulumi.IntPtrOutput `pulumi:"unmanagedvCpus"` UpdatePolicy ComputeEnvironmentUpdatePolicyPtrOutput `pulumi:"updatePolicy"` @@ -44,7 +44,7 @@ func NewComputeEnvironment(ctx *pulumi.Context, "computeEnvironmentName", "computeResources.spotIamFleetRole", "eksConfiguration", - "tags", + "tags.*", "type", }) opts = append(opts, replaceOnChanges) @@ -88,7 +88,7 @@ type computeEnvironmentArgs struct { ServiceRole *string `pulumi:"serviceRole"` State *string `pulumi:"state"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` Type string `pulumi:"type"` UnmanagedvCpus *int `pulumi:"unmanagedvCpus"` UpdatePolicy *ComputeEnvironmentUpdatePolicy `pulumi:"updatePolicy"` @@ -103,7 +103,7 @@ type ComputeEnvironmentArgs struct { ServiceRole pulumi.StringPtrInput State pulumi.StringPtrInput // A key-value pair to associate with a resource. - Tags pulumi.Input + Tags pulumi.StringMapInput Type pulumi.StringInput UnmanagedvCpus pulumi.IntPtrInput UpdatePolicy ComputeEnvironmentUpdatePolicyPtrInput @@ -175,8 +175,8 @@ func (o ComputeEnvironmentOutput) State() pulumi.StringPtrOutput { } // A key-value pair to associate with a resource. -func (o ComputeEnvironmentOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *ComputeEnvironment) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ComputeEnvironmentOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *ComputeEnvironment) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func (o ComputeEnvironmentOutput) Type() pulumi.StringOutput { diff --git a/sdk/go/aws/batch/jobQueue.go b/sdk/go/aws/batch/jobQueue.go index f0e80c6f39..db8a84f7a4 100644 --- a/sdk/go/aws/batch/jobQueue.go +++ b/sdk/go/aws/batch/jobQueue.go @@ -23,7 +23,7 @@ type JobQueue struct { SchedulingPolicyArn pulumi.StringPtrOutput `pulumi:"schedulingPolicyArn"` State JobQueueStateEnumPtrOutput `pulumi:"state"` // A key-value pair to associate with a resource. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` } // NewJobQueue registers a new resource with the given unique name, arguments, and options. @@ -41,7 +41,7 @@ func NewJobQueue(ctx *pulumi.Context, } replaceOnChanges := pulumi.ReplaceOnChanges([]string{ "jobQueueName", - "tags", + "tags.*", }) opts = append(opts, replaceOnChanges) opts = internal.PkgResourceDefaultOpts(opts) @@ -83,7 +83,7 @@ type jobQueueArgs struct { SchedulingPolicyArn *string `pulumi:"schedulingPolicyArn"` State *JobQueueStateEnum `pulumi:"state"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` } // The set of arguments for constructing a JobQueue resource. @@ -94,7 +94,7 @@ type JobQueueArgs struct { SchedulingPolicyArn pulumi.StringPtrInput State JobQueueStateEnumPtrInput // A key-value pair to associate with a resource. - Tags pulumi.Input + Tags pulumi.StringMapInput } func (JobQueueArgs) ElementType() reflect.Type { @@ -159,8 +159,8 @@ func (o JobQueueOutput) State() JobQueueStateEnumPtrOutput { } // A key-value pair to associate with a resource. -func (o JobQueueOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *JobQueue) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o JobQueueOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *JobQueue) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/batch/pulumiTypes.go b/sdk/go/aws/batch/pulumiTypes.go index 103575ea2d..935c4b2c77 100644 --- a/sdk/go/aws/batch/pulumiTypes.go +++ b/sdk/go/aws/batch/pulumiTypes.go @@ -30,9 +30,9 @@ type ComputeEnvironmentComputeResources struct { SpotIamFleetRole *string `pulumi:"spotIamFleetRole"` Subnets []string `pulumi:"subnets"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` - Type string `pulumi:"type"` - UpdateToLatestImageVersion *bool `pulumi:"updateToLatestImageVersion"` + Tags map[string]string `pulumi:"tags"` + Type string `pulumi:"type"` + UpdateToLatestImageVersion *bool `pulumi:"updateToLatestImageVersion"` } // ComputeEnvironmentComputeResourcesInput is an input type that accepts ComputeEnvironmentComputeResourcesArgs and ComputeEnvironmentComputeResourcesOutput values. @@ -63,9 +63,9 @@ type ComputeEnvironmentComputeResourcesArgs struct { SpotIamFleetRole pulumi.StringPtrInput `pulumi:"spotIamFleetRole"` Subnets pulumi.StringArrayInput `pulumi:"subnets"` // A key-value pair to associate with a resource. - Tags pulumi.Input `pulumi:"tags"` - Type pulumi.StringInput `pulumi:"type"` - UpdateToLatestImageVersion pulumi.BoolPtrInput `pulumi:"updateToLatestImageVersion"` + Tags pulumi.StringMapInput `pulumi:"tags"` + Type pulumi.StringInput `pulumi:"type"` + UpdateToLatestImageVersion pulumi.BoolPtrInput `pulumi:"updateToLatestImageVersion"` } func (ComputeEnvironmentComputeResourcesArgs) ElementType() reflect.Type { @@ -210,8 +210,8 @@ func (o ComputeEnvironmentComputeResourcesOutput) Subnets() pulumi.StringArrayOu } // A key-value pair to associate with a resource. -func (o ComputeEnvironmentComputeResourcesOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v ComputeEnvironmentComputeResources) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o ComputeEnvironmentComputeResourcesOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v ComputeEnvironmentComputeResources) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } func (o ComputeEnvironmentComputeResourcesOutput) Type() pulumi.StringOutput { @@ -382,13 +382,13 @@ func (o ComputeEnvironmentComputeResourcesPtrOutput) Subnets() pulumi.StringArra } // A key-value pair to associate with a resource. -func (o ComputeEnvironmentComputeResourcesPtrOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *ComputeEnvironmentComputeResources) interface{} { +func (o ComputeEnvironmentComputeResourcesPtrOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *ComputeEnvironmentComputeResources) map[string]string { if v == nil { return nil } return v.Tags - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o ComputeEnvironmentComputeResourcesPtrOutput) Type() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/batch/schedulingPolicy.go b/sdk/go/aws/batch/schedulingPolicy.go index b20b996703..fc31aca435 100644 --- a/sdk/go/aws/batch/schedulingPolicy.go +++ b/sdk/go/aws/batch/schedulingPolicy.go @@ -20,7 +20,7 @@ type SchedulingPolicy struct { // Name of Scheduling Policy. Name pulumi.StringPtrOutput `pulumi:"name"` // A key-value pair to associate with a resource. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` } // NewSchedulingPolicy registers a new resource with the given unique name, arguments, and options. @@ -32,7 +32,7 @@ func NewSchedulingPolicy(ctx *pulumi.Context, replaceOnChanges := pulumi.ReplaceOnChanges([]string{ "name", - "tags", + "tags.*", }) opts = append(opts, replaceOnChanges) opts = internal.PkgResourceDefaultOpts(opts) @@ -72,7 +72,7 @@ type schedulingPolicyArgs struct { // Name of Scheduling Policy. Name *string `pulumi:"name"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` } // The set of arguments for constructing a SchedulingPolicy resource. @@ -81,7 +81,7 @@ type SchedulingPolicyArgs struct { // Name of Scheduling Policy. Name pulumi.StringPtrInput // A key-value pair to associate with a resource. - Tags pulumi.Input + Tags pulumi.StringMapInput } func (SchedulingPolicyArgs) ElementType() reflect.Type { @@ -135,8 +135,8 @@ func (o SchedulingPolicyOutput) Name() pulumi.StringPtrOutput { } // A key-value pair to associate with a resource. -func (o SchedulingPolicyOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *SchedulingPolicy) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o SchedulingPolicyOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *SchedulingPolicy) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/cloudformation/getStack.go b/sdk/go/aws/cloudformation/getStack.go index f873ef851d..6f144eda2d 100644 --- a/sdk/go/aws/cloudformation/getStack.go +++ b/sdk/go/aws/cloudformation/getStack.go @@ -36,7 +36,7 @@ type LookupStackResult struct { LastUpdateTime *string `pulumi:"lastUpdateTime"` NotificationArns []string `pulumi:"notificationArns"` Outputs []StackOutputType `pulumi:"outputs"` - Parameters interface{} `pulumi:"parameters"` + Parameters map[string]string `pulumi:"parameters"` ParentId *string `pulumi:"parentId"` RoleArn *string `pulumi:"roleArn"` RootId *string `pulumi:"rootId"` @@ -120,8 +120,8 @@ func (o LookupStackResultOutput) Outputs() StackOutputTypeArrayOutput { return o.ApplyT(func(v LookupStackResult) []StackOutputType { return v.Outputs }).(StackOutputTypeArrayOutput) } -func (o LookupStackResultOutput) Parameters() pulumi.AnyOutput { - return o.ApplyT(func(v LookupStackResult) interface{} { return v.Parameters }).(pulumi.AnyOutput) +func (o LookupStackResultOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupStackResult) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) } func (o LookupStackResultOutput) ParentId() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/cloudformation/stack.go b/sdk/go/aws/cloudformation/stack.go index 7e6f050633..908c7b8836 100644 --- a/sdk/go/aws/cloudformation/stack.go +++ b/sdk/go/aws/cloudformation/stack.go @@ -24,7 +24,7 @@ type Stack struct { LastUpdateTime pulumi.StringOutput `pulumi:"lastUpdateTime"` NotificationArns pulumi.StringArrayOutput `pulumi:"notificationArns"` Outputs StackOutputTypeArrayOutput `pulumi:"outputs"` - Parameters pulumi.AnyOutput `pulumi:"parameters"` + Parameters pulumi.StringMapOutput `pulumi:"parameters"` ParentId pulumi.StringOutput `pulumi:"parentId"` RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"` RootId pulumi.StringOutput `pulumi:"rootId"` @@ -89,7 +89,7 @@ type stackArgs struct { DisableRollback *bool `pulumi:"disableRollback"` EnableTerminationProtection *bool `pulumi:"enableTerminationProtection"` NotificationArns []string `pulumi:"notificationArns"` - Parameters interface{} `pulumi:"parameters"` + Parameters map[string]string `pulumi:"parameters"` RoleArn *string `pulumi:"roleArn"` StackName *string `pulumi:"stackName"` StackPolicyBody interface{} `pulumi:"stackPolicyBody"` @@ -108,7 +108,7 @@ type StackArgs struct { DisableRollback pulumi.BoolPtrInput EnableTerminationProtection pulumi.BoolPtrInput NotificationArns pulumi.StringArrayInput - Parameters pulumi.Input + Parameters pulumi.StringMapInput RoleArn pulumi.StringPtrInput StackName pulumi.StringPtrInput StackPolicyBody pulumi.Input @@ -193,8 +193,8 @@ func (o StackOutput) Outputs() StackOutputTypeArrayOutput { return o.ApplyT(func(v *Stack) StackOutputTypeArrayOutput { return v.Outputs }).(StackOutputTypeArrayOutput) } -func (o StackOutput) Parameters() pulumi.AnyOutput { - return o.ApplyT(func(v *Stack) pulumi.AnyOutput { return v.Parameters }).(pulumi.AnyOutput) +func (o StackOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *Stack) pulumi.StringMapOutput { return v.Parameters }).(pulumi.StringMapOutput) } func (o StackOutput) ParentId() pulumi.StringOutput { diff --git a/sdk/go/aws/codestarnotifications/getNotificationRule.go b/sdk/go/aws/codestarnotifications/getNotificationRule.go index bdc17d007f..d158556942 100644 --- a/sdk/go/aws/codestarnotifications/getNotificationRule.go +++ b/sdk/go/aws/codestarnotifications/getNotificationRule.go @@ -33,7 +33,7 @@ type LookupNotificationRuleResult struct { EventTypeIds []string `pulumi:"eventTypeIds"` Name *string `pulumi:"name"` Status *NotificationRuleStatus `pulumi:"status"` - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` Targets []NotificationRuleTarget `pulumi:"targets"` } @@ -96,8 +96,8 @@ func (o LookupNotificationRuleResultOutput) Status() NotificationRuleStatusPtrOu return o.ApplyT(func(v LookupNotificationRuleResult) *NotificationRuleStatus { return v.Status }).(NotificationRuleStatusPtrOutput) } -func (o LookupNotificationRuleResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupNotificationRuleResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupNotificationRuleResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupNotificationRuleResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } func (o LookupNotificationRuleResultOutput) Targets() NotificationRuleTargetArrayOutput { diff --git a/sdk/go/aws/codestarnotifications/notificationRule.go b/sdk/go/aws/codestarnotifications/notificationRule.go index e03d3b29ea..be46eab744 100644 --- a/sdk/go/aws/codestarnotifications/notificationRule.go +++ b/sdk/go/aws/codestarnotifications/notificationRule.go @@ -24,7 +24,7 @@ type NotificationRule struct { Name pulumi.StringOutput `pulumi:"name"` Resource pulumi.StringOutput `pulumi:"resource"` Status NotificationRuleStatusPtrOutput `pulumi:"status"` - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` TargetAddress pulumi.StringPtrOutput `pulumi:"targetAddress"` Targets NotificationRuleTargetArrayOutput `pulumi:"targets"` } @@ -92,7 +92,7 @@ type notificationRuleArgs struct { Name *string `pulumi:"name"` Resource string `pulumi:"resource"` Status *NotificationRuleStatus `pulumi:"status"` - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` TargetAddress *string `pulumi:"targetAddress"` Targets []NotificationRuleTarget `pulumi:"targets"` } @@ -106,7 +106,7 @@ type NotificationRuleArgs struct { Name pulumi.StringPtrInput Resource pulumi.StringInput Status NotificationRuleStatusPtrInput - Tags pulumi.Input + Tags pulumi.StringMapInput TargetAddress pulumi.StringPtrInput Targets NotificationRuleTargetArrayInput } @@ -180,8 +180,8 @@ func (o NotificationRuleOutput) Status() NotificationRuleStatusPtrOutput { return o.ApplyT(func(v *NotificationRule) NotificationRuleStatusPtrOutput { return v.Status }).(NotificationRuleStatusPtrOutput) } -func (o NotificationRuleOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *NotificationRule) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o NotificationRuleOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *NotificationRule) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func (o NotificationRuleOutput) TargetAddress() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/cognito/getIdentityPoolRoleAttachment.go b/sdk/go/aws/cognito/getIdentityPoolRoleAttachment.go index bde7654b8b..c05abdfe0d 100644 --- a/sdk/go/aws/cognito/getIdentityPoolRoleAttachment.go +++ b/sdk/go/aws/cognito/getIdentityPoolRoleAttachment.go @@ -27,9 +27,9 @@ type LookupIdentityPoolRoleAttachmentArgs struct { } type LookupIdentityPoolRoleAttachmentResult struct { - Id *string `pulumi:"id"` - RoleMappings interface{} `pulumi:"roleMappings"` - Roles interface{} `pulumi:"roles"` + Id *string `pulumi:"id"` + RoleMappings map[string]IdentityPoolRoleAttachmentRoleMapping `pulumi:"roleMappings"` + Roles map[string]string `pulumi:"roles"` } func LookupIdentityPoolRoleAttachmentOutput(ctx *pulumi.Context, args LookupIdentityPoolRoleAttachmentOutputArgs, opts ...pulumi.InvokeOption) LookupIdentityPoolRoleAttachmentResultOutput { @@ -71,12 +71,14 @@ func (o LookupIdentityPoolRoleAttachmentResultOutput) Id() pulumi.StringPtrOutpu return o.ApplyT(func(v LookupIdentityPoolRoleAttachmentResult) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o LookupIdentityPoolRoleAttachmentResultOutput) RoleMappings() pulumi.AnyOutput { - return o.ApplyT(func(v LookupIdentityPoolRoleAttachmentResult) interface{} { return v.RoleMappings }).(pulumi.AnyOutput) +func (o LookupIdentityPoolRoleAttachmentResultOutput) RoleMappings() IdentityPoolRoleAttachmentRoleMappingMapOutput { + return o.ApplyT(func(v LookupIdentityPoolRoleAttachmentResult) map[string]IdentityPoolRoleAttachmentRoleMapping { + return v.RoleMappings + }).(IdentityPoolRoleAttachmentRoleMappingMapOutput) } -func (o LookupIdentityPoolRoleAttachmentResultOutput) Roles() pulumi.AnyOutput { - return o.ApplyT(func(v LookupIdentityPoolRoleAttachmentResult) interface{} { return v.Roles }).(pulumi.AnyOutput) +func (o LookupIdentityPoolRoleAttachmentResultOutput) Roles() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupIdentityPoolRoleAttachmentResult) map[string]string { return v.Roles }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/cognito/getUserPool.go b/sdk/go/aws/cognito/getUserPool.go index bea807ee0f..8d66054995 100644 --- a/sdk/go/aws/cognito/getUserPool.go +++ b/sdk/go/aws/cognito/getUserPool.go @@ -50,7 +50,7 @@ type LookupUserPoolResult struct { UserPoolAddOns *UserPoolAddOns `pulumi:"userPoolAddOns"` UserPoolId *string `pulumi:"userPoolId"` UserPoolName *string `pulumi:"userPoolName"` - UserPoolTags interface{} `pulumi:"userPoolTags"` + UserPoolTags map[string]string `pulumi:"userPoolTags"` UsernameAttributes []string `pulumi:"usernameAttributes"` UsernameConfiguration *UserPoolUsernameConfiguration `pulumi:"usernameConfiguration"` VerificationMessageTemplate *UserPoolVerificationMessageTemplate `pulumi:"verificationMessageTemplate"` @@ -185,8 +185,8 @@ func (o LookupUserPoolResultOutput) UserPoolName() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupUserPoolResult) *string { return v.UserPoolName }).(pulumi.StringPtrOutput) } -func (o LookupUserPoolResultOutput) UserPoolTags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupUserPoolResult) interface{} { return v.UserPoolTags }).(pulumi.AnyOutput) +func (o LookupUserPoolResultOutput) UserPoolTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupUserPoolResult) map[string]string { return v.UserPoolTags }).(pulumi.StringMapOutput) } func (o LookupUserPoolResultOutput) UsernameAttributes() pulumi.StringArrayOutput { diff --git a/sdk/go/aws/cognito/identityPoolRoleAttachment.go b/sdk/go/aws/cognito/identityPoolRoleAttachment.go index 7e755b278c..8149ab45fb 100644 --- a/sdk/go/aws/cognito/identityPoolRoleAttachment.go +++ b/sdk/go/aws/cognito/identityPoolRoleAttachment.go @@ -16,9 +16,9 @@ import ( type IdentityPoolRoleAttachment struct { pulumi.CustomResourceState - IdentityPoolId pulumi.StringOutput `pulumi:"identityPoolId"` - RoleMappings pulumi.AnyOutput `pulumi:"roleMappings"` - Roles pulumi.AnyOutput `pulumi:"roles"` + IdentityPoolId pulumi.StringOutput `pulumi:"identityPoolId"` + RoleMappings IdentityPoolRoleAttachmentRoleMappingMapOutput `pulumi:"roleMappings"` + Roles pulumi.StringMapOutput `pulumi:"roles"` } // NewIdentityPoolRoleAttachment registers a new resource with the given unique name, arguments, and options. @@ -68,16 +68,16 @@ func (IdentityPoolRoleAttachmentState) ElementType() reflect.Type { } type identityPoolRoleAttachmentArgs struct { - IdentityPoolId string `pulumi:"identityPoolId"` - RoleMappings interface{} `pulumi:"roleMappings"` - Roles interface{} `pulumi:"roles"` + IdentityPoolId string `pulumi:"identityPoolId"` + RoleMappings map[string]IdentityPoolRoleAttachmentRoleMapping `pulumi:"roleMappings"` + Roles map[string]string `pulumi:"roles"` } // The set of arguments for constructing a IdentityPoolRoleAttachment resource. type IdentityPoolRoleAttachmentArgs struct { IdentityPoolId pulumi.StringInput - RoleMappings pulumi.Input - Roles pulumi.Input + RoleMappings IdentityPoolRoleAttachmentRoleMappingMapInput + Roles pulumi.StringMapInput } func (IdentityPoolRoleAttachmentArgs) ElementType() reflect.Type { @@ -121,12 +121,14 @@ func (o IdentityPoolRoleAttachmentOutput) IdentityPoolId() pulumi.StringOutput { return o.ApplyT(func(v *IdentityPoolRoleAttachment) pulumi.StringOutput { return v.IdentityPoolId }).(pulumi.StringOutput) } -func (o IdentityPoolRoleAttachmentOutput) RoleMappings() pulumi.AnyOutput { - return o.ApplyT(func(v *IdentityPoolRoleAttachment) pulumi.AnyOutput { return v.RoleMappings }).(pulumi.AnyOutput) +func (o IdentityPoolRoleAttachmentOutput) RoleMappings() IdentityPoolRoleAttachmentRoleMappingMapOutput { + return o.ApplyT(func(v *IdentityPoolRoleAttachment) IdentityPoolRoleAttachmentRoleMappingMapOutput { + return v.RoleMappings + }).(IdentityPoolRoleAttachmentRoleMappingMapOutput) } -func (o IdentityPoolRoleAttachmentOutput) Roles() pulumi.AnyOutput { - return o.ApplyT(func(v *IdentityPoolRoleAttachment) pulumi.AnyOutput { return v.Roles }).(pulumi.AnyOutput) +func (o IdentityPoolRoleAttachmentOutput) Roles() pulumi.StringMapOutput { + return o.ApplyT(func(v *IdentityPoolRoleAttachment) pulumi.StringMapOutput { return v.Roles }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/cognito/pulumiTypes.go b/sdk/go/aws/cognito/pulumiTypes.go index f3b2cbf8fc..08d461ae92 100644 --- a/sdk/go/aws/cognito/pulumiTypes.go +++ b/sdk/go/aws/cognito/pulumiTypes.go @@ -430,6 +430,367 @@ func (o IdentityPoolPushSyncPtrOutput) RoleArn() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +type IdentityPoolRoleAttachmentMappingRule struct { + Claim string `pulumi:"claim"` + MatchType string `pulumi:"matchType"` + RoleArn string `pulumi:"roleArn"` + Value string `pulumi:"value"` +} + +// IdentityPoolRoleAttachmentMappingRuleInput is an input type that accepts IdentityPoolRoleAttachmentMappingRuleArgs and IdentityPoolRoleAttachmentMappingRuleOutput values. +// You can construct a concrete instance of `IdentityPoolRoleAttachmentMappingRuleInput` via: +// +// IdentityPoolRoleAttachmentMappingRuleArgs{...} +type IdentityPoolRoleAttachmentMappingRuleInput interface { + pulumi.Input + + ToIdentityPoolRoleAttachmentMappingRuleOutput() IdentityPoolRoleAttachmentMappingRuleOutput + ToIdentityPoolRoleAttachmentMappingRuleOutputWithContext(context.Context) IdentityPoolRoleAttachmentMappingRuleOutput +} + +type IdentityPoolRoleAttachmentMappingRuleArgs struct { + Claim pulumi.StringInput `pulumi:"claim"` + MatchType pulumi.StringInput `pulumi:"matchType"` + RoleArn pulumi.StringInput `pulumi:"roleArn"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (IdentityPoolRoleAttachmentMappingRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentityPoolRoleAttachmentMappingRule)(nil)).Elem() +} + +func (i IdentityPoolRoleAttachmentMappingRuleArgs) ToIdentityPoolRoleAttachmentMappingRuleOutput() IdentityPoolRoleAttachmentMappingRuleOutput { + return i.ToIdentityPoolRoleAttachmentMappingRuleOutputWithContext(context.Background()) +} + +func (i IdentityPoolRoleAttachmentMappingRuleArgs) ToIdentityPoolRoleAttachmentMappingRuleOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentMappingRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityPoolRoleAttachmentMappingRuleOutput) +} + +// IdentityPoolRoleAttachmentMappingRuleArrayInput is an input type that accepts IdentityPoolRoleAttachmentMappingRuleArray and IdentityPoolRoleAttachmentMappingRuleArrayOutput values. +// You can construct a concrete instance of `IdentityPoolRoleAttachmentMappingRuleArrayInput` via: +// +// IdentityPoolRoleAttachmentMappingRuleArray{ IdentityPoolRoleAttachmentMappingRuleArgs{...} } +type IdentityPoolRoleAttachmentMappingRuleArrayInput interface { + pulumi.Input + + ToIdentityPoolRoleAttachmentMappingRuleArrayOutput() IdentityPoolRoleAttachmentMappingRuleArrayOutput + ToIdentityPoolRoleAttachmentMappingRuleArrayOutputWithContext(context.Context) IdentityPoolRoleAttachmentMappingRuleArrayOutput +} + +type IdentityPoolRoleAttachmentMappingRuleArray []IdentityPoolRoleAttachmentMappingRuleInput + +func (IdentityPoolRoleAttachmentMappingRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentityPoolRoleAttachmentMappingRule)(nil)).Elem() +} + +func (i IdentityPoolRoleAttachmentMappingRuleArray) ToIdentityPoolRoleAttachmentMappingRuleArrayOutput() IdentityPoolRoleAttachmentMappingRuleArrayOutput { + return i.ToIdentityPoolRoleAttachmentMappingRuleArrayOutputWithContext(context.Background()) +} + +func (i IdentityPoolRoleAttachmentMappingRuleArray) ToIdentityPoolRoleAttachmentMappingRuleArrayOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentMappingRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityPoolRoleAttachmentMappingRuleArrayOutput) +} + +type IdentityPoolRoleAttachmentMappingRuleOutput struct{ *pulumi.OutputState } + +func (IdentityPoolRoleAttachmentMappingRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentityPoolRoleAttachmentMappingRule)(nil)).Elem() +} + +func (o IdentityPoolRoleAttachmentMappingRuleOutput) ToIdentityPoolRoleAttachmentMappingRuleOutput() IdentityPoolRoleAttachmentMappingRuleOutput { + return o +} + +func (o IdentityPoolRoleAttachmentMappingRuleOutput) ToIdentityPoolRoleAttachmentMappingRuleOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentMappingRuleOutput { + return o +} + +func (o IdentityPoolRoleAttachmentMappingRuleOutput) Claim() pulumi.StringOutput { + return o.ApplyT(func(v IdentityPoolRoleAttachmentMappingRule) string { return v.Claim }).(pulumi.StringOutput) +} + +func (o IdentityPoolRoleAttachmentMappingRuleOutput) MatchType() pulumi.StringOutput { + return o.ApplyT(func(v IdentityPoolRoleAttachmentMappingRule) string { return v.MatchType }).(pulumi.StringOutput) +} + +func (o IdentityPoolRoleAttachmentMappingRuleOutput) RoleArn() pulumi.StringOutput { + return o.ApplyT(func(v IdentityPoolRoleAttachmentMappingRule) string { return v.RoleArn }).(pulumi.StringOutput) +} + +func (o IdentityPoolRoleAttachmentMappingRuleOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v IdentityPoolRoleAttachmentMappingRule) string { return v.Value }).(pulumi.StringOutput) +} + +type IdentityPoolRoleAttachmentMappingRuleArrayOutput struct{ *pulumi.OutputState } + +func (IdentityPoolRoleAttachmentMappingRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentityPoolRoleAttachmentMappingRule)(nil)).Elem() +} + +func (o IdentityPoolRoleAttachmentMappingRuleArrayOutput) ToIdentityPoolRoleAttachmentMappingRuleArrayOutput() IdentityPoolRoleAttachmentMappingRuleArrayOutput { + return o +} + +func (o IdentityPoolRoleAttachmentMappingRuleArrayOutput) ToIdentityPoolRoleAttachmentMappingRuleArrayOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentMappingRuleArrayOutput { + return o +} + +func (o IdentityPoolRoleAttachmentMappingRuleArrayOutput) Index(i pulumi.IntInput) IdentityPoolRoleAttachmentMappingRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IdentityPoolRoleAttachmentMappingRule { + return vs[0].([]IdentityPoolRoleAttachmentMappingRule)[vs[1].(int)] + }).(IdentityPoolRoleAttachmentMappingRuleOutput) +} + +type IdentityPoolRoleAttachmentRoleMapping struct { + AmbiguousRoleResolution *string `pulumi:"ambiguousRoleResolution"` + IdentityProvider *string `pulumi:"identityProvider"` + RulesConfiguration *IdentityPoolRoleAttachmentRulesConfigurationType `pulumi:"rulesConfiguration"` + Type string `pulumi:"type"` +} + +// IdentityPoolRoleAttachmentRoleMappingInput is an input type that accepts IdentityPoolRoleAttachmentRoleMappingArgs and IdentityPoolRoleAttachmentRoleMappingOutput values. +// You can construct a concrete instance of `IdentityPoolRoleAttachmentRoleMappingInput` via: +// +// IdentityPoolRoleAttachmentRoleMappingArgs{...} +type IdentityPoolRoleAttachmentRoleMappingInput interface { + pulumi.Input + + ToIdentityPoolRoleAttachmentRoleMappingOutput() IdentityPoolRoleAttachmentRoleMappingOutput + ToIdentityPoolRoleAttachmentRoleMappingOutputWithContext(context.Context) IdentityPoolRoleAttachmentRoleMappingOutput +} + +type IdentityPoolRoleAttachmentRoleMappingArgs struct { + AmbiguousRoleResolution pulumi.StringPtrInput `pulumi:"ambiguousRoleResolution"` + IdentityProvider pulumi.StringPtrInput `pulumi:"identityProvider"` + RulesConfiguration IdentityPoolRoleAttachmentRulesConfigurationTypePtrInput `pulumi:"rulesConfiguration"` + Type pulumi.StringInput `pulumi:"type"` +} + +func (IdentityPoolRoleAttachmentRoleMappingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentityPoolRoleAttachmentRoleMapping)(nil)).Elem() +} + +func (i IdentityPoolRoleAttachmentRoleMappingArgs) ToIdentityPoolRoleAttachmentRoleMappingOutput() IdentityPoolRoleAttachmentRoleMappingOutput { + return i.ToIdentityPoolRoleAttachmentRoleMappingOutputWithContext(context.Background()) +} + +func (i IdentityPoolRoleAttachmentRoleMappingArgs) ToIdentityPoolRoleAttachmentRoleMappingOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentRoleMappingOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityPoolRoleAttachmentRoleMappingOutput) +} + +// IdentityPoolRoleAttachmentRoleMappingMapInput is an input type that accepts IdentityPoolRoleAttachmentRoleMappingMap and IdentityPoolRoleAttachmentRoleMappingMapOutput values. +// You can construct a concrete instance of `IdentityPoolRoleAttachmentRoleMappingMapInput` via: +// +// IdentityPoolRoleAttachmentRoleMappingMap{ "key": IdentityPoolRoleAttachmentRoleMappingArgs{...} } +type IdentityPoolRoleAttachmentRoleMappingMapInput interface { + pulumi.Input + + ToIdentityPoolRoleAttachmentRoleMappingMapOutput() IdentityPoolRoleAttachmentRoleMappingMapOutput + ToIdentityPoolRoleAttachmentRoleMappingMapOutputWithContext(context.Context) IdentityPoolRoleAttachmentRoleMappingMapOutput +} + +type IdentityPoolRoleAttachmentRoleMappingMap map[string]IdentityPoolRoleAttachmentRoleMappingInput + +func (IdentityPoolRoleAttachmentRoleMappingMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]IdentityPoolRoleAttachmentRoleMapping)(nil)).Elem() +} + +func (i IdentityPoolRoleAttachmentRoleMappingMap) ToIdentityPoolRoleAttachmentRoleMappingMapOutput() IdentityPoolRoleAttachmentRoleMappingMapOutput { + return i.ToIdentityPoolRoleAttachmentRoleMappingMapOutputWithContext(context.Background()) +} + +func (i IdentityPoolRoleAttachmentRoleMappingMap) ToIdentityPoolRoleAttachmentRoleMappingMapOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentRoleMappingMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityPoolRoleAttachmentRoleMappingMapOutput) +} + +type IdentityPoolRoleAttachmentRoleMappingOutput struct{ *pulumi.OutputState } + +func (IdentityPoolRoleAttachmentRoleMappingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentityPoolRoleAttachmentRoleMapping)(nil)).Elem() +} + +func (o IdentityPoolRoleAttachmentRoleMappingOutput) ToIdentityPoolRoleAttachmentRoleMappingOutput() IdentityPoolRoleAttachmentRoleMappingOutput { + return o +} + +func (o IdentityPoolRoleAttachmentRoleMappingOutput) ToIdentityPoolRoleAttachmentRoleMappingOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentRoleMappingOutput { + return o +} + +func (o IdentityPoolRoleAttachmentRoleMappingOutput) AmbiguousRoleResolution() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentityPoolRoleAttachmentRoleMapping) *string { return v.AmbiguousRoleResolution }).(pulumi.StringPtrOutput) +} + +func (o IdentityPoolRoleAttachmentRoleMappingOutput) IdentityProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentityPoolRoleAttachmentRoleMapping) *string { return v.IdentityProvider }).(pulumi.StringPtrOutput) +} + +func (o IdentityPoolRoleAttachmentRoleMappingOutput) RulesConfiguration() IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput { + return o.ApplyT(func(v IdentityPoolRoleAttachmentRoleMapping) *IdentityPoolRoleAttachmentRulesConfigurationType { + return v.RulesConfiguration + }).(IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput) +} + +func (o IdentityPoolRoleAttachmentRoleMappingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v IdentityPoolRoleAttachmentRoleMapping) string { return v.Type }).(pulumi.StringOutput) +} + +type IdentityPoolRoleAttachmentRoleMappingMapOutput struct{ *pulumi.OutputState } + +func (IdentityPoolRoleAttachmentRoleMappingMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]IdentityPoolRoleAttachmentRoleMapping)(nil)).Elem() +} + +func (o IdentityPoolRoleAttachmentRoleMappingMapOutput) ToIdentityPoolRoleAttachmentRoleMappingMapOutput() IdentityPoolRoleAttachmentRoleMappingMapOutput { + return o +} + +func (o IdentityPoolRoleAttachmentRoleMappingMapOutput) ToIdentityPoolRoleAttachmentRoleMappingMapOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentRoleMappingMapOutput { + return o +} + +func (o IdentityPoolRoleAttachmentRoleMappingMapOutput) MapIndex(k pulumi.StringInput) IdentityPoolRoleAttachmentRoleMappingOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) IdentityPoolRoleAttachmentRoleMapping { + return vs[0].(map[string]IdentityPoolRoleAttachmentRoleMapping)[vs[1].(string)] + }).(IdentityPoolRoleAttachmentRoleMappingOutput) +} + +type IdentityPoolRoleAttachmentRulesConfigurationType struct { + Rules []IdentityPoolRoleAttachmentMappingRule `pulumi:"rules"` +} + +// IdentityPoolRoleAttachmentRulesConfigurationTypeInput is an input type that accepts IdentityPoolRoleAttachmentRulesConfigurationTypeArgs and IdentityPoolRoleAttachmentRulesConfigurationTypeOutput values. +// You can construct a concrete instance of `IdentityPoolRoleAttachmentRulesConfigurationTypeInput` via: +// +// IdentityPoolRoleAttachmentRulesConfigurationTypeArgs{...} +type IdentityPoolRoleAttachmentRulesConfigurationTypeInput interface { + pulumi.Input + + ToIdentityPoolRoleAttachmentRulesConfigurationTypeOutput() IdentityPoolRoleAttachmentRulesConfigurationTypeOutput + ToIdentityPoolRoleAttachmentRulesConfigurationTypeOutputWithContext(context.Context) IdentityPoolRoleAttachmentRulesConfigurationTypeOutput +} + +type IdentityPoolRoleAttachmentRulesConfigurationTypeArgs struct { + Rules IdentityPoolRoleAttachmentMappingRuleArrayInput `pulumi:"rules"` +} + +func (IdentityPoolRoleAttachmentRulesConfigurationTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentityPoolRoleAttachmentRulesConfigurationType)(nil)).Elem() +} + +func (i IdentityPoolRoleAttachmentRulesConfigurationTypeArgs) ToIdentityPoolRoleAttachmentRulesConfigurationTypeOutput() IdentityPoolRoleAttachmentRulesConfigurationTypeOutput { + return i.ToIdentityPoolRoleAttachmentRulesConfigurationTypeOutputWithContext(context.Background()) +} + +func (i IdentityPoolRoleAttachmentRulesConfigurationTypeArgs) ToIdentityPoolRoleAttachmentRulesConfigurationTypeOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentRulesConfigurationTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityPoolRoleAttachmentRulesConfigurationTypeOutput) +} + +func (i IdentityPoolRoleAttachmentRulesConfigurationTypeArgs) ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput() IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput { + return i.ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutputWithContext(context.Background()) +} + +func (i IdentityPoolRoleAttachmentRulesConfigurationTypeArgs) ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityPoolRoleAttachmentRulesConfigurationTypeOutput).ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutputWithContext(ctx) +} + +// IdentityPoolRoleAttachmentRulesConfigurationTypePtrInput is an input type that accepts IdentityPoolRoleAttachmentRulesConfigurationTypeArgs, IdentityPoolRoleAttachmentRulesConfigurationTypePtr and IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput values. +// You can construct a concrete instance of `IdentityPoolRoleAttachmentRulesConfigurationTypePtrInput` via: +// +// IdentityPoolRoleAttachmentRulesConfigurationTypeArgs{...} +// +// or: +// +// nil +type IdentityPoolRoleAttachmentRulesConfigurationTypePtrInput interface { + pulumi.Input + + ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput() IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput + ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutputWithContext(context.Context) IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput +} + +type identityPoolRoleAttachmentRulesConfigurationTypePtrType IdentityPoolRoleAttachmentRulesConfigurationTypeArgs + +func IdentityPoolRoleAttachmentRulesConfigurationTypePtr(v *IdentityPoolRoleAttachmentRulesConfigurationTypeArgs) IdentityPoolRoleAttachmentRulesConfigurationTypePtrInput { + return (*identityPoolRoleAttachmentRulesConfigurationTypePtrType)(v) +} + +func (*identityPoolRoleAttachmentRulesConfigurationTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentityPoolRoleAttachmentRulesConfigurationType)(nil)).Elem() +} + +func (i *identityPoolRoleAttachmentRulesConfigurationTypePtrType) ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput() IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput { + return i.ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutputWithContext(context.Background()) +} + +func (i *identityPoolRoleAttachmentRulesConfigurationTypePtrType) ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput) +} + +type IdentityPoolRoleAttachmentRulesConfigurationTypeOutput struct{ *pulumi.OutputState } + +func (IdentityPoolRoleAttachmentRulesConfigurationTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentityPoolRoleAttachmentRulesConfigurationType)(nil)).Elem() +} + +func (o IdentityPoolRoleAttachmentRulesConfigurationTypeOutput) ToIdentityPoolRoleAttachmentRulesConfigurationTypeOutput() IdentityPoolRoleAttachmentRulesConfigurationTypeOutput { + return o +} + +func (o IdentityPoolRoleAttachmentRulesConfigurationTypeOutput) ToIdentityPoolRoleAttachmentRulesConfigurationTypeOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentRulesConfigurationTypeOutput { + return o +} + +func (o IdentityPoolRoleAttachmentRulesConfigurationTypeOutput) ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput() IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput { + return o.ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutputWithContext(context.Background()) +} + +func (o IdentityPoolRoleAttachmentRulesConfigurationTypeOutput) ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IdentityPoolRoleAttachmentRulesConfigurationType) *IdentityPoolRoleAttachmentRulesConfigurationType { + return &v + }).(IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput) +} + +func (o IdentityPoolRoleAttachmentRulesConfigurationTypeOutput) Rules() IdentityPoolRoleAttachmentMappingRuleArrayOutput { + return o.ApplyT(func(v IdentityPoolRoleAttachmentRulesConfigurationType) []IdentityPoolRoleAttachmentMappingRule { + return v.Rules + }).(IdentityPoolRoleAttachmentMappingRuleArrayOutput) +} + +type IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput struct{ *pulumi.OutputState } + +func (IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentityPoolRoleAttachmentRulesConfigurationType)(nil)).Elem() +} + +func (o IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput) ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput() IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput { + return o +} + +func (o IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput) ToIdentityPoolRoleAttachmentRulesConfigurationTypePtrOutputWithContext(ctx context.Context) IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput { + return o +} + +func (o IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput) Elem() IdentityPoolRoleAttachmentRulesConfigurationTypeOutput { + return o.ApplyT(func(v *IdentityPoolRoleAttachmentRulesConfigurationType) IdentityPoolRoleAttachmentRulesConfigurationType { + if v != nil { + return *v + } + var ret IdentityPoolRoleAttachmentRulesConfigurationType + return ret + }).(IdentityPoolRoleAttachmentRulesConfigurationTypeOutput) +} + +func (o IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput) Rules() IdentityPoolRoleAttachmentMappingRuleArrayOutput { + return o.ApplyT(func(v *IdentityPoolRoleAttachmentRulesConfigurationType) []IdentityPoolRoleAttachmentMappingRule { + if v == nil { + return nil + } + return v.Rules + }).(IdentityPoolRoleAttachmentMappingRuleArrayOutput) +} + type LogDeliveryConfigurationCloudWatchLogsConfiguration struct { LogGroupArn *string `pulumi:"logGroupArn"` } @@ -5867,6 +6228,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*IdentityPoolCognitoStreamsPtrInput)(nil)).Elem(), IdentityPoolCognitoStreamsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*IdentityPoolPushSyncInput)(nil)).Elem(), IdentityPoolPushSyncArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*IdentityPoolPushSyncPtrInput)(nil)).Elem(), IdentityPoolPushSyncArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentityPoolRoleAttachmentMappingRuleInput)(nil)).Elem(), IdentityPoolRoleAttachmentMappingRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentityPoolRoleAttachmentMappingRuleArrayInput)(nil)).Elem(), IdentityPoolRoleAttachmentMappingRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentityPoolRoleAttachmentRoleMappingInput)(nil)).Elem(), IdentityPoolRoleAttachmentRoleMappingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentityPoolRoleAttachmentRoleMappingMapInput)(nil)).Elem(), IdentityPoolRoleAttachmentRoleMappingMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentityPoolRoleAttachmentRulesConfigurationTypeInput)(nil)).Elem(), IdentityPoolRoleAttachmentRulesConfigurationTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentityPoolRoleAttachmentRulesConfigurationTypePtrInput)(nil)).Elem(), IdentityPoolRoleAttachmentRulesConfigurationTypeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LogDeliveryConfigurationCloudWatchLogsConfigurationInput)(nil)).Elem(), LogDeliveryConfigurationCloudWatchLogsConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LogDeliveryConfigurationCloudWatchLogsConfigurationPtrInput)(nil)).Elem(), LogDeliveryConfigurationCloudWatchLogsConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LogDeliveryConfigurationLogConfigurationInput)(nil)).Elem(), LogDeliveryConfigurationLogConfigurationArgs{}) @@ -5943,6 +6310,12 @@ func init() { pulumi.RegisterOutputType(IdentityPoolCognitoStreamsPtrOutput{}) pulumi.RegisterOutputType(IdentityPoolPushSyncOutput{}) pulumi.RegisterOutputType(IdentityPoolPushSyncPtrOutput{}) + pulumi.RegisterOutputType(IdentityPoolRoleAttachmentMappingRuleOutput{}) + pulumi.RegisterOutputType(IdentityPoolRoleAttachmentMappingRuleArrayOutput{}) + pulumi.RegisterOutputType(IdentityPoolRoleAttachmentRoleMappingOutput{}) + pulumi.RegisterOutputType(IdentityPoolRoleAttachmentRoleMappingMapOutput{}) + pulumi.RegisterOutputType(IdentityPoolRoleAttachmentRulesConfigurationTypeOutput{}) + pulumi.RegisterOutputType(IdentityPoolRoleAttachmentRulesConfigurationTypePtrOutput{}) pulumi.RegisterOutputType(LogDeliveryConfigurationCloudWatchLogsConfigurationOutput{}) pulumi.RegisterOutputType(LogDeliveryConfigurationCloudWatchLogsConfigurationPtrOutput{}) pulumi.RegisterOutputType(LogDeliveryConfigurationLogConfigurationOutput{}) diff --git a/sdk/go/aws/cognito/userPool.go b/sdk/go/aws/cognito/userPool.go index 08f610bedc..4e9369cd45 100644 --- a/sdk/go/aws/cognito/userPool.go +++ b/sdk/go/aws/cognito/userPool.go @@ -39,7 +39,7 @@ type UserPool struct { UserPoolAddOns UserPoolAddOnsPtrOutput `pulumi:"userPoolAddOns"` UserPoolId pulumi.StringOutput `pulumi:"userPoolId"` UserPoolName pulumi.StringPtrOutput `pulumi:"userPoolName"` - UserPoolTags pulumi.AnyOutput `pulumi:"userPoolTags"` + UserPoolTags pulumi.StringMapOutput `pulumi:"userPoolTags"` UsernameAttributes pulumi.StringArrayOutput `pulumi:"usernameAttributes"` UsernameConfiguration UserPoolUsernameConfigurationPtrOutput `pulumi:"usernameConfiguration"` VerificationMessageTemplate UserPoolVerificationMessageTemplatePtrOutput `pulumi:"verificationMessageTemplate"` @@ -105,7 +105,7 @@ type userPoolArgs struct { UserAttributeUpdateSettings *UserPoolUserAttributeUpdateSettings `pulumi:"userAttributeUpdateSettings"` UserPoolAddOns *UserPoolAddOns `pulumi:"userPoolAddOns"` UserPoolName *string `pulumi:"userPoolName"` - UserPoolTags interface{} `pulumi:"userPoolTags"` + UserPoolTags map[string]string `pulumi:"userPoolTags"` UsernameAttributes []string `pulumi:"usernameAttributes"` UsernameConfiguration *UserPoolUsernameConfiguration `pulumi:"usernameConfiguration"` VerificationMessageTemplate *UserPoolVerificationMessageTemplate `pulumi:"verificationMessageTemplate"` @@ -133,7 +133,7 @@ type UserPoolArgs struct { UserAttributeUpdateSettings UserPoolUserAttributeUpdateSettingsPtrInput UserPoolAddOns UserPoolAddOnsPtrInput UserPoolName pulumi.StringPtrInput - UserPoolTags pulumi.Input + UserPoolTags pulumi.StringMapInput UsernameAttributes pulumi.StringArrayInput UsernameConfiguration UserPoolUsernameConfigurationPtrInput VerificationMessageTemplate UserPoolVerificationMessageTemplatePtrInput @@ -272,8 +272,8 @@ func (o UserPoolOutput) UserPoolName() pulumi.StringPtrOutput { return o.ApplyT(func(v *UserPool) pulumi.StringPtrOutput { return v.UserPoolName }).(pulumi.StringPtrOutput) } -func (o UserPoolOutput) UserPoolTags() pulumi.AnyOutput { - return o.ApplyT(func(v *UserPool) pulumi.AnyOutput { return v.UserPoolTags }).(pulumi.AnyOutput) +func (o UserPoolOutput) UserPoolTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *UserPool) pulumi.StringMapOutput { return v.UserPoolTags }).(pulumi.StringMapOutput) } func (o UserPoolOutput) UsernameAttributes() pulumi.StringArrayOutput { diff --git a/sdk/go/aws/cognito/userPoolUser.go b/sdk/go/aws/cognito/userPoolUser.go index da4a93ee19..e9ad6796fb 100644 --- a/sdk/go/aws/cognito/userPoolUser.go +++ b/sdk/go/aws/cognito/userPoolUser.go @@ -16,7 +16,7 @@ import ( type UserPoolUser struct { pulumi.CustomResourceState - ClientMetadata pulumi.AnyOutput `pulumi:"clientMetadata"` + ClientMetadata pulumi.StringMapOutput `pulumi:"clientMetadata"` DesiredDeliveryMediums pulumi.StringArrayOutput `pulumi:"desiredDeliveryMediums"` ForceAliasCreation pulumi.BoolPtrOutput `pulumi:"forceAliasCreation"` MessageAction pulumi.StringPtrOutput `pulumi:"messageAction"` @@ -37,7 +37,7 @@ func NewUserPoolUser(ctx *pulumi.Context, return nil, errors.New("invalid value for required argument 'UserPoolId'") } replaceOnChanges := pulumi.ReplaceOnChanges([]string{ - "clientMetadata", + "clientMetadata.*", "desiredDeliveryMediums[*]", "forceAliasCreation", "messageAction", @@ -80,7 +80,7 @@ func (UserPoolUserState) ElementType() reflect.Type { } type userPoolUserArgs struct { - ClientMetadata interface{} `pulumi:"clientMetadata"` + ClientMetadata map[string]string `pulumi:"clientMetadata"` DesiredDeliveryMediums []string `pulumi:"desiredDeliveryMediums"` ForceAliasCreation *bool `pulumi:"forceAliasCreation"` MessageAction *string `pulumi:"messageAction"` @@ -92,7 +92,7 @@ type userPoolUserArgs struct { // The set of arguments for constructing a UserPoolUser resource. type UserPoolUserArgs struct { - ClientMetadata pulumi.Input + ClientMetadata pulumi.StringMapInput DesiredDeliveryMediums pulumi.StringArrayInput ForceAliasCreation pulumi.BoolPtrInput MessageAction pulumi.StringPtrInput @@ -139,8 +139,8 @@ func (o UserPoolUserOutput) ToUserPoolUserOutputWithContext(ctx context.Context) return o } -func (o UserPoolUserOutput) ClientMetadata() pulumi.AnyOutput { - return o.ApplyT(func(v *UserPoolUser) pulumi.AnyOutput { return v.ClientMetadata }).(pulumi.AnyOutput) +func (o UserPoolUserOutput) ClientMetadata() pulumi.StringMapOutput { + return o.ApplyT(func(v *UserPoolUser) pulumi.StringMapOutput { return v.ClientMetadata }).(pulumi.StringMapOutput) } func (o UserPoolUserOutput) DesiredDeliveryMediums() pulumi.StringArrayOutput { diff --git a/sdk/go/aws/ecs/pulumiTypes.go b/sdk/go/aws/ecs/pulumiTypes.go index ea09eb4406..479414fb83 100644 --- a/sdk/go/aws/ecs/pulumiTypes.go +++ b/sdk/go/aws/ecs/pulumiTypes.go @@ -3315,9 +3315,9 @@ func (o ServiceLoadBalancerArrayOutput) Index(i pulumi.IntInput) ServiceLoadBala } type ServiceLogConfiguration struct { - LogDriver *string `pulumi:"logDriver"` - Options interface{} `pulumi:"options"` - SecretOptions []ServiceSecret `pulumi:"secretOptions"` + LogDriver *string `pulumi:"logDriver"` + Options map[string]string `pulumi:"options"` + SecretOptions []ServiceSecret `pulumi:"secretOptions"` } // ServiceLogConfigurationInput is an input type that accepts ServiceLogConfigurationArgs and ServiceLogConfigurationOutput values. @@ -3333,7 +3333,7 @@ type ServiceLogConfigurationInput interface { type ServiceLogConfigurationArgs struct { LogDriver pulumi.StringPtrInput `pulumi:"logDriver"` - Options pulumi.Input `pulumi:"options"` + Options pulumi.StringMapInput `pulumi:"options"` SecretOptions ServiceSecretArrayInput `pulumi:"secretOptions"` } @@ -3418,8 +3418,8 @@ func (o ServiceLogConfigurationOutput) LogDriver() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceLogConfiguration) *string { return v.LogDriver }).(pulumi.StringPtrOutput) } -func (o ServiceLogConfigurationOutput) Options() pulumi.AnyOutput { - return o.ApplyT(func(v ServiceLogConfiguration) interface{} { return v.Options }).(pulumi.AnyOutput) +func (o ServiceLogConfigurationOutput) Options() pulumi.StringMapOutput { + return o.ApplyT(func(v ServiceLogConfiguration) map[string]string { return v.Options }).(pulumi.StringMapOutput) } func (o ServiceLogConfigurationOutput) SecretOptions() ServiceSecretArrayOutput { @@ -3459,13 +3459,13 @@ func (o ServiceLogConfigurationPtrOutput) LogDriver() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -func (o ServiceLogConfigurationPtrOutput) Options() pulumi.AnyOutput { - return o.ApplyT(func(v *ServiceLogConfiguration) interface{} { +func (o ServiceLogConfigurationPtrOutput) Options() pulumi.StringMapOutput { + return o.ApplyT(func(v *ServiceLogConfiguration) map[string]string { if v == nil { return nil } return v.Options - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o ServiceLogConfigurationPtrOutput) SecretOptions() ServiceSecretArrayOutput { @@ -4795,7 +4795,7 @@ type TaskDefinitionContainerDefinition struct { DisableNetworking *bool `pulumi:"disableNetworking"` DnsSearchDomains []string `pulumi:"dnsSearchDomains"` DnsServers []string `pulumi:"dnsServers"` - DockerLabels interface{} `pulumi:"dockerLabels"` + DockerLabels map[string]string `pulumi:"dockerLabels"` DockerSecurityOptions []string `pulumi:"dockerSecurityOptions"` EntryPoint []string `pulumi:"entryPoint"` // The environment variables to pass to a container @@ -4856,7 +4856,7 @@ type TaskDefinitionContainerDefinitionArgs struct { DisableNetworking pulumi.BoolPtrInput `pulumi:"disableNetworking"` DnsSearchDomains pulumi.StringArrayInput `pulumi:"dnsSearchDomains"` DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"` - DockerLabels pulumi.Input `pulumi:"dockerLabels"` + DockerLabels pulumi.StringMapInput `pulumi:"dockerLabels"` DockerSecurityOptions pulumi.StringArrayInput `pulumi:"dockerSecurityOptions"` EntryPoint pulumi.StringArrayInput `pulumi:"entryPoint"` // The environment variables to pass to a container @@ -4977,8 +4977,8 @@ func (o TaskDefinitionContainerDefinitionOutput) DnsServers() pulumi.StringArray return o.ApplyT(func(v TaskDefinitionContainerDefinition) []string { return v.DnsServers }).(pulumi.StringArrayOutput) } -func (o TaskDefinitionContainerDefinitionOutput) DockerLabels() pulumi.AnyOutput { - return o.ApplyT(func(v TaskDefinitionContainerDefinition) interface{} { return v.DockerLabels }).(pulumi.AnyOutput) +func (o TaskDefinitionContainerDefinitionOutput) DockerLabels() pulumi.StringMapOutput { + return o.ApplyT(func(v TaskDefinitionContainerDefinition) map[string]string { return v.DockerLabels }).(pulumi.StringMapOutput) } func (o TaskDefinitionContainerDefinitionOutput) DockerSecurityOptions() pulumi.StringArrayOutput { @@ -5348,11 +5348,11 @@ func (o TaskDefinitionDeviceArrayOutput) Index(i pulumi.IntInput) TaskDefinition } type TaskDefinitionDockerVolumeConfiguration struct { - Autoprovision *bool `pulumi:"autoprovision"` - Driver *string `pulumi:"driver"` - DriverOpts interface{} `pulumi:"driverOpts"` - Labels interface{} `pulumi:"labels"` - Scope *string `pulumi:"scope"` + Autoprovision *bool `pulumi:"autoprovision"` + Driver *string `pulumi:"driver"` + DriverOpts map[string]string `pulumi:"driverOpts"` + Labels map[string]string `pulumi:"labels"` + Scope *string `pulumi:"scope"` } // TaskDefinitionDockerVolumeConfigurationInput is an input type that accepts TaskDefinitionDockerVolumeConfigurationArgs and TaskDefinitionDockerVolumeConfigurationOutput values. @@ -5369,8 +5369,8 @@ type TaskDefinitionDockerVolumeConfigurationInput interface { type TaskDefinitionDockerVolumeConfigurationArgs struct { Autoprovision pulumi.BoolPtrInput `pulumi:"autoprovision"` Driver pulumi.StringPtrInput `pulumi:"driver"` - DriverOpts pulumi.Input `pulumi:"driverOpts"` - Labels pulumi.Input `pulumi:"labels"` + DriverOpts pulumi.StringMapInput `pulumi:"driverOpts"` + Labels pulumi.StringMapInput `pulumi:"labels"` Scope pulumi.StringPtrInput `pulumi:"scope"` } @@ -5459,12 +5459,12 @@ func (o TaskDefinitionDockerVolumeConfigurationOutput) Driver() pulumi.StringPtr return o.ApplyT(func(v TaskDefinitionDockerVolumeConfiguration) *string { return v.Driver }).(pulumi.StringPtrOutput) } -func (o TaskDefinitionDockerVolumeConfigurationOutput) DriverOpts() pulumi.AnyOutput { - return o.ApplyT(func(v TaskDefinitionDockerVolumeConfiguration) interface{} { return v.DriverOpts }).(pulumi.AnyOutput) +func (o TaskDefinitionDockerVolumeConfigurationOutput) DriverOpts() pulumi.StringMapOutput { + return o.ApplyT(func(v TaskDefinitionDockerVolumeConfiguration) map[string]string { return v.DriverOpts }).(pulumi.StringMapOutput) } -func (o TaskDefinitionDockerVolumeConfigurationOutput) Labels() pulumi.AnyOutput { - return o.ApplyT(func(v TaskDefinitionDockerVolumeConfiguration) interface{} { return v.Labels }).(pulumi.AnyOutput) +func (o TaskDefinitionDockerVolumeConfigurationOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v TaskDefinitionDockerVolumeConfiguration) map[string]string { return v.Labels }).(pulumi.StringMapOutput) } func (o TaskDefinitionDockerVolumeConfigurationOutput) Scope() pulumi.StringPtrOutput { @@ -5513,22 +5513,22 @@ func (o TaskDefinitionDockerVolumeConfigurationPtrOutput) Driver() pulumi.String }).(pulumi.StringPtrOutput) } -func (o TaskDefinitionDockerVolumeConfigurationPtrOutput) DriverOpts() pulumi.AnyOutput { - return o.ApplyT(func(v *TaskDefinitionDockerVolumeConfiguration) interface{} { +func (o TaskDefinitionDockerVolumeConfigurationPtrOutput) DriverOpts() pulumi.StringMapOutput { + return o.ApplyT(func(v *TaskDefinitionDockerVolumeConfiguration) map[string]string { if v == nil { return nil } return v.DriverOpts - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } -func (o TaskDefinitionDockerVolumeConfigurationPtrOutput) Labels() pulumi.AnyOutput { - return o.ApplyT(func(v *TaskDefinitionDockerVolumeConfiguration) interface{} { +func (o TaskDefinitionDockerVolumeConfigurationPtrOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *TaskDefinitionDockerVolumeConfiguration) map[string]string { if v == nil { return nil } return v.Labels - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o TaskDefinitionDockerVolumeConfigurationPtrOutput) Scope() pulumi.StringPtrOutput { @@ -5971,8 +5971,8 @@ func (o TaskDefinitionEphemeralStoragePtrOutput) SizeInGiB() pulumi.IntPtrOutput } type TaskDefinitionFirelensConfiguration struct { - Options interface{} `pulumi:"options"` - Type *string `pulumi:"type"` + Options map[string]string `pulumi:"options"` + Type *string `pulumi:"type"` } // TaskDefinitionFirelensConfigurationInput is an input type that accepts TaskDefinitionFirelensConfigurationArgs and TaskDefinitionFirelensConfigurationOutput values. @@ -5987,7 +5987,7 @@ type TaskDefinitionFirelensConfigurationInput interface { } type TaskDefinitionFirelensConfigurationArgs struct { - Options pulumi.Input `pulumi:"options"` + Options pulumi.StringMapInput `pulumi:"options"` Type pulumi.StringPtrInput `pulumi:"type"` } @@ -6068,8 +6068,8 @@ func (o TaskDefinitionFirelensConfigurationOutput) ToTaskDefinitionFirelensConfi }).(TaskDefinitionFirelensConfigurationPtrOutput) } -func (o TaskDefinitionFirelensConfigurationOutput) Options() pulumi.AnyOutput { - return o.ApplyT(func(v TaskDefinitionFirelensConfiguration) interface{} { return v.Options }).(pulumi.AnyOutput) +func (o TaskDefinitionFirelensConfigurationOutput) Options() pulumi.StringMapOutput { + return o.ApplyT(func(v TaskDefinitionFirelensConfiguration) map[string]string { return v.Options }).(pulumi.StringMapOutput) } func (o TaskDefinitionFirelensConfigurationOutput) Type() pulumi.StringPtrOutput { @@ -6100,13 +6100,13 @@ func (o TaskDefinitionFirelensConfigurationPtrOutput) Elem() TaskDefinitionFirel }).(TaskDefinitionFirelensConfigurationOutput) } -func (o TaskDefinitionFirelensConfigurationPtrOutput) Options() pulumi.AnyOutput { - return o.ApplyT(func(v *TaskDefinitionFirelensConfiguration) interface{} { +func (o TaskDefinitionFirelensConfigurationPtrOutput) Options() pulumi.StringMapOutput { + return o.ApplyT(func(v *TaskDefinitionFirelensConfiguration) map[string]string { if v == nil { return nil } return v.Options - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o TaskDefinitionFirelensConfigurationPtrOutput) Type() pulumi.StringPtrOutput { @@ -7140,7 +7140,7 @@ func (o TaskDefinitionLinuxParametersPtrOutput) Tmpfs() TaskDefinitionTmpfsArray type TaskDefinitionLogConfiguration struct { LogDriver string `pulumi:"logDriver"` - Options interface{} `pulumi:"options"` + Options map[string]string `pulumi:"options"` SecretOptions []TaskDefinitionSecret `pulumi:"secretOptions"` } @@ -7157,7 +7157,7 @@ type TaskDefinitionLogConfigurationInput interface { type TaskDefinitionLogConfigurationArgs struct { LogDriver pulumi.StringInput `pulumi:"logDriver"` - Options pulumi.Input `pulumi:"options"` + Options pulumi.StringMapInput `pulumi:"options"` SecretOptions TaskDefinitionSecretArrayInput `pulumi:"secretOptions"` } @@ -7242,8 +7242,8 @@ func (o TaskDefinitionLogConfigurationOutput) LogDriver() pulumi.StringOutput { return o.ApplyT(func(v TaskDefinitionLogConfiguration) string { return v.LogDriver }).(pulumi.StringOutput) } -func (o TaskDefinitionLogConfigurationOutput) Options() pulumi.AnyOutput { - return o.ApplyT(func(v TaskDefinitionLogConfiguration) interface{} { return v.Options }).(pulumi.AnyOutput) +func (o TaskDefinitionLogConfigurationOutput) Options() pulumi.StringMapOutput { + return o.ApplyT(func(v TaskDefinitionLogConfiguration) map[string]string { return v.Options }).(pulumi.StringMapOutput) } func (o TaskDefinitionLogConfigurationOutput) SecretOptions() TaskDefinitionSecretArrayOutput { @@ -7283,13 +7283,13 @@ func (o TaskDefinitionLogConfigurationPtrOutput) LogDriver() pulumi.StringPtrOut }).(pulumi.StringPtrOutput) } -func (o TaskDefinitionLogConfigurationPtrOutput) Options() pulumi.AnyOutput { - return o.ApplyT(func(v *TaskDefinitionLogConfiguration) interface{} { +func (o TaskDefinitionLogConfigurationPtrOutput) Options() pulumi.StringMapOutput { + return o.ApplyT(func(v *TaskDefinitionLogConfiguration) map[string]string { if v == nil { return nil } return v.Options - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o TaskDefinitionLogConfigurationPtrOutput) SecretOptions() TaskDefinitionSecretArrayOutput { diff --git a/sdk/go/aws/eks/getNodegroup.go b/sdk/go/aws/eks/getNodegroup.go index ce59e32300..210a7442e0 100644 --- a/sdk/go/aws/eks/getNodegroup.go +++ b/sdk/go/aws/eks/getNodegroup.go @@ -30,7 +30,7 @@ type LookupNodegroupResult struct { Arn *string `pulumi:"arn"` Id *string `pulumi:"id"` // The Kubernetes labels to be applied to the nodes in the node group when they are created. - Labels interface{} `pulumi:"labels"` + Labels map[string]string `pulumi:"labels"` // An object representing a node group's launch template specification. LaunchTemplate *NodegroupLaunchTemplateSpecification `pulumi:"launchTemplate"` // The AMI version of the Amazon EKS-optimized AMI to use with your node group. @@ -38,7 +38,7 @@ type LookupNodegroupResult struct { // The scaling configuration details for the Auto Scaling group that is created for your node group. ScalingConfig *NodegroupScalingConfig `pulumi:"scalingConfig"` // The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The Kubernetes taints to be applied to the nodes in the node group when they are created. Taints []NodegroupTaint `pulumi:"taints"` // The node group update configuration. @@ -91,8 +91,8 @@ func (o LookupNodegroupResultOutput) Id() pulumi.StringPtrOutput { } // The Kubernetes labels to be applied to the nodes in the node group when they are created. -func (o LookupNodegroupResultOutput) Labels() pulumi.AnyOutput { - return o.ApplyT(func(v LookupNodegroupResult) interface{} { return v.Labels }).(pulumi.AnyOutput) +func (o LookupNodegroupResultOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupNodegroupResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) } // An object representing a node group's launch template specification. @@ -111,8 +111,8 @@ func (o LookupNodegroupResultOutput) ScalingConfig() NodegroupScalingConfigPtrOu } // The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. -func (o LookupNodegroupResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupNodegroupResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupNodegroupResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupNodegroupResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } // The Kubernetes taints to be applied to the nodes in the node group when they are created. diff --git a/sdk/go/aws/eks/nodegroup.go b/sdk/go/aws/eks/nodegroup.go index 6f9ece2474..317ec376c3 100644 --- a/sdk/go/aws/eks/nodegroup.go +++ b/sdk/go/aws/eks/nodegroup.go @@ -30,7 +30,7 @@ type Nodegroup struct { // Specify the instance types for a node group. InstanceTypes pulumi.StringArrayOutput `pulumi:"instanceTypes"` // The Kubernetes labels to be applied to the nodes in the node group when they are created. - Labels pulumi.AnyOutput `pulumi:"labels"` + Labels pulumi.StringMapOutput `pulumi:"labels"` // An object representing a node group's launch template specification. LaunchTemplate NodegroupLaunchTemplateSpecificationPtrOutput `pulumi:"launchTemplate"` // The Amazon Resource Name (ARN) of the IAM role to associate with your node group. @@ -46,7 +46,7 @@ type Nodegroup struct { // The subnets to use for the Auto Scaling group that is created for your node group. Subnets pulumi.StringArrayOutput `pulumi:"subnets"` // The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The Kubernetes taints to be applied to the nodes in the node group when they are created. Taints NodegroupTaintArrayOutput `pulumi:"taints"` // The node group update configuration. @@ -129,7 +129,7 @@ type nodegroupArgs struct { // Specify the instance types for a node group. InstanceTypes []string `pulumi:"instanceTypes"` // The Kubernetes labels to be applied to the nodes in the node group when they are created. - Labels interface{} `pulumi:"labels"` + Labels map[string]string `pulumi:"labels"` // An object representing a node group's launch template specification. LaunchTemplate *NodegroupLaunchTemplateSpecification `pulumi:"launchTemplate"` // The Amazon Resource Name (ARN) of the IAM role to associate with your node group. @@ -145,7 +145,7 @@ type nodegroupArgs struct { // The subnets to use for the Auto Scaling group that is created for your node group. Subnets []string `pulumi:"subnets"` // The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The Kubernetes taints to be applied to the nodes in the node group when they are created. Taints []NodegroupTaint `pulumi:"taints"` // The node group update configuration. @@ -169,7 +169,7 @@ type NodegroupArgs struct { // Specify the instance types for a node group. InstanceTypes pulumi.StringArrayInput // The Kubernetes labels to be applied to the nodes in the node group when they are created. - Labels pulumi.Input + Labels pulumi.StringMapInput // An object representing a node group's launch template specification. LaunchTemplate NodegroupLaunchTemplateSpecificationPtrInput // The Amazon Resource Name (ARN) of the IAM role to associate with your node group. @@ -185,7 +185,7 @@ type NodegroupArgs struct { // The subnets to use for the Auto Scaling group that is created for your node group. Subnets pulumi.StringArrayInput // The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. - Tags pulumi.Input + Tags pulumi.StringMapInput // The Kubernetes taints to be applied to the nodes in the node group when they are created. Taints NodegroupTaintArrayInput // The node group update configuration. @@ -266,8 +266,8 @@ func (o NodegroupOutput) InstanceTypes() pulumi.StringArrayOutput { } // The Kubernetes labels to be applied to the nodes in the node group when they are created. -func (o NodegroupOutput) Labels() pulumi.AnyOutput { - return o.ApplyT(func(v *Nodegroup) pulumi.AnyOutput { return v.Labels }).(pulumi.AnyOutput) +func (o NodegroupOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *Nodegroup) pulumi.StringMapOutput { return v.Labels }).(pulumi.StringMapOutput) } // An object representing a node group's launch template specification. @@ -306,8 +306,8 @@ func (o NodegroupOutput) Subnets() pulumi.StringArrayOutput { } // The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. -func (o NodegroupOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *Nodegroup) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o NodegroupOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Nodegroup) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The Kubernetes taints to be applied to the nodes in the node group when they are created. diff --git a/sdk/go/aws/elasticloadbalancingv2/pulumiTypes.go b/sdk/go/aws/elasticloadbalancingv2/pulumiTypes.go index 66f26a4c4a..f137947bf6 100644 --- a/sdk/go/aws/elasticloadbalancingv2/pulumiTypes.go +++ b/sdk/go/aws/elasticloadbalancingv2/pulumiTypes.go @@ -1694,14 +1694,14 @@ func (o ListenerRuleActionArrayOutput) Index(i pulumi.IntInput) ListenerRuleActi } type ListenerRuleAuthenticateCognitoConfig struct { - AuthenticationRequestExtraParams interface{} `pulumi:"authenticationRequestExtraParams"` - OnUnauthenticatedRequest *string `pulumi:"onUnauthenticatedRequest"` - Scope *string `pulumi:"scope"` - SessionCookieName *string `pulumi:"sessionCookieName"` - SessionTimeout *int `pulumi:"sessionTimeout"` - UserPoolArn string `pulumi:"userPoolArn"` - UserPoolClientId string `pulumi:"userPoolClientId"` - UserPoolDomain string `pulumi:"userPoolDomain"` + AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"` + OnUnauthenticatedRequest *string `pulumi:"onUnauthenticatedRequest"` + Scope *string `pulumi:"scope"` + SessionCookieName *string `pulumi:"sessionCookieName"` + SessionTimeout *int `pulumi:"sessionTimeout"` + UserPoolArn string `pulumi:"userPoolArn"` + UserPoolClientId string `pulumi:"userPoolClientId"` + UserPoolDomain string `pulumi:"userPoolDomain"` } // ListenerRuleAuthenticateCognitoConfigInput is an input type that accepts ListenerRuleAuthenticateCognitoConfigArgs and ListenerRuleAuthenticateCognitoConfigOutput values. @@ -1716,7 +1716,7 @@ type ListenerRuleAuthenticateCognitoConfigInput interface { } type ListenerRuleAuthenticateCognitoConfigArgs struct { - AuthenticationRequestExtraParams pulumi.Input `pulumi:"authenticationRequestExtraParams"` + AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"` OnUnauthenticatedRequest pulumi.StringPtrInput `pulumi:"onUnauthenticatedRequest"` Scope pulumi.StringPtrInput `pulumi:"scope"` SessionCookieName pulumi.StringPtrInput `pulumi:"sessionCookieName"` @@ -1803,8 +1803,10 @@ func (o ListenerRuleAuthenticateCognitoConfigOutput) ToListenerRuleAuthenticateC }).(ListenerRuleAuthenticateCognitoConfigPtrOutput) } -func (o ListenerRuleAuthenticateCognitoConfigOutput) AuthenticationRequestExtraParams() pulumi.AnyOutput { - return o.ApplyT(func(v ListenerRuleAuthenticateCognitoConfig) interface{} { return v.AuthenticationRequestExtraParams }).(pulumi.AnyOutput) +func (o ListenerRuleAuthenticateCognitoConfigOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput { + return o.ApplyT(func(v ListenerRuleAuthenticateCognitoConfig) map[string]string { + return v.AuthenticationRequestExtraParams + }).(pulumi.StringMapOutput) } func (o ListenerRuleAuthenticateCognitoConfigOutput) OnUnauthenticatedRequest() pulumi.StringPtrOutput { @@ -1859,13 +1861,13 @@ func (o ListenerRuleAuthenticateCognitoConfigPtrOutput) Elem() ListenerRuleAuthe }).(ListenerRuleAuthenticateCognitoConfigOutput) } -func (o ListenerRuleAuthenticateCognitoConfigPtrOutput) AuthenticationRequestExtraParams() pulumi.AnyOutput { - return o.ApplyT(func(v *ListenerRuleAuthenticateCognitoConfig) interface{} { +func (o ListenerRuleAuthenticateCognitoConfigPtrOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput { + return o.ApplyT(func(v *ListenerRuleAuthenticateCognitoConfig) map[string]string { if v == nil { return nil } return v.AuthenticationRequestExtraParams - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o ListenerRuleAuthenticateCognitoConfigPtrOutput) OnUnauthenticatedRequest() pulumi.StringPtrOutput { @@ -1932,18 +1934,18 @@ func (o ListenerRuleAuthenticateCognitoConfigPtrOutput) UserPoolDomain() pulumi. } type ListenerRuleAuthenticateOidcConfig struct { - AuthenticationRequestExtraParams interface{} `pulumi:"authenticationRequestExtraParams"` - AuthorizationEndpoint string `pulumi:"authorizationEndpoint"` - ClientId string `pulumi:"clientId"` - ClientSecret *string `pulumi:"clientSecret"` - Issuer string `pulumi:"issuer"` - OnUnauthenticatedRequest *string `pulumi:"onUnauthenticatedRequest"` - Scope *string `pulumi:"scope"` - SessionCookieName *string `pulumi:"sessionCookieName"` - SessionTimeout *int `pulumi:"sessionTimeout"` - TokenEndpoint string `pulumi:"tokenEndpoint"` - UseExistingClientSecret *bool `pulumi:"useExistingClientSecret"` - UserInfoEndpoint string `pulumi:"userInfoEndpoint"` + AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"` + AuthorizationEndpoint string `pulumi:"authorizationEndpoint"` + ClientId string `pulumi:"clientId"` + ClientSecret *string `pulumi:"clientSecret"` + Issuer string `pulumi:"issuer"` + OnUnauthenticatedRequest *string `pulumi:"onUnauthenticatedRequest"` + Scope *string `pulumi:"scope"` + SessionCookieName *string `pulumi:"sessionCookieName"` + SessionTimeout *int `pulumi:"sessionTimeout"` + TokenEndpoint string `pulumi:"tokenEndpoint"` + UseExistingClientSecret *bool `pulumi:"useExistingClientSecret"` + UserInfoEndpoint string `pulumi:"userInfoEndpoint"` } // ListenerRuleAuthenticateOidcConfigInput is an input type that accepts ListenerRuleAuthenticateOidcConfigArgs and ListenerRuleAuthenticateOidcConfigOutput values. @@ -1958,7 +1960,7 @@ type ListenerRuleAuthenticateOidcConfigInput interface { } type ListenerRuleAuthenticateOidcConfigArgs struct { - AuthenticationRequestExtraParams pulumi.Input `pulumi:"authenticationRequestExtraParams"` + AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"` AuthorizationEndpoint pulumi.StringInput `pulumi:"authorizationEndpoint"` ClientId pulumi.StringInput `pulumi:"clientId"` ClientSecret pulumi.StringPtrInput `pulumi:"clientSecret"` @@ -2049,8 +2051,10 @@ func (o ListenerRuleAuthenticateOidcConfigOutput) ToListenerRuleAuthenticateOidc }).(ListenerRuleAuthenticateOidcConfigPtrOutput) } -func (o ListenerRuleAuthenticateOidcConfigOutput) AuthenticationRequestExtraParams() pulumi.AnyOutput { - return o.ApplyT(func(v ListenerRuleAuthenticateOidcConfig) interface{} { return v.AuthenticationRequestExtraParams }).(pulumi.AnyOutput) +func (o ListenerRuleAuthenticateOidcConfigOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput { + return o.ApplyT(func(v ListenerRuleAuthenticateOidcConfig) map[string]string { + return v.AuthenticationRequestExtraParams + }).(pulumi.StringMapOutput) } func (o ListenerRuleAuthenticateOidcConfigOutput) AuthorizationEndpoint() pulumi.StringOutput { @@ -2121,13 +2125,13 @@ func (o ListenerRuleAuthenticateOidcConfigPtrOutput) Elem() ListenerRuleAuthenti }).(ListenerRuleAuthenticateOidcConfigOutput) } -func (o ListenerRuleAuthenticateOidcConfigPtrOutput) AuthenticationRequestExtraParams() pulumi.AnyOutput { - return o.ApplyT(func(v *ListenerRuleAuthenticateOidcConfig) interface{} { +func (o ListenerRuleAuthenticateOidcConfigPtrOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput { + return o.ApplyT(func(v *ListenerRuleAuthenticateOidcConfig) map[string]string { if v == nil { return nil } return v.AuthenticationRequestExtraParams - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o ListenerRuleAuthenticateOidcConfigPtrOutput) AuthorizationEndpoint() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/emrserverless/pulumiTypes.go b/sdk/go/aws/emrserverless/pulumiTypes.go index 86ab9db889..7edd600a58 100644 --- a/sdk/go/aws/emrserverless/pulumiTypes.go +++ b/sdk/go/aws/emrserverless/pulumiTypes.go @@ -532,7 +532,7 @@ type ApplicationConfigurationObject struct { // String with a maximum length of 1024. Classification string `pulumi:"classification"` Configurations []ApplicationConfigurationObject `pulumi:"configurations"` - Properties interface{} `pulumi:"properties"` + Properties map[string]string `pulumi:"properties"` } // ApplicationConfigurationObjectInput is an input type that accepts ApplicationConfigurationObjectArgs and ApplicationConfigurationObjectOutput values. @@ -551,7 +551,7 @@ type ApplicationConfigurationObjectArgs struct { // String with a maximum length of 1024. Classification pulumi.StringInput `pulumi:"classification"` Configurations ApplicationConfigurationObjectArrayInput `pulumi:"configurations"` - Properties pulumi.Input `pulumi:"properties"` + Properties pulumi.StringMapInput `pulumi:"properties"` } func (ApplicationConfigurationObjectArgs) ElementType() reflect.Type { @@ -615,8 +615,8 @@ func (o ApplicationConfigurationObjectOutput) Configurations() ApplicationConfig return o.ApplyT(func(v ApplicationConfigurationObject) []ApplicationConfigurationObject { return v.Configurations }).(ApplicationConfigurationObjectArrayOutput) } -func (o ApplicationConfigurationObjectOutput) Properties() pulumi.AnyOutput { - return o.ApplyT(func(v ApplicationConfigurationObject) interface{} { return v.Properties }).(pulumi.AnyOutput) +func (o ApplicationConfigurationObjectOutput) Properties() pulumi.StringMapOutput { + return o.ApplyT(func(v ApplicationConfigurationObject) map[string]string { return v.Properties }).(pulumi.StringMapOutput) } type ApplicationConfigurationObjectArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/aws/entityresolution/pulumiTypes.go b/sdk/go/aws/entityresolution/pulumiTypes.go index 68385707d9..a0d042aab3 100644 --- a/sdk/go/aws/entityresolution/pulumiTypes.go +++ b/sdk/go/aws/entityresolution/pulumiTypes.go @@ -460,7 +460,7 @@ func (o IdMappingWorkflowOutputSourceArrayOutput) Index(i pulumi.IntInput) IdMap type IdMappingWorkflowProviderProperties struct { IntermediateSourceConfiguration *IdMappingWorkflowIntermediateSourceConfiguration `pulumi:"intermediateSourceConfiguration"` // Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format - ProviderConfiguration interface{} `pulumi:"providerConfiguration"` + ProviderConfiguration map[string]string `pulumi:"providerConfiguration"` // Arn of the Provider Service being used. ProviderServiceArn string `pulumi:"providerServiceArn"` } @@ -479,7 +479,7 @@ type IdMappingWorkflowProviderPropertiesInput interface { type IdMappingWorkflowProviderPropertiesArgs struct { IntermediateSourceConfiguration IdMappingWorkflowIntermediateSourceConfigurationPtrInput `pulumi:"intermediateSourceConfiguration"` // Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format - ProviderConfiguration pulumi.Input `pulumi:"providerConfiguration"` + ProviderConfiguration pulumi.StringMapInput `pulumi:"providerConfiguration"` // Arn of the Provider Service being used. ProviderServiceArn pulumi.StringInput `pulumi:"providerServiceArn"` } @@ -568,8 +568,8 @@ func (o IdMappingWorkflowProviderPropertiesOutput) IntermediateSourceConfigurati } // Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format -func (o IdMappingWorkflowProviderPropertiesOutput) ProviderConfiguration() pulumi.AnyOutput { - return o.ApplyT(func(v IdMappingWorkflowProviderProperties) interface{} { return v.ProviderConfiguration }).(pulumi.AnyOutput) +func (o IdMappingWorkflowProviderPropertiesOutput) ProviderConfiguration() pulumi.StringMapOutput { + return o.ApplyT(func(v IdMappingWorkflowProviderProperties) map[string]string { return v.ProviderConfiguration }).(pulumi.StringMapOutput) } // Arn of the Provider Service being used. @@ -611,13 +611,13 @@ func (o IdMappingWorkflowProviderPropertiesPtrOutput) IntermediateSourceConfigur } // Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format -func (o IdMappingWorkflowProviderPropertiesPtrOutput) ProviderConfiguration() pulumi.AnyOutput { - return o.ApplyT(func(v *IdMappingWorkflowProviderProperties) interface{} { +func (o IdMappingWorkflowProviderPropertiesPtrOutput) ProviderConfiguration() pulumi.StringMapOutput { + return o.ApplyT(func(v *IdMappingWorkflowProviderProperties) map[string]string { if v == nil { return nil } return v.ProviderConfiguration - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // Arn of the Provider Service being used. @@ -1203,7 +1203,7 @@ func (o MatchingWorkflowOutputSourceArrayOutput) Index(i pulumi.IntInput) Matchi type MatchingWorkflowProviderProperties struct { IntermediateSourceConfiguration *MatchingWorkflowIntermediateSourceConfiguration `pulumi:"intermediateSourceConfiguration"` // Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format - ProviderConfiguration interface{} `pulumi:"providerConfiguration"` + ProviderConfiguration map[string]string `pulumi:"providerConfiguration"` // Arn of the Provider service being used. ProviderServiceArn string `pulumi:"providerServiceArn"` } @@ -1222,7 +1222,7 @@ type MatchingWorkflowProviderPropertiesInput interface { type MatchingWorkflowProviderPropertiesArgs struct { IntermediateSourceConfiguration MatchingWorkflowIntermediateSourceConfigurationPtrInput `pulumi:"intermediateSourceConfiguration"` // Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format - ProviderConfiguration pulumi.Input `pulumi:"providerConfiguration"` + ProviderConfiguration pulumi.StringMapInput `pulumi:"providerConfiguration"` // Arn of the Provider service being used. ProviderServiceArn pulumi.StringInput `pulumi:"providerServiceArn"` } @@ -1311,8 +1311,8 @@ func (o MatchingWorkflowProviderPropertiesOutput) IntermediateSourceConfiguratio } // Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format -func (o MatchingWorkflowProviderPropertiesOutput) ProviderConfiguration() pulumi.AnyOutput { - return o.ApplyT(func(v MatchingWorkflowProviderProperties) interface{} { return v.ProviderConfiguration }).(pulumi.AnyOutput) +func (o MatchingWorkflowProviderPropertiesOutput) ProviderConfiguration() pulumi.StringMapOutput { + return o.ApplyT(func(v MatchingWorkflowProviderProperties) map[string]string { return v.ProviderConfiguration }).(pulumi.StringMapOutput) } // Arn of the Provider service being used. @@ -1354,13 +1354,13 @@ func (o MatchingWorkflowProviderPropertiesPtrOutput) IntermediateSourceConfigura } // Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format -func (o MatchingWorkflowProviderPropertiesPtrOutput) ProviderConfiguration() pulumi.AnyOutput { - return o.ApplyT(func(v *MatchingWorkflowProviderProperties) interface{} { +func (o MatchingWorkflowProviderPropertiesPtrOutput) ProviderConfiguration() pulumi.StringMapOutput { + return o.ApplyT(func(v *MatchingWorkflowProviderProperties) map[string]string { if v == nil { return nil } return v.ProviderConfiguration - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // Arn of the Provider service being used. diff --git a/sdk/go/aws/events/pulumiTypes.go b/sdk/go/aws/events/pulumiTypes.go index 080af4cc68..a11bb892e2 100644 --- a/sdk/go/aws/events/pulumiTypes.go +++ b/sdk/go/aws/events/pulumiTypes.go @@ -3112,9 +3112,9 @@ func (o RuleEcsParametersPtrOutput) TaskDefinitionArn() pulumi.StringPtrOutput { } type RuleHttpParameters struct { - HeaderParameters interface{} `pulumi:"headerParameters"` - PathParameterValues []string `pulumi:"pathParameterValues"` - QueryStringParameters interface{} `pulumi:"queryStringParameters"` + HeaderParameters map[string]string `pulumi:"headerParameters"` + PathParameterValues []string `pulumi:"pathParameterValues"` + QueryStringParameters map[string]string `pulumi:"queryStringParameters"` } // RuleHttpParametersInput is an input type that accepts RuleHttpParametersArgs and RuleHttpParametersOutput values. @@ -3129,9 +3129,9 @@ type RuleHttpParametersInput interface { } type RuleHttpParametersArgs struct { - HeaderParameters pulumi.Input `pulumi:"headerParameters"` + HeaderParameters pulumi.StringMapInput `pulumi:"headerParameters"` PathParameterValues pulumi.StringArrayInput `pulumi:"pathParameterValues"` - QueryStringParameters pulumi.Input `pulumi:"queryStringParameters"` + QueryStringParameters pulumi.StringMapInput `pulumi:"queryStringParameters"` } func (RuleHttpParametersArgs) ElementType() reflect.Type { @@ -3211,16 +3211,16 @@ func (o RuleHttpParametersOutput) ToRuleHttpParametersPtrOutputWithContext(ctx c }).(RuleHttpParametersPtrOutput) } -func (o RuleHttpParametersOutput) HeaderParameters() pulumi.AnyOutput { - return o.ApplyT(func(v RuleHttpParameters) interface{} { return v.HeaderParameters }).(pulumi.AnyOutput) +func (o RuleHttpParametersOutput) HeaderParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v RuleHttpParameters) map[string]string { return v.HeaderParameters }).(pulumi.StringMapOutput) } func (o RuleHttpParametersOutput) PathParameterValues() pulumi.StringArrayOutput { return o.ApplyT(func(v RuleHttpParameters) []string { return v.PathParameterValues }).(pulumi.StringArrayOutput) } -func (o RuleHttpParametersOutput) QueryStringParameters() pulumi.AnyOutput { - return o.ApplyT(func(v RuleHttpParameters) interface{} { return v.QueryStringParameters }).(pulumi.AnyOutput) +func (o RuleHttpParametersOutput) QueryStringParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v RuleHttpParameters) map[string]string { return v.QueryStringParameters }).(pulumi.StringMapOutput) } type RuleHttpParametersPtrOutput struct{ *pulumi.OutputState } @@ -3247,13 +3247,13 @@ func (o RuleHttpParametersPtrOutput) Elem() RuleHttpParametersOutput { }).(RuleHttpParametersOutput) } -func (o RuleHttpParametersPtrOutput) HeaderParameters() pulumi.AnyOutput { - return o.ApplyT(func(v *RuleHttpParameters) interface{} { +func (o RuleHttpParametersPtrOutput) HeaderParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *RuleHttpParameters) map[string]string { if v == nil { return nil } return v.HeaderParameters - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o RuleHttpParametersPtrOutput) PathParameterValues() pulumi.StringArrayOutput { @@ -3265,18 +3265,18 @@ func (o RuleHttpParametersPtrOutput) PathParameterValues() pulumi.StringArrayOut }).(pulumi.StringArrayOutput) } -func (o RuleHttpParametersPtrOutput) QueryStringParameters() pulumi.AnyOutput { - return o.ApplyT(func(v *RuleHttpParameters) interface{} { +func (o RuleHttpParametersPtrOutput) QueryStringParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *RuleHttpParameters) map[string]string { if v == nil { return nil } return v.QueryStringParameters - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } type RuleInputTransformer struct { - InputPathsMap interface{} `pulumi:"inputPathsMap"` - InputTemplate string `pulumi:"inputTemplate"` + InputPathsMap map[string]string `pulumi:"inputPathsMap"` + InputTemplate string `pulumi:"inputTemplate"` } // RuleInputTransformerInput is an input type that accepts RuleInputTransformerArgs and RuleInputTransformerOutput values. @@ -3291,8 +3291,8 @@ type RuleInputTransformerInput interface { } type RuleInputTransformerArgs struct { - InputPathsMap pulumi.Input `pulumi:"inputPathsMap"` - InputTemplate pulumi.StringInput `pulumi:"inputTemplate"` + InputPathsMap pulumi.StringMapInput `pulumi:"inputPathsMap"` + InputTemplate pulumi.StringInput `pulumi:"inputTemplate"` } func (RuleInputTransformerArgs) ElementType() reflect.Type { @@ -3372,8 +3372,8 @@ func (o RuleInputTransformerOutput) ToRuleInputTransformerPtrOutputWithContext(c }).(RuleInputTransformerPtrOutput) } -func (o RuleInputTransformerOutput) InputPathsMap() pulumi.AnyOutput { - return o.ApplyT(func(v RuleInputTransformer) interface{} { return v.InputPathsMap }).(pulumi.AnyOutput) +func (o RuleInputTransformerOutput) InputPathsMap() pulumi.StringMapOutput { + return o.ApplyT(func(v RuleInputTransformer) map[string]string { return v.InputPathsMap }).(pulumi.StringMapOutput) } func (o RuleInputTransformerOutput) InputTemplate() pulumi.StringOutput { @@ -3404,13 +3404,13 @@ func (o RuleInputTransformerPtrOutput) Elem() RuleInputTransformerOutput { }).(RuleInputTransformerOutput) } -func (o RuleInputTransformerPtrOutput) InputPathsMap() pulumi.AnyOutput { - return o.ApplyT(func(v *RuleInputTransformer) interface{} { +func (o RuleInputTransformerPtrOutput) InputPathsMap() pulumi.StringMapOutput { + return o.ApplyT(func(v *RuleInputTransformer) map[string]string { if v == nil { return nil } return v.InputPathsMap - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o RuleInputTransformerPtrOutput) InputTemplate() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/fis/experimentTemplate.go b/sdk/go/aws/fis/experimentTemplate.go index 4c67c41a79..bcca46481d 100644 --- a/sdk/go/aws/fis/experimentTemplate.go +++ b/sdk/go/aws/fis/experimentTemplate.go @@ -22,7 +22,7 @@ type ExperimentTemplate struct { LogConfiguration ExperimentTemplateLogConfigurationPtrOutput `pulumi:"logConfiguration"` RoleArn pulumi.StringOutput `pulumi:"roleArn"` StopConditions ExperimentTemplateStopConditionArrayOutput `pulumi:"stopConditions"` - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` Targets ExperimentTemplateTargetMapOutput `pulumi:"targets"` } @@ -49,7 +49,7 @@ func NewExperimentTemplate(ctx *pulumi.Context, return nil, errors.New("invalid value for required argument 'Targets'") } replaceOnChanges := pulumi.ReplaceOnChanges([]string{ - "tags", + "tags.*", }) opts = append(opts, replaceOnChanges) opts = internal.PkgResourceDefaultOpts(opts) @@ -91,7 +91,7 @@ type experimentTemplateArgs struct { LogConfiguration *ExperimentTemplateLogConfiguration `pulumi:"logConfiguration"` RoleArn string `pulumi:"roleArn"` StopConditions []ExperimentTemplateStopCondition `pulumi:"stopConditions"` - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` Targets ExperimentTemplateTargetMap `pulumi:"targets"` } @@ -103,7 +103,7 @@ type ExperimentTemplateArgs struct { LogConfiguration ExperimentTemplateLogConfigurationPtrInput RoleArn pulumi.StringInput StopConditions ExperimentTemplateStopConditionArrayInput - Tags pulumi.Input + Tags pulumi.StringMapInput Targets ExperimentTemplateTargetMapInput } @@ -168,8 +168,8 @@ func (o ExperimentTemplateOutput) StopConditions() ExperimentTemplateStopConditi return o.ApplyT(func(v *ExperimentTemplate) ExperimentTemplateStopConditionArrayOutput { return v.StopConditions }).(ExperimentTemplateStopConditionArrayOutput) } -func (o ExperimentTemplateOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *ExperimentTemplate) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ExperimentTemplateOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *ExperimentTemplate) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func (o ExperimentTemplateOutput) Targets() ExperimentTemplateTargetMapOutput { diff --git a/sdk/go/aws/greengrassv2/deployment.go b/sdk/go/aws/greengrassv2/deployment.go index aa7a7d1167..563d6e16f5 100644 --- a/sdk/go/aws/greengrassv2/deployment.go +++ b/sdk/go/aws/greengrassv2/deployment.go @@ -16,14 +16,14 @@ import ( type Deployment struct { pulumi.CustomResourceState - Components pulumi.AnyOutput `pulumi:"components"` - DeploymentId pulumi.StringOutput `pulumi:"deploymentId"` - DeploymentName pulumi.StringPtrOutput `pulumi:"deploymentName"` - DeploymentPolicies DeploymentPoliciesPtrOutput `pulumi:"deploymentPolicies"` - IotJobConfiguration DeploymentIoTJobConfigurationPtrOutput `pulumi:"iotJobConfiguration"` - ParentTargetArn pulumi.StringPtrOutput `pulumi:"parentTargetArn"` - Tags pulumi.AnyOutput `pulumi:"tags"` - TargetArn pulumi.StringOutput `pulumi:"targetArn"` + Components DeploymentComponentDeploymentSpecificationMapOutput `pulumi:"components"` + DeploymentId pulumi.StringOutput `pulumi:"deploymentId"` + DeploymentName pulumi.StringPtrOutput `pulumi:"deploymentName"` + DeploymentPolicies DeploymentPoliciesPtrOutput `pulumi:"deploymentPolicies"` + IotJobConfiguration DeploymentIoTJobConfigurationPtrOutput `pulumi:"iotJobConfiguration"` + ParentTargetArn pulumi.StringPtrOutput `pulumi:"parentTargetArn"` + Tags pulumi.StringMapOutput `pulumi:"tags"` + TargetArn pulumi.StringOutput `pulumi:"targetArn"` } // NewDeployment registers a new resource with the given unique name, arguments, and options. @@ -37,7 +37,7 @@ func NewDeployment(ctx *pulumi.Context, return nil, errors.New("invalid value for required argument 'TargetArn'") } replaceOnChanges := pulumi.ReplaceOnChanges([]string{ - "components", + "components.*", "deploymentName", "deploymentPolicies", "iotJobConfiguration", @@ -78,23 +78,23 @@ func (DeploymentState) ElementType() reflect.Type { } type deploymentArgs struct { - Components interface{} `pulumi:"components"` - DeploymentName *string `pulumi:"deploymentName"` - DeploymentPolicies *DeploymentPolicies `pulumi:"deploymentPolicies"` - IotJobConfiguration *DeploymentIoTJobConfiguration `pulumi:"iotJobConfiguration"` - ParentTargetArn *string `pulumi:"parentTargetArn"` - Tags interface{} `pulumi:"tags"` - TargetArn string `pulumi:"targetArn"` + Components map[string]DeploymentComponentDeploymentSpecification `pulumi:"components"` + DeploymentName *string `pulumi:"deploymentName"` + DeploymentPolicies *DeploymentPolicies `pulumi:"deploymentPolicies"` + IotJobConfiguration *DeploymentIoTJobConfiguration `pulumi:"iotJobConfiguration"` + ParentTargetArn *string `pulumi:"parentTargetArn"` + Tags map[string]string `pulumi:"tags"` + TargetArn string `pulumi:"targetArn"` } // The set of arguments for constructing a Deployment resource. type DeploymentArgs struct { - Components pulumi.Input + Components DeploymentComponentDeploymentSpecificationMapInput DeploymentName pulumi.StringPtrInput DeploymentPolicies DeploymentPoliciesPtrInput IotJobConfiguration DeploymentIoTJobConfigurationPtrInput ParentTargetArn pulumi.StringPtrInput - Tags pulumi.Input + Tags pulumi.StringMapInput TargetArn pulumi.StringInput } @@ -135,8 +135,8 @@ func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) Dep return o } -func (o DeploymentOutput) Components() pulumi.AnyOutput { - return o.ApplyT(func(v *Deployment) pulumi.AnyOutput { return v.Components }).(pulumi.AnyOutput) +func (o DeploymentOutput) Components() DeploymentComponentDeploymentSpecificationMapOutput { + return o.ApplyT(func(v *Deployment) DeploymentComponentDeploymentSpecificationMapOutput { return v.Components }).(DeploymentComponentDeploymentSpecificationMapOutput) } func (o DeploymentOutput) DeploymentId() pulumi.StringOutput { @@ -159,8 +159,8 @@ func (o DeploymentOutput) ParentTargetArn() pulumi.StringPtrOutput { return o.ApplyT(func(v *Deployment) pulumi.StringPtrOutput { return v.ParentTargetArn }).(pulumi.StringPtrOutput) } -func (o DeploymentOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *Deployment) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o DeploymentOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Deployment) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func (o DeploymentOutput) TargetArn() pulumi.StringOutput { diff --git a/sdk/go/aws/greengrassv2/getDeployment.go b/sdk/go/aws/greengrassv2/getDeployment.go index 2ba5ca4c0e..b9a2b714e5 100644 --- a/sdk/go/aws/greengrassv2/getDeployment.go +++ b/sdk/go/aws/greengrassv2/getDeployment.go @@ -27,8 +27,8 @@ type LookupDeploymentArgs struct { } type LookupDeploymentResult struct { - DeploymentId *string `pulumi:"deploymentId"` - Tags interface{} `pulumi:"tags"` + DeploymentId *string `pulumi:"deploymentId"` + Tags map[string]string `pulumi:"tags"` } func LookupDeploymentOutput(ctx *pulumi.Context, args LookupDeploymentOutputArgs, opts ...pulumi.InvokeOption) LookupDeploymentResultOutput { @@ -70,8 +70,8 @@ func (o LookupDeploymentResultOutput) DeploymentId() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupDeploymentResult) *string { return v.DeploymentId }).(pulumi.StringPtrOutput) } -func (o LookupDeploymentResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupDeploymentResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupDeploymentResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDeploymentResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/greengrassv2/pulumiEnums.go b/sdk/go/aws/greengrassv2/pulumiEnums.go index 39c3b14c6a..b855fca72b 100644 --- a/sdk/go/aws/greengrassv2/pulumiEnums.go +++ b/sdk/go/aws/greengrassv2/pulumiEnums.go @@ -10,6 +10,171 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +type ComponentVersionComponentDependencyRequirementDependencyType string + +const ( + ComponentVersionComponentDependencyRequirementDependencyTypeSoft = ComponentVersionComponentDependencyRequirementDependencyType("SOFT") + ComponentVersionComponentDependencyRequirementDependencyTypeHard = ComponentVersionComponentDependencyRequirementDependencyType("HARD") +) + +func (ComponentVersionComponentDependencyRequirementDependencyType) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentVersionComponentDependencyRequirementDependencyType)(nil)).Elem() +} + +func (e ComponentVersionComponentDependencyRequirementDependencyType) ToComponentVersionComponentDependencyRequirementDependencyTypeOutput() ComponentVersionComponentDependencyRequirementDependencyTypeOutput { + return pulumi.ToOutput(e).(ComponentVersionComponentDependencyRequirementDependencyTypeOutput) +} + +func (e ComponentVersionComponentDependencyRequirementDependencyType) ToComponentVersionComponentDependencyRequirementDependencyTypeOutputWithContext(ctx context.Context) ComponentVersionComponentDependencyRequirementDependencyTypeOutput { + return pulumi.ToOutputWithContext(ctx, e).(ComponentVersionComponentDependencyRequirementDependencyTypeOutput) +} + +func (e ComponentVersionComponentDependencyRequirementDependencyType) ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutput() ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput { + return e.ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutputWithContext(context.Background()) +} + +func (e ComponentVersionComponentDependencyRequirementDependencyType) ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutputWithContext(ctx context.Context) ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput { + return ComponentVersionComponentDependencyRequirementDependencyType(e).ToComponentVersionComponentDependencyRequirementDependencyTypeOutputWithContext(ctx).ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutputWithContext(ctx) +} + +func (e ComponentVersionComponentDependencyRequirementDependencyType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ComponentVersionComponentDependencyRequirementDependencyType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ComponentVersionComponentDependencyRequirementDependencyType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e ComponentVersionComponentDependencyRequirementDependencyType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type ComponentVersionComponentDependencyRequirementDependencyTypeOutput struct{ *pulumi.OutputState } + +func (ComponentVersionComponentDependencyRequirementDependencyTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentVersionComponentDependencyRequirementDependencyType)(nil)).Elem() +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypeOutput) ToComponentVersionComponentDependencyRequirementDependencyTypeOutput() ComponentVersionComponentDependencyRequirementDependencyTypeOutput { + return o +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypeOutput) ToComponentVersionComponentDependencyRequirementDependencyTypeOutputWithContext(ctx context.Context) ComponentVersionComponentDependencyRequirementDependencyTypeOutput { + return o +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypeOutput) ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutput() ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput { + return o.ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutputWithContext(context.Background()) +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypeOutput) ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutputWithContext(ctx context.Context) ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComponentVersionComponentDependencyRequirementDependencyType) *ComponentVersionComponentDependencyRequirementDependencyType { + return &v + }).(ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput) +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypeOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ComponentVersionComponentDependencyRequirementDependencyType) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ComponentVersionComponentDependencyRequirementDependencyType) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput struct{ *pulumi.OutputState } + +func (ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentVersionComponentDependencyRequirementDependencyType)(nil)).Elem() +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput) ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutput() ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput { + return o +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput) ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutputWithContext(ctx context.Context) ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput { + return o +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput) Elem() ComponentVersionComponentDependencyRequirementDependencyTypeOutput { + return o.ApplyT(func(v *ComponentVersionComponentDependencyRequirementDependencyType) ComponentVersionComponentDependencyRequirementDependencyType { + if v != nil { + return *v + } + var ret ComponentVersionComponentDependencyRequirementDependencyType + return ret + }).(ComponentVersionComponentDependencyRequirementDependencyTypeOutput) +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *ComponentVersionComponentDependencyRequirementDependencyType) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// ComponentVersionComponentDependencyRequirementDependencyTypeInput is an input type that accepts values of the ComponentVersionComponentDependencyRequirementDependencyType enum +// A concrete instance of `ComponentVersionComponentDependencyRequirementDependencyTypeInput` can be one of the following: +// +// ComponentVersionComponentDependencyRequirementDependencyTypeSoft +// ComponentVersionComponentDependencyRequirementDependencyTypeHard +type ComponentVersionComponentDependencyRequirementDependencyTypeInput interface { + pulumi.Input + + ToComponentVersionComponentDependencyRequirementDependencyTypeOutput() ComponentVersionComponentDependencyRequirementDependencyTypeOutput + ToComponentVersionComponentDependencyRequirementDependencyTypeOutputWithContext(context.Context) ComponentVersionComponentDependencyRequirementDependencyTypeOutput +} + +var componentVersionComponentDependencyRequirementDependencyTypePtrType = reflect.TypeOf((**ComponentVersionComponentDependencyRequirementDependencyType)(nil)).Elem() + +type ComponentVersionComponentDependencyRequirementDependencyTypePtrInput interface { + pulumi.Input + + ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutput() ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput + ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutputWithContext(context.Context) ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput +} + +type componentVersionComponentDependencyRequirementDependencyTypePtr string + +func ComponentVersionComponentDependencyRequirementDependencyTypePtr(v string) ComponentVersionComponentDependencyRequirementDependencyTypePtrInput { + return (*componentVersionComponentDependencyRequirementDependencyTypePtr)(&v) +} + +func (*componentVersionComponentDependencyRequirementDependencyTypePtr) ElementType() reflect.Type { + return componentVersionComponentDependencyRequirementDependencyTypePtrType +} + +func (in *componentVersionComponentDependencyRequirementDependencyTypePtr) ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutput() ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput { + return pulumi.ToOutput(in).(ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput) +} + +func (in *componentVersionComponentDependencyRequirementDependencyTypePtr) ToComponentVersionComponentDependencyRequirementDependencyTypePtrOutputWithContext(ctx context.Context) ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput) +} + type ComponentVersionLambdaEventSourceType string const ( @@ -1333,6 +1498,8 @@ func (in *deploymentPoliciesFailureHandlingPolicyPtr) ToDeploymentPoliciesFailur } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionComponentDependencyRequirementDependencyTypeInput)(nil)).Elem(), ComponentVersionComponentDependencyRequirementDependencyType("SOFT")) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionComponentDependencyRequirementDependencyTypePtrInput)(nil)).Elem(), ComponentVersionComponentDependencyRequirementDependencyType("SOFT")) pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionLambdaEventSourceTypeInput)(nil)).Elem(), ComponentVersionLambdaEventSourceType("PUB_SUB")) pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionLambdaEventSourceTypePtrInput)(nil)).Elem(), ComponentVersionLambdaEventSourceType("PUB_SUB")) pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionLambdaExecutionParametersInputPayloadEncodingTypeInput)(nil)).Elem(), ComponentVersionLambdaExecutionParametersInputPayloadEncodingType("json")) @@ -1349,6 +1516,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DeploymentIoTJobAbortCriteriaFailureTypePtrInput)(nil)).Elem(), DeploymentIoTJobAbortCriteriaFailureType("FAILED")) pulumi.RegisterInputType(reflect.TypeOf((*DeploymentPoliciesFailureHandlingPolicyInput)(nil)).Elem(), DeploymentPoliciesFailureHandlingPolicy("ROLLBACK")) pulumi.RegisterInputType(reflect.TypeOf((*DeploymentPoliciesFailureHandlingPolicyPtrInput)(nil)).Elem(), DeploymentPoliciesFailureHandlingPolicy("ROLLBACK")) + pulumi.RegisterOutputType(ComponentVersionComponentDependencyRequirementDependencyTypeOutput{}) + pulumi.RegisterOutputType(ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput{}) pulumi.RegisterOutputType(ComponentVersionLambdaEventSourceTypeOutput{}) pulumi.RegisterOutputType(ComponentVersionLambdaEventSourceTypePtrOutput{}) pulumi.RegisterOutputType(ComponentVersionLambdaExecutionParametersInputPayloadEncodingTypeOutput{}) diff --git a/sdk/go/aws/greengrassv2/pulumiTypes.go b/sdk/go/aws/greengrassv2/pulumiTypes.go index 085ae77ccf..1bc086b708 100644 --- a/sdk/go/aws/greengrassv2/pulumiTypes.go +++ b/sdk/go/aws/greengrassv2/pulumiTypes.go @@ -13,9 +13,111 @@ import ( var _ = internal.GetEnvOrDefault +type ComponentVersionComponentDependencyRequirement struct { + DependencyType *ComponentVersionComponentDependencyRequirementDependencyType `pulumi:"dependencyType"` + VersionRequirement *string `pulumi:"versionRequirement"` +} + +// ComponentVersionComponentDependencyRequirementInput is an input type that accepts ComponentVersionComponentDependencyRequirementArgs and ComponentVersionComponentDependencyRequirementOutput values. +// You can construct a concrete instance of `ComponentVersionComponentDependencyRequirementInput` via: +// +// ComponentVersionComponentDependencyRequirementArgs{...} +type ComponentVersionComponentDependencyRequirementInput interface { + pulumi.Input + + ToComponentVersionComponentDependencyRequirementOutput() ComponentVersionComponentDependencyRequirementOutput + ToComponentVersionComponentDependencyRequirementOutputWithContext(context.Context) ComponentVersionComponentDependencyRequirementOutput +} + +type ComponentVersionComponentDependencyRequirementArgs struct { + DependencyType ComponentVersionComponentDependencyRequirementDependencyTypePtrInput `pulumi:"dependencyType"` + VersionRequirement pulumi.StringPtrInput `pulumi:"versionRequirement"` +} + +func (ComponentVersionComponentDependencyRequirementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentVersionComponentDependencyRequirement)(nil)).Elem() +} + +func (i ComponentVersionComponentDependencyRequirementArgs) ToComponentVersionComponentDependencyRequirementOutput() ComponentVersionComponentDependencyRequirementOutput { + return i.ToComponentVersionComponentDependencyRequirementOutputWithContext(context.Background()) +} + +func (i ComponentVersionComponentDependencyRequirementArgs) ToComponentVersionComponentDependencyRequirementOutputWithContext(ctx context.Context) ComponentVersionComponentDependencyRequirementOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentVersionComponentDependencyRequirementOutput) +} + +// ComponentVersionComponentDependencyRequirementMapInput is an input type that accepts ComponentVersionComponentDependencyRequirementMap and ComponentVersionComponentDependencyRequirementMapOutput values. +// You can construct a concrete instance of `ComponentVersionComponentDependencyRequirementMapInput` via: +// +// ComponentVersionComponentDependencyRequirementMap{ "key": ComponentVersionComponentDependencyRequirementArgs{...} } +type ComponentVersionComponentDependencyRequirementMapInput interface { + pulumi.Input + + ToComponentVersionComponentDependencyRequirementMapOutput() ComponentVersionComponentDependencyRequirementMapOutput + ToComponentVersionComponentDependencyRequirementMapOutputWithContext(context.Context) ComponentVersionComponentDependencyRequirementMapOutput +} + +type ComponentVersionComponentDependencyRequirementMap map[string]ComponentVersionComponentDependencyRequirementInput + +func (ComponentVersionComponentDependencyRequirementMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentVersionComponentDependencyRequirement)(nil)).Elem() +} + +func (i ComponentVersionComponentDependencyRequirementMap) ToComponentVersionComponentDependencyRequirementMapOutput() ComponentVersionComponentDependencyRequirementMapOutput { + return i.ToComponentVersionComponentDependencyRequirementMapOutputWithContext(context.Background()) +} + +func (i ComponentVersionComponentDependencyRequirementMap) ToComponentVersionComponentDependencyRequirementMapOutputWithContext(ctx context.Context) ComponentVersionComponentDependencyRequirementMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentVersionComponentDependencyRequirementMapOutput) +} + +type ComponentVersionComponentDependencyRequirementOutput struct{ *pulumi.OutputState } + +func (ComponentVersionComponentDependencyRequirementOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentVersionComponentDependencyRequirement)(nil)).Elem() +} + +func (o ComponentVersionComponentDependencyRequirementOutput) ToComponentVersionComponentDependencyRequirementOutput() ComponentVersionComponentDependencyRequirementOutput { + return o +} + +func (o ComponentVersionComponentDependencyRequirementOutput) ToComponentVersionComponentDependencyRequirementOutputWithContext(ctx context.Context) ComponentVersionComponentDependencyRequirementOutput { + return o +} + +func (o ComponentVersionComponentDependencyRequirementOutput) DependencyType() ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput { + return o.ApplyT(func(v ComponentVersionComponentDependencyRequirement) *ComponentVersionComponentDependencyRequirementDependencyType { + return v.DependencyType + }).(ComponentVersionComponentDependencyRequirementDependencyTypePtrOutput) +} + +func (o ComponentVersionComponentDependencyRequirementOutput) VersionRequirement() pulumi.StringPtrOutput { + return o.ApplyT(func(v ComponentVersionComponentDependencyRequirement) *string { return v.VersionRequirement }).(pulumi.StringPtrOutput) +} + +type ComponentVersionComponentDependencyRequirementMapOutput struct{ *pulumi.OutputState } + +func (ComponentVersionComponentDependencyRequirementMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentVersionComponentDependencyRequirement)(nil)).Elem() +} + +func (o ComponentVersionComponentDependencyRequirementMapOutput) ToComponentVersionComponentDependencyRequirementMapOutput() ComponentVersionComponentDependencyRequirementMapOutput { + return o +} + +func (o ComponentVersionComponentDependencyRequirementMapOutput) ToComponentVersionComponentDependencyRequirementMapOutputWithContext(ctx context.Context) ComponentVersionComponentDependencyRequirementMapOutput { + return o +} + +func (o ComponentVersionComponentDependencyRequirementMapOutput) MapIndex(k pulumi.StringInput) ComponentVersionComponentDependencyRequirementOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) ComponentVersionComponentDependencyRequirement { + return vs[0].(map[string]ComponentVersionComponentDependencyRequirement)[vs[1].(string)] + }).(ComponentVersionComponentDependencyRequirementOutput) +} + type ComponentVersionComponentPlatform struct { - Attributes interface{} `pulumi:"attributes"` - Name *string `pulumi:"name"` + Attributes map[string]string `pulumi:"attributes"` + Name *string `pulumi:"name"` } // ComponentVersionComponentPlatformInput is an input type that accepts ComponentVersionComponentPlatformArgs and ComponentVersionComponentPlatformOutput values. @@ -30,7 +132,7 @@ type ComponentVersionComponentPlatformInput interface { } type ComponentVersionComponentPlatformArgs struct { - Attributes pulumi.Input `pulumi:"attributes"` + Attributes pulumi.StringMapInput `pulumi:"attributes"` Name pulumi.StringPtrInput `pulumi:"name"` } @@ -85,8 +187,8 @@ func (o ComponentVersionComponentPlatformOutput) ToComponentVersionComponentPlat return o } -func (o ComponentVersionComponentPlatformOutput) Attributes() pulumi.AnyOutput { - return o.ApplyT(func(v ComponentVersionComponentPlatform) interface{} { return v.Attributes }).(pulumi.AnyOutput) +func (o ComponentVersionComponentPlatformOutput) Attributes() pulumi.StringMapOutput { + return o.ApplyT(func(v ComponentVersionComponentPlatform) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) } func (o ComponentVersionComponentPlatformOutput) Name() pulumi.StringPtrOutput { @@ -500,7 +602,7 @@ func (o ComponentVersionLambdaEventSourceArrayOutput) Index(i pulumi.IntInput) C } type ComponentVersionLambdaExecutionParameters struct { - EnvironmentVariables interface{} `pulumi:"environmentVariables"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` EventSources []ComponentVersionLambdaEventSource `pulumi:"eventSources"` ExecArgs []string `pulumi:"execArgs"` InputPayloadEncodingType *ComponentVersionLambdaExecutionParametersInputPayloadEncodingType `pulumi:"inputPayloadEncodingType"` @@ -525,7 +627,7 @@ type ComponentVersionLambdaExecutionParametersInput interface { } type ComponentVersionLambdaExecutionParametersArgs struct { - EnvironmentVariables pulumi.Input `pulumi:"environmentVariables"` + EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` EventSources ComponentVersionLambdaEventSourceArrayInput `pulumi:"eventSources"` ExecArgs pulumi.StringArrayInput `pulumi:"execArgs"` InputPayloadEncodingType ComponentVersionLambdaExecutionParametersInputPayloadEncodingTypePtrInput `pulumi:"inputPayloadEncodingType"` @@ -615,8 +717,8 @@ func (o ComponentVersionLambdaExecutionParametersOutput) ToComponentVersionLambd }).(ComponentVersionLambdaExecutionParametersPtrOutput) } -func (o ComponentVersionLambdaExecutionParametersOutput) EnvironmentVariables() pulumi.AnyOutput { - return o.ApplyT(func(v ComponentVersionLambdaExecutionParameters) interface{} { return v.EnvironmentVariables }).(pulumi.AnyOutput) +func (o ComponentVersionLambdaExecutionParametersOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v ComponentVersionLambdaExecutionParameters) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) } func (o ComponentVersionLambdaExecutionParametersOutput) EventSources() ComponentVersionLambdaEventSourceArrayOutput { @@ -689,13 +791,13 @@ func (o ComponentVersionLambdaExecutionParametersPtrOutput) Elem() ComponentVers }).(ComponentVersionLambdaExecutionParametersOutput) } -func (o ComponentVersionLambdaExecutionParametersPtrOutput) EnvironmentVariables() pulumi.AnyOutput { - return o.ApplyT(func(v *ComponentVersionLambdaExecutionParameters) interface{} { +func (o ComponentVersionLambdaExecutionParametersPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *ComponentVersionLambdaExecutionParameters) map[string]string { if v == nil { return nil } return v.EnvironmentVariables - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o ComponentVersionLambdaExecutionParametersPtrOutput) EventSources() ComponentVersionLambdaEventSourceArrayOutput { @@ -789,12 +891,12 @@ func (o ComponentVersionLambdaExecutionParametersPtrOutput) TimeoutInSeconds() p } type ComponentVersionLambdaFunctionRecipeSource struct { - ComponentDependencies interface{} `pulumi:"componentDependencies"` - ComponentLambdaParameters *ComponentVersionLambdaExecutionParameters `pulumi:"componentLambdaParameters"` - ComponentName *string `pulumi:"componentName"` - ComponentPlatforms []ComponentVersionComponentPlatform `pulumi:"componentPlatforms"` - ComponentVersion *string `pulumi:"componentVersion"` - LambdaArn *string `pulumi:"lambdaArn"` + ComponentDependencies map[string]ComponentVersionComponentDependencyRequirement `pulumi:"componentDependencies"` + ComponentLambdaParameters *ComponentVersionLambdaExecutionParameters `pulumi:"componentLambdaParameters"` + ComponentName *string `pulumi:"componentName"` + ComponentPlatforms []ComponentVersionComponentPlatform `pulumi:"componentPlatforms"` + ComponentVersion *string `pulumi:"componentVersion"` + LambdaArn *string `pulumi:"lambdaArn"` } // ComponentVersionLambdaFunctionRecipeSourceInput is an input type that accepts ComponentVersionLambdaFunctionRecipeSourceArgs and ComponentVersionLambdaFunctionRecipeSourceOutput values. @@ -809,12 +911,12 @@ type ComponentVersionLambdaFunctionRecipeSourceInput interface { } type ComponentVersionLambdaFunctionRecipeSourceArgs struct { - ComponentDependencies pulumi.Input `pulumi:"componentDependencies"` - ComponentLambdaParameters ComponentVersionLambdaExecutionParametersPtrInput `pulumi:"componentLambdaParameters"` - ComponentName pulumi.StringPtrInput `pulumi:"componentName"` - ComponentPlatforms ComponentVersionComponentPlatformArrayInput `pulumi:"componentPlatforms"` - ComponentVersion pulumi.StringPtrInput `pulumi:"componentVersion"` - LambdaArn pulumi.StringPtrInput `pulumi:"lambdaArn"` + ComponentDependencies ComponentVersionComponentDependencyRequirementMapInput `pulumi:"componentDependencies"` + ComponentLambdaParameters ComponentVersionLambdaExecutionParametersPtrInput `pulumi:"componentLambdaParameters"` + ComponentName pulumi.StringPtrInput `pulumi:"componentName"` + ComponentPlatforms ComponentVersionComponentPlatformArrayInput `pulumi:"componentPlatforms"` + ComponentVersion pulumi.StringPtrInput `pulumi:"componentVersion"` + LambdaArn pulumi.StringPtrInput `pulumi:"lambdaArn"` } func (ComponentVersionLambdaFunctionRecipeSourceArgs) ElementType() reflect.Type { @@ -894,8 +996,10 @@ func (o ComponentVersionLambdaFunctionRecipeSourceOutput) ToComponentVersionLamb }).(ComponentVersionLambdaFunctionRecipeSourcePtrOutput) } -func (o ComponentVersionLambdaFunctionRecipeSourceOutput) ComponentDependencies() pulumi.AnyOutput { - return o.ApplyT(func(v ComponentVersionLambdaFunctionRecipeSource) interface{} { return v.ComponentDependencies }).(pulumi.AnyOutput) +func (o ComponentVersionLambdaFunctionRecipeSourceOutput) ComponentDependencies() ComponentVersionComponentDependencyRequirementMapOutput { + return o.ApplyT(func(v ComponentVersionLambdaFunctionRecipeSource) map[string]ComponentVersionComponentDependencyRequirement { + return v.ComponentDependencies + }).(ComponentVersionComponentDependencyRequirementMapOutput) } func (o ComponentVersionLambdaFunctionRecipeSourceOutput) ComponentLambdaParameters() ComponentVersionLambdaExecutionParametersPtrOutput { @@ -946,13 +1050,13 @@ func (o ComponentVersionLambdaFunctionRecipeSourcePtrOutput) Elem() ComponentVer }).(ComponentVersionLambdaFunctionRecipeSourceOutput) } -func (o ComponentVersionLambdaFunctionRecipeSourcePtrOutput) ComponentDependencies() pulumi.AnyOutput { - return o.ApplyT(func(v *ComponentVersionLambdaFunctionRecipeSource) interface{} { +func (o ComponentVersionLambdaFunctionRecipeSourcePtrOutput) ComponentDependencies() ComponentVersionComponentDependencyRequirementMapOutput { + return o.ApplyT(func(v *ComponentVersionLambdaFunctionRecipeSource) map[string]ComponentVersionComponentDependencyRequirement { if v == nil { return nil } return v.ComponentDependencies - }).(pulumi.AnyOutput) + }).(ComponentVersionComponentDependencyRequirementMapOutput) } func (o ComponentVersionLambdaFunctionRecipeSourcePtrOutput) ComponentLambdaParameters() ComponentVersionLambdaExecutionParametersPtrOutput { @@ -1266,6 +1370,425 @@ func (o ComponentVersionLambdaVolumeMountArrayOutput) Index(i pulumi.IntInput) C }).(ComponentVersionLambdaVolumeMountOutput) } +type DeploymentComponentConfigurationUpdate struct { + Merge *string `pulumi:"merge"` + Reset []string `pulumi:"reset"` +} + +// DeploymentComponentConfigurationUpdateInput is an input type that accepts DeploymentComponentConfigurationUpdateArgs and DeploymentComponentConfigurationUpdateOutput values. +// You can construct a concrete instance of `DeploymentComponentConfigurationUpdateInput` via: +// +// DeploymentComponentConfigurationUpdateArgs{...} +type DeploymentComponentConfigurationUpdateInput interface { + pulumi.Input + + ToDeploymentComponentConfigurationUpdateOutput() DeploymentComponentConfigurationUpdateOutput + ToDeploymentComponentConfigurationUpdateOutputWithContext(context.Context) DeploymentComponentConfigurationUpdateOutput +} + +type DeploymentComponentConfigurationUpdateArgs struct { + Merge pulumi.StringPtrInput `pulumi:"merge"` + Reset pulumi.StringArrayInput `pulumi:"reset"` +} + +func (DeploymentComponentConfigurationUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentComponentConfigurationUpdate)(nil)).Elem() +} + +func (i DeploymentComponentConfigurationUpdateArgs) ToDeploymentComponentConfigurationUpdateOutput() DeploymentComponentConfigurationUpdateOutput { + return i.ToDeploymentComponentConfigurationUpdateOutputWithContext(context.Background()) +} + +func (i DeploymentComponentConfigurationUpdateArgs) ToDeploymentComponentConfigurationUpdateOutputWithContext(ctx context.Context) DeploymentComponentConfigurationUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentComponentConfigurationUpdateOutput) +} + +func (i DeploymentComponentConfigurationUpdateArgs) ToDeploymentComponentConfigurationUpdatePtrOutput() DeploymentComponentConfigurationUpdatePtrOutput { + return i.ToDeploymentComponentConfigurationUpdatePtrOutputWithContext(context.Background()) +} + +func (i DeploymentComponentConfigurationUpdateArgs) ToDeploymentComponentConfigurationUpdatePtrOutputWithContext(ctx context.Context) DeploymentComponentConfigurationUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentComponentConfigurationUpdateOutput).ToDeploymentComponentConfigurationUpdatePtrOutputWithContext(ctx) +} + +// DeploymentComponentConfigurationUpdatePtrInput is an input type that accepts DeploymentComponentConfigurationUpdateArgs, DeploymentComponentConfigurationUpdatePtr and DeploymentComponentConfigurationUpdatePtrOutput values. +// You can construct a concrete instance of `DeploymentComponentConfigurationUpdatePtrInput` via: +// +// DeploymentComponentConfigurationUpdateArgs{...} +// +// or: +// +// nil +type DeploymentComponentConfigurationUpdatePtrInput interface { + pulumi.Input + + ToDeploymentComponentConfigurationUpdatePtrOutput() DeploymentComponentConfigurationUpdatePtrOutput + ToDeploymentComponentConfigurationUpdatePtrOutputWithContext(context.Context) DeploymentComponentConfigurationUpdatePtrOutput +} + +type deploymentComponentConfigurationUpdatePtrType DeploymentComponentConfigurationUpdateArgs + +func DeploymentComponentConfigurationUpdatePtr(v *DeploymentComponentConfigurationUpdateArgs) DeploymentComponentConfigurationUpdatePtrInput { + return (*deploymentComponentConfigurationUpdatePtrType)(v) +} + +func (*deploymentComponentConfigurationUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentComponentConfigurationUpdate)(nil)).Elem() +} + +func (i *deploymentComponentConfigurationUpdatePtrType) ToDeploymentComponentConfigurationUpdatePtrOutput() DeploymentComponentConfigurationUpdatePtrOutput { + return i.ToDeploymentComponentConfigurationUpdatePtrOutputWithContext(context.Background()) +} + +func (i *deploymentComponentConfigurationUpdatePtrType) ToDeploymentComponentConfigurationUpdatePtrOutputWithContext(ctx context.Context) DeploymentComponentConfigurationUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentComponentConfigurationUpdatePtrOutput) +} + +type DeploymentComponentConfigurationUpdateOutput struct{ *pulumi.OutputState } + +func (DeploymentComponentConfigurationUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentComponentConfigurationUpdate)(nil)).Elem() +} + +func (o DeploymentComponentConfigurationUpdateOutput) ToDeploymentComponentConfigurationUpdateOutput() DeploymentComponentConfigurationUpdateOutput { + return o +} + +func (o DeploymentComponentConfigurationUpdateOutput) ToDeploymentComponentConfigurationUpdateOutputWithContext(ctx context.Context) DeploymentComponentConfigurationUpdateOutput { + return o +} + +func (o DeploymentComponentConfigurationUpdateOutput) ToDeploymentComponentConfigurationUpdatePtrOutput() DeploymentComponentConfigurationUpdatePtrOutput { + return o.ToDeploymentComponentConfigurationUpdatePtrOutputWithContext(context.Background()) +} + +func (o DeploymentComponentConfigurationUpdateOutput) ToDeploymentComponentConfigurationUpdatePtrOutputWithContext(ctx context.Context) DeploymentComponentConfigurationUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentComponentConfigurationUpdate) *DeploymentComponentConfigurationUpdate { + return &v + }).(DeploymentComponentConfigurationUpdatePtrOutput) +} + +func (o DeploymentComponentConfigurationUpdateOutput) Merge() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentComponentConfigurationUpdate) *string { return v.Merge }).(pulumi.StringPtrOutput) +} + +func (o DeploymentComponentConfigurationUpdateOutput) Reset() pulumi.StringArrayOutput { + return o.ApplyT(func(v DeploymentComponentConfigurationUpdate) []string { return v.Reset }).(pulumi.StringArrayOutput) +} + +type DeploymentComponentConfigurationUpdatePtrOutput struct{ *pulumi.OutputState } + +func (DeploymentComponentConfigurationUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentComponentConfigurationUpdate)(nil)).Elem() +} + +func (o DeploymentComponentConfigurationUpdatePtrOutput) ToDeploymentComponentConfigurationUpdatePtrOutput() DeploymentComponentConfigurationUpdatePtrOutput { + return o +} + +func (o DeploymentComponentConfigurationUpdatePtrOutput) ToDeploymentComponentConfigurationUpdatePtrOutputWithContext(ctx context.Context) DeploymentComponentConfigurationUpdatePtrOutput { + return o +} + +func (o DeploymentComponentConfigurationUpdatePtrOutput) Elem() DeploymentComponentConfigurationUpdateOutput { + return o.ApplyT(func(v *DeploymentComponentConfigurationUpdate) DeploymentComponentConfigurationUpdate { + if v != nil { + return *v + } + var ret DeploymentComponentConfigurationUpdate + return ret + }).(DeploymentComponentConfigurationUpdateOutput) +} + +func (o DeploymentComponentConfigurationUpdatePtrOutput) Merge() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentComponentConfigurationUpdate) *string { + if v == nil { + return nil + } + return v.Merge + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentComponentConfigurationUpdatePtrOutput) Reset() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DeploymentComponentConfigurationUpdate) []string { + if v == nil { + return nil + } + return v.Reset + }).(pulumi.StringArrayOutput) +} + +type DeploymentComponentDeploymentSpecification struct { + ComponentVersion *string `pulumi:"componentVersion"` + ConfigurationUpdate *DeploymentComponentConfigurationUpdate `pulumi:"configurationUpdate"` + RunWith *DeploymentComponentRunWith `pulumi:"runWith"` +} + +// DeploymentComponentDeploymentSpecificationInput is an input type that accepts DeploymentComponentDeploymentSpecificationArgs and DeploymentComponentDeploymentSpecificationOutput values. +// You can construct a concrete instance of `DeploymentComponentDeploymentSpecificationInput` via: +// +// DeploymentComponentDeploymentSpecificationArgs{...} +type DeploymentComponentDeploymentSpecificationInput interface { + pulumi.Input + + ToDeploymentComponentDeploymentSpecificationOutput() DeploymentComponentDeploymentSpecificationOutput + ToDeploymentComponentDeploymentSpecificationOutputWithContext(context.Context) DeploymentComponentDeploymentSpecificationOutput +} + +type DeploymentComponentDeploymentSpecificationArgs struct { + ComponentVersion pulumi.StringPtrInput `pulumi:"componentVersion"` + ConfigurationUpdate DeploymentComponentConfigurationUpdatePtrInput `pulumi:"configurationUpdate"` + RunWith DeploymentComponentRunWithPtrInput `pulumi:"runWith"` +} + +func (DeploymentComponentDeploymentSpecificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentComponentDeploymentSpecification)(nil)).Elem() +} + +func (i DeploymentComponentDeploymentSpecificationArgs) ToDeploymentComponentDeploymentSpecificationOutput() DeploymentComponentDeploymentSpecificationOutput { + return i.ToDeploymentComponentDeploymentSpecificationOutputWithContext(context.Background()) +} + +func (i DeploymentComponentDeploymentSpecificationArgs) ToDeploymentComponentDeploymentSpecificationOutputWithContext(ctx context.Context) DeploymentComponentDeploymentSpecificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentComponentDeploymentSpecificationOutput) +} + +// DeploymentComponentDeploymentSpecificationMapInput is an input type that accepts DeploymentComponentDeploymentSpecificationMap and DeploymentComponentDeploymentSpecificationMapOutput values. +// You can construct a concrete instance of `DeploymentComponentDeploymentSpecificationMapInput` via: +// +// DeploymentComponentDeploymentSpecificationMap{ "key": DeploymentComponentDeploymentSpecificationArgs{...} } +type DeploymentComponentDeploymentSpecificationMapInput interface { + pulumi.Input + + ToDeploymentComponentDeploymentSpecificationMapOutput() DeploymentComponentDeploymentSpecificationMapOutput + ToDeploymentComponentDeploymentSpecificationMapOutputWithContext(context.Context) DeploymentComponentDeploymentSpecificationMapOutput +} + +type DeploymentComponentDeploymentSpecificationMap map[string]DeploymentComponentDeploymentSpecificationInput + +func (DeploymentComponentDeploymentSpecificationMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]DeploymentComponentDeploymentSpecification)(nil)).Elem() +} + +func (i DeploymentComponentDeploymentSpecificationMap) ToDeploymentComponentDeploymentSpecificationMapOutput() DeploymentComponentDeploymentSpecificationMapOutput { + return i.ToDeploymentComponentDeploymentSpecificationMapOutputWithContext(context.Background()) +} + +func (i DeploymentComponentDeploymentSpecificationMap) ToDeploymentComponentDeploymentSpecificationMapOutputWithContext(ctx context.Context) DeploymentComponentDeploymentSpecificationMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentComponentDeploymentSpecificationMapOutput) +} + +type DeploymentComponentDeploymentSpecificationOutput struct{ *pulumi.OutputState } + +func (DeploymentComponentDeploymentSpecificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentComponentDeploymentSpecification)(nil)).Elem() +} + +func (o DeploymentComponentDeploymentSpecificationOutput) ToDeploymentComponentDeploymentSpecificationOutput() DeploymentComponentDeploymentSpecificationOutput { + return o +} + +func (o DeploymentComponentDeploymentSpecificationOutput) ToDeploymentComponentDeploymentSpecificationOutputWithContext(ctx context.Context) DeploymentComponentDeploymentSpecificationOutput { + return o +} + +func (o DeploymentComponentDeploymentSpecificationOutput) ComponentVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentComponentDeploymentSpecification) *string { return v.ComponentVersion }).(pulumi.StringPtrOutput) +} + +func (o DeploymentComponentDeploymentSpecificationOutput) ConfigurationUpdate() DeploymentComponentConfigurationUpdatePtrOutput { + return o.ApplyT(func(v DeploymentComponentDeploymentSpecification) *DeploymentComponentConfigurationUpdate { + return v.ConfigurationUpdate + }).(DeploymentComponentConfigurationUpdatePtrOutput) +} + +func (o DeploymentComponentDeploymentSpecificationOutput) RunWith() DeploymentComponentRunWithPtrOutput { + return o.ApplyT(func(v DeploymentComponentDeploymentSpecification) *DeploymentComponentRunWith { return v.RunWith }).(DeploymentComponentRunWithPtrOutput) +} + +type DeploymentComponentDeploymentSpecificationMapOutput struct{ *pulumi.OutputState } + +func (DeploymentComponentDeploymentSpecificationMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]DeploymentComponentDeploymentSpecification)(nil)).Elem() +} + +func (o DeploymentComponentDeploymentSpecificationMapOutput) ToDeploymentComponentDeploymentSpecificationMapOutput() DeploymentComponentDeploymentSpecificationMapOutput { + return o +} + +func (o DeploymentComponentDeploymentSpecificationMapOutput) ToDeploymentComponentDeploymentSpecificationMapOutputWithContext(ctx context.Context) DeploymentComponentDeploymentSpecificationMapOutput { + return o +} + +func (o DeploymentComponentDeploymentSpecificationMapOutput) MapIndex(k pulumi.StringInput) DeploymentComponentDeploymentSpecificationOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) DeploymentComponentDeploymentSpecification { + return vs[0].(map[string]DeploymentComponentDeploymentSpecification)[vs[1].(string)] + }).(DeploymentComponentDeploymentSpecificationOutput) +} + +type DeploymentComponentRunWith struct { + PosixUser *string `pulumi:"posixUser"` + SystemResourceLimits *DeploymentSystemResourceLimits `pulumi:"systemResourceLimits"` + WindowsUser *string `pulumi:"windowsUser"` +} + +// DeploymentComponentRunWithInput is an input type that accepts DeploymentComponentRunWithArgs and DeploymentComponentRunWithOutput values. +// You can construct a concrete instance of `DeploymentComponentRunWithInput` via: +// +// DeploymentComponentRunWithArgs{...} +type DeploymentComponentRunWithInput interface { + pulumi.Input + + ToDeploymentComponentRunWithOutput() DeploymentComponentRunWithOutput + ToDeploymentComponentRunWithOutputWithContext(context.Context) DeploymentComponentRunWithOutput +} + +type DeploymentComponentRunWithArgs struct { + PosixUser pulumi.StringPtrInput `pulumi:"posixUser"` + SystemResourceLimits DeploymentSystemResourceLimitsPtrInput `pulumi:"systemResourceLimits"` + WindowsUser pulumi.StringPtrInput `pulumi:"windowsUser"` +} + +func (DeploymentComponentRunWithArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentComponentRunWith)(nil)).Elem() +} + +func (i DeploymentComponentRunWithArgs) ToDeploymentComponentRunWithOutput() DeploymentComponentRunWithOutput { + return i.ToDeploymentComponentRunWithOutputWithContext(context.Background()) +} + +func (i DeploymentComponentRunWithArgs) ToDeploymentComponentRunWithOutputWithContext(ctx context.Context) DeploymentComponentRunWithOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentComponentRunWithOutput) +} + +func (i DeploymentComponentRunWithArgs) ToDeploymentComponentRunWithPtrOutput() DeploymentComponentRunWithPtrOutput { + return i.ToDeploymentComponentRunWithPtrOutputWithContext(context.Background()) +} + +func (i DeploymentComponentRunWithArgs) ToDeploymentComponentRunWithPtrOutputWithContext(ctx context.Context) DeploymentComponentRunWithPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentComponentRunWithOutput).ToDeploymentComponentRunWithPtrOutputWithContext(ctx) +} + +// DeploymentComponentRunWithPtrInput is an input type that accepts DeploymentComponentRunWithArgs, DeploymentComponentRunWithPtr and DeploymentComponentRunWithPtrOutput values. +// You can construct a concrete instance of `DeploymentComponentRunWithPtrInput` via: +// +// DeploymentComponentRunWithArgs{...} +// +// or: +// +// nil +type DeploymentComponentRunWithPtrInput interface { + pulumi.Input + + ToDeploymentComponentRunWithPtrOutput() DeploymentComponentRunWithPtrOutput + ToDeploymentComponentRunWithPtrOutputWithContext(context.Context) DeploymentComponentRunWithPtrOutput +} + +type deploymentComponentRunWithPtrType DeploymentComponentRunWithArgs + +func DeploymentComponentRunWithPtr(v *DeploymentComponentRunWithArgs) DeploymentComponentRunWithPtrInput { + return (*deploymentComponentRunWithPtrType)(v) +} + +func (*deploymentComponentRunWithPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentComponentRunWith)(nil)).Elem() +} + +func (i *deploymentComponentRunWithPtrType) ToDeploymentComponentRunWithPtrOutput() DeploymentComponentRunWithPtrOutput { + return i.ToDeploymentComponentRunWithPtrOutputWithContext(context.Background()) +} + +func (i *deploymentComponentRunWithPtrType) ToDeploymentComponentRunWithPtrOutputWithContext(ctx context.Context) DeploymentComponentRunWithPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentComponentRunWithPtrOutput) +} + +type DeploymentComponentRunWithOutput struct{ *pulumi.OutputState } + +func (DeploymentComponentRunWithOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentComponentRunWith)(nil)).Elem() +} + +func (o DeploymentComponentRunWithOutput) ToDeploymentComponentRunWithOutput() DeploymentComponentRunWithOutput { + return o +} + +func (o DeploymentComponentRunWithOutput) ToDeploymentComponentRunWithOutputWithContext(ctx context.Context) DeploymentComponentRunWithOutput { + return o +} + +func (o DeploymentComponentRunWithOutput) ToDeploymentComponentRunWithPtrOutput() DeploymentComponentRunWithPtrOutput { + return o.ToDeploymentComponentRunWithPtrOutputWithContext(context.Background()) +} + +func (o DeploymentComponentRunWithOutput) ToDeploymentComponentRunWithPtrOutputWithContext(ctx context.Context) DeploymentComponentRunWithPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentComponentRunWith) *DeploymentComponentRunWith { + return &v + }).(DeploymentComponentRunWithPtrOutput) +} + +func (o DeploymentComponentRunWithOutput) PosixUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentComponentRunWith) *string { return v.PosixUser }).(pulumi.StringPtrOutput) +} + +func (o DeploymentComponentRunWithOutput) SystemResourceLimits() DeploymentSystemResourceLimitsPtrOutput { + return o.ApplyT(func(v DeploymentComponentRunWith) *DeploymentSystemResourceLimits { return v.SystemResourceLimits }).(DeploymentSystemResourceLimitsPtrOutput) +} + +func (o DeploymentComponentRunWithOutput) WindowsUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentComponentRunWith) *string { return v.WindowsUser }).(pulumi.StringPtrOutput) +} + +type DeploymentComponentRunWithPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentComponentRunWithPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentComponentRunWith)(nil)).Elem() +} + +func (o DeploymentComponentRunWithPtrOutput) ToDeploymentComponentRunWithPtrOutput() DeploymentComponentRunWithPtrOutput { + return o +} + +func (o DeploymentComponentRunWithPtrOutput) ToDeploymentComponentRunWithPtrOutputWithContext(ctx context.Context) DeploymentComponentRunWithPtrOutput { + return o +} + +func (o DeploymentComponentRunWithPtrOutput) Elem() DeploymentComponentRunWithOutput { + return o.ApplyT(func(v *DeploymentComponentRunWith) DeploymentComponentRunWith { + if v != nil { + return *v + } + var ret DeploymentComponentRunWith + return ret + }).(DeploymentComponentRunWithOutput) +} + +func (o DeploymentComponentRunWithPtrOutput) PosixUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentComponentRunWith) *string { + if v == nil { + return nil + } + return v.PosixUser + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentComponentRunWithPtrOutput) SystemResourceLimits() DeploymentSystemResourceLimitsPtrOutput { + return o.ApplyT(func(v *DeploymentComponentRunWith) *DeploymentSystemResourceLimits { + if v == nil { + return nil + } + return v.SystemResourceLimits + }).(DeploymentSystemResourceLimitsPtrOutput) +} + +func (o DeploymentComponentRunWithPtrOutput) WindowsUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentComponentRunWith) *string { + if v == nil { + return nil + } + return v.WindowsUser + }).(pulumi.StringPtrOutput) +} + type DeploymentComponentUpdatePolicy struct { Action *DeploymentComponentUpdatePolicyAction `pulumi:"action"` TimeoutInSeconds *int `pulumi:"timeoutInSeconds"` @@ -2688,7 +3211,157 @@ func (o DeploymentPoliciesPtrOutput) FailureHandlingPolicy() DeploymentPoliciesF }).(DeploymentPoliciesFailureHandlingPolicyPtrOutput) } +type DeploymentSystemResourceLimits struct { + Cpus *float64 `pulumi:"cpus"` + Memory *int `pulumi:"memory"` +} + +// DeploymentSystemResourceLimitsInput is an input type that accepts DeploymentSystemResourceLimitsArgs and DeploymentSystemResourceLimitsOutput values. +// You can construct a concrete instance of `DeploymentSystemResourceLimitsInput` via: +// +// DeploymentSystemResourceLimitsArgs{...} +type DeploymentSystemResourceLimitsInput interface { + pulumi.Input + + ToDeploymentSystemResourceLimitsOutput() DeploymentSystemResourceLimitsOutput + ToDeploymentSystemResourceLimitsOutputWithContext(context.Context) DeploymentSystemResourceLimitsOutput +} + +type DeploymentSystemResourceLimitsArgs struct { + Cpus pulumi.Float64PtrInput `pulumi:"cpus"` + Memory pulumi.IntPtrInput `pulumi:"memory"` +} + +func (DeploymentSystemResourceLimitsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSystemResourceLimits)(nil)).Elem() +} + +func (i DeploymentSystemResourceLimitsArgs) ToDeploymentSystemResourceLimitsOutput() DeploymentSystemResourceLimitsOutput { + return i.ToDeploymentSystemResourceLimitsOutputWithContext(context.Background()) +} + +func (i DeploymentSystemResourceLimitsArgs) ToDeploymentSystemResourceLimitsOutputWithContext(ctx context.Context) DeploymentSystemResourceLimitsOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSystemResourceLimitsOutput) +} + +func (i DeploymentSystemResourceLimitsArgs) ToDeploymentSystemResourceLimitsPtrOutput() DeploymentSystemResourceLimitsPtrOutput { + return i.ToDeploymentSystemResourceLimitsPtrOutputWithContext(context.Background()) +} + +func (i DeploymentSystemResourceLimitsArgs) ToDeploymentSystemResourceLimitsPtrOutputWithContext(ctx context.Context) DeploymentSystemResourceLimitsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSystemResourceLimitsOutput).ToDeploymentSystemResourceLimitsPtrOutputWithContext(ctx) +} + +// DeploymentSystemResourceLimitsPtrInput is an input type that accepts DeploymentSystemResourceLimitsArgs, DeploymentSystemResourceLimitsPtr and DeploymentSystemResourceLimitsPtrOutput values. +// You can construct a concrete instance of `DeploymentSystemResourceLimitsPtrInput` via: +// +// DeploymentSystemResourceLimitsArgs{...} +// +// or: +// +// nil +type DeploymentSystemResourceLimitsPtrInput interface { + pulumi.Input + + ToDeploymentSystemResourceLimitsPtrOutput() DeploymentSystemResourceLimitsPtrOutput + ToDeploymentSystemResourceLimitsPtrOutputWithContext(context.Context) DeploymentSystemResourceLimitsPtrOutput +} + +type deploymentSystemResourceLimitsPtrType DeploymentSystemResourceLimitsArgs + +func DeploymentSystemResourceLimitsPtr(v *DeploymentSystemResourceLimitsArgs) DeploymentSystemResourceLimitsPtrInput { + return (*deploymentSystemResourceLimitsPtrType)(v) +} + +func (*deploymentSystemResourceLimitsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSystemResourceLimits)(nil)).Elem() +} + +func (i *deploymentSystemResourceLimitsPtrType) ToDeploymentSystemResourceLimitsPtrOutput() DeploymentSystemResourceLimitsPtrOutput { + return i.ToDeploymentSystemResourceLimitsPtrOutputWithContext(context.Background()) +} + +func (i *deploymentSystemResourceLimitsPtrType) ToDeploymentSystemResourceLimitsPtrOutputWithContext(ctx context.Context) DeploymentSystemResourceLimitsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DeploymentSystemResourceLimitsPtrOutput) +} + +type DeploymentSystemResourceLimitsOutput struct{ *pulumi.OutputState } + +func (DeploymentSystemResourceLimitsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DeploymentSystemResourceLimits)(nil)).Elem() +} + +func (o DeploymentSystemResourceLimitsOutput) ToDeploymentSystemResourceLimitsOutput() DeploymentSystemResourceLimitsOutput { + return o +} + +func (o DeploymentSystemResourceLimitsOutput) ToDeploymentSystemResourceLimitsOutputWithContext(ctx context.Context) DeploymentSystemResourceLimitsOutput { + return o +} + +func (o DeploymentSystemResourceLimitsOutput) ToDeploymentSystemResourceLimitsPtrOutput() DeploymentSystemResourceLimitsPtrOutput { + return o.ToDeploymentSystemResourceLimitsPtrOutputWithContext(context.Background()) +} + +func (o DeploymentSystemResourceLimitsOutput) ToDeploymentSystemResourceLimitsPtrOutputWithContext(ctx context.Context) DeploymentSystemResourceLimitsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DeploymentSystemResourceLimits) *DeploymentSystemResourceLimits { + return &v + }).(DeploymentSystemResourceLimitsPtrOutput) +} + +func (o DeploymentSystemResourceLimitsOutput) Cpus() pulumi.Float64PtrOutput { + return o.ApplyT(func(v DeploymentSystemResourceLimits) *float64 { return v.Cpus }).(pulumi.Float64PtrOutput) +} + +func (o DeploymentSystemResourceLimitsOutput) Memory() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentSystemResourceLimits) *int { return v.Memory }).(pulumi.IntPtrOutput) +} + +type DeploymentSystemResourceLimitsPtrOutput struct{ *pulumi.OutputState } + +func (DeploymentSystemResourceLimitsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DeploymentSystemResourceLimits)(nil)).Elem() +} + +func (o DeploymentSystemResourceLimitsPtrOutput) ToDeploymentSystemResourceLimitsPtrOutput() DeploymentSystemResourceLimitsPtrOutput { + return o +} + +func (o DeploymentSystemResourceLimitsPtrOutput) ToDeploymentSystemResourceLimitsPtrOutputWithContext(ctx context.Context) DeploymentSystemResourceLimitsPtrOutput { + return o +} + +func (o DeploymentSystemResourceLimitsPtrOutput) Elem() DeploymentSystemResourceLimitsOutput { + return o.ApplyT(func(v *DeploymentSystemResourceLimits) DeploymentSystemResourceLimits { + if v != nil { + return *v + } + var ret DeploymentSystemResourceLimits + return ret + }).(DeploymentSystemResourceLimitsOutput) +} + +func (o DeploymentSystemResourceLimitsPtrOutput) Cpus() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *DeploymentSystemResourceLimits) *float64 { + if v == nil { + return nil + } + return v.Cpus + }).(pulumi.Float64PtrOutput) +} + +func (o DeploymentSystemResourceLimitsPtrOutput) Memory() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentSystemResourceLimits) *int { + if v == nil { + return nil + } + return v.Memory + }).(pulumi.IntPtrOutput) +} + func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionComponentDependencyRequirementInput)(nil)).Elem(), ComponentVersionComponentDependencyRequirementArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionComponentDependencyRequirementMapInput)(nil)).Elem(), ComponentVersionComponentDependencyRequirementMap{}) pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionComponentPlatformInput)(nil)).Elem(), ComponentVersionComponentPlatformArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionComponentPlatformArrayInput)(nil)).Elem(), ComponentVersionComponentPlatformArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionLambdaContainerParamsInput)(nil)).Elem(), ComponentVersionLambdaContainerParamsArgs{}) @@ -2705,6 +3378,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionLambdaLinuxProcessParamsPtrInput)(nil)).Elem(), ComponentVersionLambdaLinuxProcessParamsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionLambdaVolumeMountInput)(nil)).Elem(), ComponentVersionLambdaVolumeMountArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ComponentVersionLambdaVolumeMountArrayInput)(nil)).Elem(), ComponentVersionLambdaVolumeMountArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DeploymentComponentConfigurationUpdateInput)(nil)).Elem(), DeploymentComponentConfigurationUpdateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DeploymentComponentConfigurationUpdatePtrInput)(nil)).Elem(), DeploymentComponentConfigurationUpdateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DeploymentComponentDeploymentSpecificationInput)(nil)).Elem(), DeploymentComponentDeploymentSpecificationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DeploymentComponentDeploymentSpecificationMapInput)(nil)).Elem(), DeploymentComponentDeploymentSpecificationMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*DeploymentComponentRunWithInput)(nil)).Elem(), DeploymentComponentRunWithArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DeploymentComponentRunWithPtrInput)(nil)).Elem(), DeploymentComponentRunWithArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeploymentComponentUpdatePolicyInput)(nil)).Elem(), DeploymentComponentUpdatePolicyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeploymentComponentUpdatePolicyPtrInput)(nil)).Elem(), DeploymentComponentUpdatePolicyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeploymentConfigurationValidationPolicyInput)(nil)).Elem(), DeploymentConfigurationValidationPolicyArgs{}) @@ -2725,6 +3404,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DeploymentIoTJobTimeoutConfigPtrInput)(nil)).Elem(), DeploymentIoTJobTimeoutConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeploymentPoliciesInput)(nil)).Elem(), DeploymentPoliciesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DeploymentPoliciesPtrInput)(nil)).Elem(), DeploymentPoliciesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DeploymentSystemResourceLimitsInput)(nil)).Elem(), DeploymentSystemResourceLimitsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DeploymentSystemResourceLimitsPtrInput)(nil)).Elem(), DeploymentSystemResourceLimitsArgs{}) + pulumi.RegisterOutputType(ComponentVersionComponentDependencyRequirementOutput{}) + pulumi.RegisterOutputType(ComponentVersionComponentDependencyRequirementMapOutput{}) pulumi.RegisterOutputType(ComponentVersionComponentPlatformOutput{}) pulumi.RegisterOutputType(ComponentVersionComponentPlatformArrayOutput{}) pulumi.RegisterOutputType(ComponentVersionLambdaContainerParamsOutput{}) @@ -2741,6 +3424,12 @@ func init() { pulumi.RegisterOutputType(ComponentVersionLambdaLinuxProcessParamsPtrOutput{}) pulumi.RegisterOutputType(ComponentVersionLambdaVolumeMountOutput{}) pulumi.RegisterOutputType(ComponentVersionLambdaVolumeMountArrayOutput{}) + pulumi.RegisterOutputType(DeploymentComponentConfigurationUpdateOutput{}) + pulumi.RegisterOutputType(DeploymentComponentConfigurationUpdatePtrOutput{}) + pulumi.RegisterOutputType(DeploymentComponentDeploymentSpecificationOutput{}) + pulumi.RegisterOutputType(DeploymentComponentDeploymentSpecificationMapOutput{}) + pulumi.RegisterOutputType(DeploymentComponentRunWithOutput{}) + pulumi.RegisterOutputType(DeploymentComponentRunWithPtrOutput{}) pulumi.RegisterOutputType(DeploymentComponentUpdatePolicyOutput{}) pulumi.RegisterOutputType(DeploymentComponentUpdatePolicyPtrOutput{}) pulumi.RegisterOutputType(DeploymentConfigurationValidationPolicyOutput{}) @@ -2761,4 +3450,6 @@ func init() { pulumi.RegisterOutputType(DeploymentIoTJobTimeoutConfigPtrOutput{}) pulumi.RegisterOutputType(DeploymentPoliciesOutput{}) pulumi.RegisterOutputType(DeploymentPoliciesPtrOutput{}) + pulumi.RegisterOutputType(DeploymentSystemResourceLimitsOutput{}) + pulumi.RegisterOutputType(DeploymentSystemResourceLimitsPtrOutput{}) } diff --git a/sdk/go/aws/guardduty/pulumiTypes.go b/sdk/go/aws/guardduty/pulumiTypes.go index 3525582553..800b2dab08 100644 --- a/sdk/go/aws/guardduty/pulumiTypes.go +++ b/sdk/go/aws/guardduty/pulumiTypes.go @@ -1155,8 +1155,168 @@ func (o DetectorTagItemArrayOutput) Index(i pulumi.IntInput) DetectorTagItemOutp }).(DetectorTagItemOutput) } +type FilterCondition struct { + Eq []string `pulumi:"eq"` + Equals []string `pulumi:"equals"` + GreaterThan *int `pulumi:"greaterThan"` + GreaterThanOrEqual *int `pulumi:"greaterThanOrEqual"` + Gt *int `pulumi:"gt"` + Gte *int `pulumi:"gte"` + LessThan *int `pulumi:"lessThan"` + LessThanOrEqual *int `pulumi:"lessThanOrEqual"` + Lt *int `pulumi:"lt"` + Lte *int `pulumi:"lte"` + Neq []string `pulumi:"neq"` + NotEquals []string `pulumi:"notEquals"` +} + +// FilterConditionInput is an input type that accepts FilterConditionArgs and FilterConditionOutput values. +// You can construct a concrete instance of `FilterConditionInput` via: +// +// FilterConditionArgs{...} +type FilterConditionInput interface { + pulumi.Input + + ToFilterConditionOutput() FilterConditionOutput + ToFilterConditionOutputWithContext(context.Context) FilterConditionOutput +} + +type FilterConditionArgs struct { + Eq pulumi.StringArrayInput `pulumi:"eq"` + Equals pulumi.StringArrayInput `pulumi:"equals"` + GreaterThan pulumi.IntPtrInput `pulumi:"greaterThan"` + GreaterThanOrEqual pulumi.IntPtrInput `pulumi:"greaterThanOrEqual"` + Gt pulumi.IntPtrInput `pulumi:"gt"` + Gte pulumi.IntPtrInput `pulumi:"gte"` + LessThan pulumi.IntPtrInput `pulumi:"lessThan"` + LessThanOrEqual pulumi.IntPtrInput `pulumi:"lessThanOrEqual"` + Lt pulumi.IntPtrInput `pulumi:"lt"` + Lte pulumi.IntPtrInput `pulumi:"lte"` + Neq pulumi.StringArrayInput `pulumi:"neq"` + NotEquals pulumi.StringArrayInput `pulumi:"notEquals"` +} + +func (FilterConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*FilterCondition)(nil)).Elem() +} + +func (i FilterConditionArgs) ToFilterConditionOutput() FilterConditionOutput { + return i.ToFilterConditionOutputWithContext(context.Background()) +} + +func (i FilterConditionArgs) ToFilterConditionOutputWithContext(ctx context.Context) FilterConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(FilterConditionOutput) +} + +// FilterConditionMapInput is an input type that accepts FilterConditionMap and FilterConditionMapOutput values. +// You can construct a concrete instance of `FilterConditionMapInput` via: +// +// FilterConditionMap{ "key": FilterConditionArgs{...} } +type FilterConditionMapInput interface { + pulumi.Input + + ToFilterConditionMapOutput() FilterConditionMapOutput + ToFilterConditionMapOutputWithContext(context.Context) FilterConditionMapOutput +} + +type FilterConditionMap map[string]FilterConditionInput + +func (FilterConditionMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]FilterCondition)(nil)).Elem() +} + +func (i FilterConditionMap) ToFilterConditionMapOutput() FilterConditionMapOutput { + return i.ToFilterConditionMapOutputWithContext(context.Background()) +} + +func (i FilterConditionMap) ToFilterConditionMapOutputWithContext(ctx context.Context) FilterConditionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(FilterConditionMapOutput) +} + +type FilterConditionOutput struct{ *pulumi.OutputState } + +func (FilterConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*FilterCondition)(nil)).Elem() +} + +func (o FilterConditionOutput) ToFilterConditionOutput() FilterConditionOutput { + return o +} + +func (o FilterConditionOutput) ToFilterConditionOutputWithContext(ctx context.Context) FilterConditionOutput { + return o +} + +func (o FilterConditionOutput) Eq() pulumi.StringArrayOutput { + return o.ApplyT(func(v FilterCondition) []string { return v.Eq }).(pulumi.StringArrayOutput) +} + +func (o FilterConditionOutput) Equals() pulumi.StringArrayOutput { + return o.ApplyT(func(v FilterCondition) []string { return v.Equals }).(pulumi.StringArrayOutput) +} + +func (o FilterConditionOutput) GreaterThan() pulumi.IntPtrOutput { + return o.ApplyT(func(v FilterCondition) *int { return v.GreaterThan }).(pulumi.IntPtrOutput) +} + +func (o FilterConditionOutput) GreaterThanOrEqual() pulumi.IntPtrOutput { + return o.ApplyT(func(v FilterCondition) *int { return v.GreaterThanOrEqual }).(pulumi.IntPtrOutput) +} + +func (o FilterConditionOutput) Gt() pulumi.IntPtrOutput { + return o.ApplyT(func(v FilterCondition) *int { return v.Gt }).(pulumi.IntPtrOutput) +} + +func (o FilterConditionOutput) Gte() pulumi.IntPtrOutput { + return o.ApplyT(func(v FilterCondition) *int { return v.Gte }).(pulumi.IntPtrOutput) +} + +func (o FilterConditionOutput) LessThan() pulumi.IntPtrOutput { + return o.ApplyT(func(v FilterCondition) *int { return v.LessThan }).(pulumi.IntPtrOutput) +} + +func (o FilterConditionOutput) LessThanOrEqual() pulumi.IntPtrOutput { + return o.ApplyT(func(v FilterCondition) *int { return v.LessThanOrEqual }).(pulumi.IntPtrOutput) +} + +func (o FilterConditionOutput) Lt() pulumi.IntPtrOutput { + return o.ApplyT(func(v FilterCondition) *int { return v.Lt }).(pulumi.IntPtrOutput) +} + +func (o FilterConditionOutput) Lte() pulumi.IntPtrOutput { + return o.ApplyT(func(v FilterCondition) *int { return v.Lte }).(pulumi.IntPtrOutput) +} + +func (o FilterConditionOutput) Neq() pulumi.StringArrayOutput { + return o.ApplyT(func(v FilterCondition) []string { return v.Neq }).(pulumi.StringArrayOutput) +} + +func (o FilterConditionOutput) NotEquals() pulumi.StringArrayOutput { + return o.ApplyT(func(v FilterCondition) []string { return v.NotEquals }).(pulumi.StringArrayOutput) +} + +type FilterConditionMapOutput struct{ *pulumi.OutputState } + +func (FilterConditionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]FilterCondition)(nil)).Elem() +} + +func (o FilterConditionMapOutput) ToFilterConditionMapOutput() FilterConditionMapOutput { + return o +} + +func (o FilterConditionMapOutput) ToFilterConditionMapOutputWithContext(ctx context.Context) FilterConditionMapOutput { + return o +} + +func (o FilterConditionMapOutput) MapIndex(k pulumi.StringInput) FilterConditionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) FilterCondition { + return vs[0].(map[string]FilterCondition)[vs[1].(string)] + }).(FilterConditionOutput) +} + type FilterFindingCriteria struct { - Criterion interface{} `pulumi:"criterion"` + Criterion map[string]FilterCondition `pulumi:"criterion"` } // FilterFindingCriteriaInput is an input type that accepts FilterFindingCriteriaArgs and FilterFindingCriteriaOutput values. @@ -1171,7 +1331,7 @@ type FilterFindingCriteriaInput interface { } type FilterFindingCriteriaArgs struct { - Criterion pulumi.Input `pulumi:"criterion"` + Criterion FilterConditionMapInput `pulumi:"criterion"` } func (FilterFindingCriteriaArgs) ElementType() reflect.Type { @@ -1200,8 +1360,8 @@ func (o FilterFindingCriteriaOutput) ToFilterFindingCriteriaOutputWithContext(ct return o } -func (o FilterFindingCriteriaOutput) Criterion() pulumi.AnyOutput { - return o.ApplyT(func(v FilterFindingCriteria) interface{} { return v.Criterion }).(pulumi.AnyOutput) +func (o FilterFindingCriteriaOutput) Criterion() FilterConditionMapOutput { + return o.ApplyT(func(v FilterFindingCriteria) map[string]FilterCondition { return v.Criterion }).(FilterConditionMapOutput) } type FilterFindingCriteriaPtrOutput struct{ *pulumi.OutputState } @@ -1228,13 +1388,13 @@ func (o FilterFindingCriteriaPtrOutput) Elem() FilterFindingCriteriaOutput { }).(FilterFindingCriteriaOutput) } -func (o FilterFindingCriteriaPtrOutput) Criterion() pulumi.AnyOutput { - return o.ApplyT(func(v *FilterFindingCriteria) interface{} { +func (o FilterFindingCriteriaPtrOutput) Criterion() FilterConditionMapOutput { + return o.ApplyT(func(v *FilterFindingCriteria) map[string]FilterCondition { if v == nil { return nil } return v.Criterion - }).(pulumi.AnyOutput) + }).(FilterConditionMapOutput) } type FilterTagItem struct { @@ -1556,6 +1716,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DetectorCfns3LogsConfigurationPtrInput)(nil)).Elem(), DetectorCfns3LogsConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DetectorTagItemInput)(nil)).Elem(), DetectorTagItemArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DetectorTagItemArrayInput)(nil)).Elem(), DetectorTagItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*FilterConditionInput)(nil)).Elem(), FilterConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*FilterConditionMapInput)(nil)).Elem(), FilterConditionMap{}) pulumi.RegisterInputType(reflect.TypeOf((*FilterFindingCriteriaInput)(nil)).Elem(), FilterFindingCriteriaArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*FilterTagItemInput)(nil)).Elem(), FilterTagItemArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*FilterTagItemArrayInput)(nil)).Elem(), FilterTagItemArray{}) @@ -1581,6 +1743,8 @@ func init() { pulumi.RegisterOutputType(DetectorCfns3LogsConfigurationPtrOutput{}) pulumi.RegisterOutputType(DetectorTagItemOutput{}) pulumi.RegisterOutputType(DetectorTagItemArrayOutput{}) + pulumi.RegisterOutputType(FilterConditionOutput{}) + pulumi.RegisterOutputType(FilterConditionMapOutput{}) pulumi.RegisterOutputType(FilterFindingCriteriaOutput{}) pulumi.RegisterOutputType(FilterFindingCriteriaPtrOutput{}) pulumi.RegisterOutputType(FilterTagItemOutput{}) diff --git a/sdk/go/aws/imagebuilder/component.go b/sdk/go/aws/imagebuilder/component.go index 2251631f49..c46b0fa485 100644 --- a/sdk/go/aws/imagebuilder/component.go +++ b/sdk/go/aws/imagebuilder/component.go @@ -35,7 +35,7 @@ type Component struct { // The operating system (OS) version supported by the component. SupportedOsVersions pulumi.StringArrayOutput `pulumi:"supportedOsVersions"` // The tags associated with the component. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The type of the component denotes whether the component is used to build the image or only to test it. Type ComponentTypeOutput `pulumi:"type"` // The uri of the component. @@ -65,7 +65,7 @@ func NewComponent(ctx *pulumi.Context, "name", "platform", "supportedOsVersions[*]", - "tags", + "tags.*", "uri", "version", }) @@ -118,7 +118,7 @@ type componentArgs struct { // The operating system (OS) version supported by the component. SupportedOsVersions []string `pulumi:"supportedOsVersions"` // The tags associated with the component. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The uri of the component. Uri *string `pulumi:"uri"` // The version of the component. @@ -142,7 +142,7 @@ type ComponentArgs struct { // The operating system (OS) version supported by the component. SupportedOsVersions pulumi.StringArrayInput // The tags associated with the component. - Tags pulumi.Input + Tags pulumi.StringMapInput // The uri of the component. Uri pulumi.StringPtrInput // The version of the component. @@ -232,8 +232,8 @@ func (o ComponentOutput) SupportedOsVersions() pulumi.StringArrayOutput { } // The tags associated with the component. -func (o ComponentOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *Component) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ComponentOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Component) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The type of the component denotes whether the component is used to build the image or only to test it. diff --git a/sdk/go/aws/imagebuilder/containerRecipe.go b/sdk/go/aws/imagebuilder/containerRecipe.go index 42b84e7fd1..42211863fb 100644 --- a/sdk/go/aws/imagebuilder/containerRecipe.go +++ b/sdk/go/aws/imagebuilder/containerRecipe.go @@ -40,7 +40,7 @@ type ContainerRecipe struct { // Specifies the operating system platform when you use a custom source image. PlatformOverride ContainerRecipePlatformOverridePtrOutput `pulumi:"platformOverride"` // Tags that are attached to the container recipe. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The destination repository for the container image. TargetRepository ContainerRecipeTargetContainerRepositoryPtrOutput `pulumi:"targetRepository"` // The semantic version of the container recipe (..). @@ -68,7 +68,7 @@ func NewContainerRecipe(ctx *pulumi.Context, "name", "parentImage", "platformOverride", - "tags", + "tags.*", "targetRepository", "version", "workingDirectory", @@ -130,7 +130,7 @@ type containerRecipeArgs struct { // Specifies the operating system platform when you use a custom source image. PlatformOverride *ContainerRecipePlatformOverride `pulumi:"platformOverride"` // Tags that are attached to the container recipe. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The destination repository for the container image. TargetRepository *ContainerRecipeTargetContainerRepository `pulumi:"targetRepository"` // The semantic version of the container recipe (..). @@ -164,7 +164,7 @@ type ContainerRecipeArgs struct { // Specifies the operating system platform when you use a custom source image. PlatformOverride ContainerRecipePlatformOverridePtrInput // Tags that are attached to the container recipe. - Tags pulumi.Input + Tags pulumi.StringMapInput // The destination repository for the container image. TargetRepository ContainerRecipeTargetContainerRepositoryPtrInput // The semantic version of the container recipe (..). @@ -271,8 +271,8 @@ func (o ContainerRecipeOutput) PlatformOverride() ContainerRecipePlatformOverrid } // Tags that are attached to the container recipe. -func (o ContainerRecipeOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *ContainerRecipe) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ContainerRecipeOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *ContainerRecipe) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The destination repository for the container image. diff --git a/sdk/go/aws/imagebuilder/distributionConfiguration.go b/sdk/go/aws/imagebuilder/distributionConfiguration.go index 284eae84a5..b1e738a4d2 100644 --- a/sdk/go/aws/imagebuilder/distributionConfiguration.go +++ b/sdk/go/aws/imagebuilder/distributionConfiguration.go @@ -25,7 +25,7 @@ type DistributionConfiguration struct { // The name of the distribution configuration. Name pulumi.StringOutput `pulumi:"name"` // The tags associated with the component. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` } // NewDistributionConfiguration registers a new resource with the given unique name, arguments, and options. @@ -82,7 +82,7 @@ type distributionConfigurationArgs struct { // The name of the distribution configuration. Name *string `pulumi:"name"` // The tags associated with the component. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` } // The set of arguments for constructing a DistributionConfiguration resource. @@ -94,7 +94,7 @@ type DistributionConfigurationArgs struct { // The name of the distribution configuration. Name pulumi.StringPtrInput // The tags associated with the component. - Tags pulumi.Input + Tags pulumi.StringMapInput } func (DistributionConfigurationArgs) ElementType() reflect.Type { @@ -157,8 +157,8 @@ func (o DistributionConfigurationOutput) Name() pulumi.StringOutput { } // The tags associated with the component. -func (o DistributionConfigurationOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *DistributionConfiguration) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o DistributionConfigurationOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *DistributionConfiguration) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/imagebuilder/getDistributionConfiguration.go b/sdk/go/aws/imagebuilder/getDistributionConfiguration.go index 2b7e52eb8f..987055a974 100644 --- a/sdk/go/aws/imagebuilder/getDistributionConfiguration.go +++ b/sdk/go/aws/imagebuilder/getDistributionConfiguration.go @@ -35,7 +35,7 @@ type LookupDistributionConfigurationResult struct { // The distributions of the distribution configuration. Distributions []DistributionConfigurationDistribution `pulumi:"distributions"` // The tags associated with the component. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` } func LookupDistributionConfigurationOutput(ctx *pulumi.Context, args LookupDistributionConfigurationOutputArgs, opts ...pulumi.InvokeOption) LookupDistributionConfigurationResultOutput { @@ -92,8 +92,8 @@ func (o LookupDistributionConfigurationResultOutput) Distributions() Distributio } // The tags associated with the component. -func (o LookupDistributionConfigurationResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupDistributionConfigurationResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupDistributionConfigurationResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDistributionConfigurationResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/imagebuilder/getImagePipeline.go b/sdk/go/aws/imagebuilder/getImagePipeline.go index 6d7d9c5379..8f2b039595 100644 --- a/sdk/go/aws/imagebuilder/getImagePipeline.go +++ b/sdk/go/aws/imagebuilder/getImagePipeline.go @@ -53,7 +53,7 @@ type LookupImagePipelineResult struct { // The status of the image pipeline. Status *ImagePipelineStatus `pulumi:"status"` // The tags of this image pipeline. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // Workflows to define the image build process Workflows []ImagePipelineWorkflowConfiguration `pulumi:"workflows"` } @@ -159,8 +159,8 @@ func (o LookupImagePipelineResultOutput) Status() ImagePipelineStatusPtrOutput { } // The tags of this image pipeline. -func (o LookupImagePipelineResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupImagePipelineResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupImagePipelineResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupImagePipelineResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } // Workflows to define the image build process diff --git a/sdk/go/aws/imagebuilder/getInfrastructureConfiguration.go b/sdk/go/aws/imagebuilder/getInfrastructureConfiguration.go index ba46717cbb..bb93f5ff9f 100644 --- a/sdk/go/aws/imagebuilder/getInfrastructureConfiguration.go +++ b/sdk/go/aws/imagebuilder/getInfrastructureConfiguration.go @@ -43,7 +43,7 @@ type LookupInfrastructureConfigurationResult struct { // The logging configuration of the infrastructure configuration. Logging *InfrastructureConfigurationLogging `pulumi:"logging"` // The tags attached to the resource created by Image Builder. - ResourceTags interface{} `pulumi:"resourceTags"` + ResourceTags map[string]string `pulumi:"resourceTags"` // The security group IDs of the infrastructure configuration. SecurityGroupIds []string `pulumi:"securityGroupIds"` // The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration. @@ -51,7 +51,7 @@ type LookupInfrastructureConfigurationResult struct { // The subnet ID of the infrastructure configuration. SubnetId *string `pulumi:"subnetId"` // The tags associated with the component. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The terminate instance on failure configuration of the infrastructure configuration. TerminateInstanceOnFailure *bool `pulumi:"terminateInstanceOnFailure"` } @@ -130,8 +130,8 @@ func (o LookupInfrastructureConfigurationResultOutput) Logging() InfrastructureC } // The tags attached to the resource created by Image Builder. -func (o LookupInfrastructureConfigurationResultOutput) ResourceTags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupInfrastructureConfigurationResult) interface{} { return v.ResourceTags }).(pulumi.AnyOutput) +func (o LookupInfrastructureConfigurationResultOutput) ResourceTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupInfrastructureConfigurationResult) map[string]string { return v.ResourceTags }).(pulumi.StringMapOutput) } // The security group IDs of the infrastructure configuration. @@ -150,8 +150,8 @@ func (o LookupInfrastructureConfigurationResultOutput) SubnetId() pulumi.StringP } // The tags associated with the component. -func (o LookupInfrastructureConfigurationResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupInfrastructureConfigurationResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupInfrastructureConfigurationResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupInfrastructureConfigurationResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } // The terminate instance on failure configuration of the infrastructure configuration. diff --git a/sdk/go/aws/imagebuilder/getLifecyclePolicy.go b/sdk/go/aws/imagebuilder/getLifecyclePolicy.go index 3527911669..32d89e7641 100644 --- a/sdk/go/aws/imagebuilder/getLifecyclePolicy.go +++ b/sdk/go/aws/imagebuilder/getLifecyclePolicy.go @@ -43,7 +43,7 @@ type LookupLifecyclePolicyResult struct { // The status of the lifecycle policy. Status *LifecyclePolicyStatus `pulumi:"status"` // The tags associated with the lifecycle policy. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` } func LookupLifecyclePolicyOutput(ctx *pulumi.Context, args LookupLifecyclePolicyOutputArgs, opts ...pulumi.InvokeOption) LookupLifecyclePolicyResultOutput { @@ -118,8 +118,8 @@ func (o LookupLifecyclePolicyResultOutput) Status() LifecyclePolicyStatusPtrOutp } // The tags associated with the lifecycle policy. -func (o LookupLifecyclePolicyResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupLifecyclePolicyResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupLifecyclePolicyResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupLifecyclePolicyResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/imagebuilder/image.go b/sdk/go/aws/imagebuilder/image.go index 37a67ae55e..1990f382bb 100644 --- a/sdk/go/aws/imagebuilder/image.go +++ b/sdk/go/aws/imagebuilder/image.go @@ -40,7 +40,7 @@ type Image struct { // The name of the image. Name pulumi.StringOutput `pulumi:"name"` // The tags associated with the image. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // Workflows to define the image build process Workflows ImageWorkflowConfigurationArrayOutput `pulumi:"workflows"` } @@ -60,7 +60,7 @@ func NewImage(ctx *pulumi.Context, "imageScanningConfiguration", "imageTestsConfiguration", "infrastructureConfigurationArn", - "tags", + "tags.*", "workflows[*]", }) opts = append(opts, replaceOnChanges) @@ -114,7 +114,7 @@ type imageArgs struct { // The Amazon Resource Name (ARN) of the infrastructure configuration. InfrastructureConfigurationArn *string `pulumi:"infrastructureConfigurationArn"` // The tags associated with the image. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // Workflows to define the image build process Workflows []ImageWorkflowConfiguration `pulumi:"workflows"` } @@ -138,7 +138,7 @@ type ImageArgs struct { // The Amazon Resource Name (ARN) of the infrastructure configuration. InfrastructureConfigurationArn pulumi.StringPtrInput // The tags associated with the image. - Tags pulumi.Input + Tags pulumi.StringMapInput // Workflows to define the image build process Workflows ImageWorkflowConfigurationArrayInput } @@ -241,8 +241,8 @@ func (o ImageOutput) Name() pulumi.StringOutput { } // The tags associated with the image. -func (o ImageOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *Image) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ImageOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Image) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // Workflows to define the image build process diff --git a/sdk/go/aws/imagebuilder/imagePipeline.go b/sdk/go/aws/imagebuilder/imagePipeline.go index 84f1008165..10b07293a4 100644 --- a/sdk/go/aws/imagebuilder/imagePipeline.go +++ b/sdk/go/aws/imagebuilder/imagePipeline.go @@ -42,7 +42,7 @@ type ImagePipeline struct { // The status of the image pipeline. Status ImagePipelineStatusPtrOutput `pulumi:"status"` // The tags of this image pipeline. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // Workflows to define the image build process Workflows ImagePipelineWorkflowConfigurationArrayOutput `pulumi:"workflows"` } @@ -116,7 +116,7 @@ type imagePipelineArgs struct { // The status of the image pipeline. Status *ImagePipelineStatus `pulumi:"status"` // The tags of this image pipeline. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // Workflows to define the image build process Workflows []ImagePipelineWorkflowConfiguration `pulumi:"workflows"` } @@ -148,7 +148,7 @@ type ImagePipelineArgs struct { // The status of the image pipeline. Status ImagePipelineStatusPtrInput // The tags of this image pipeline. - Tags pulumi.Input + Tags pulumi.StringMapInput // Workflows to define the image build process Workflows ImagePipelineWorkflowConfigurationArrayInput } @@ -258,8 +258,8 @@ func (o ImagePipelineOutput) Status() ImagePipelineStatusPtrOutput { } // The tags of this image pipeline. -func (o ImagePipelineOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *ImagePipeline) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ImagePipelineOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *ImagePipeline) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // Workflows to define the image build process diff --git a/sdk/go/aws/imagebuilder/imageRecipe.go b/sdk/go/aws/imagebuilder/imageRecipe.go index 86df07c3b2..5f8348735f 100644 --- a/sdk/go/aws/imagebuilder/imageRecipe.go +++ b/sdk/go/aws/imagebuilder/imageRecipe.go @@ -31,7 +31,7 @@ type ImageRecipe struct { // The parent image of the image recipe. ParentImage pulumi.StringOutput `pulumi:"parentImage"` // The tags of the image recipe. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The version of the image recipe. Version pulumi.StringOutput `pulumi:"version"` // The working directory to be used during build and test workflows. @@ -60,7 +60,7 @@ func NewImageRecipe(ctx *pulumi.Context, "description", "name", "parentImage", - "tags", + "tags.*", "version", "workingDirectory", }) @@ -111,7 +111,7 @@ type imageRecipeArgs struct { // The parent image of the image recipe. ParentImage string `pulumi:"parentImage"` // The tags of the image recipe. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The version of the image recipe. Version string `pulumi:"version"` // The working directory to be used during build and test workflows. @@ -133,7 +133,7 @@ type ImageRecipeArgs struct { // The parent image of the image recipe. ParentImage pulumi.StringInput // The tags of the image recipe. - Tags pulumi.Input + Tags pulumi.StringMapInput // The version of the image recipe. Version pulumi.StringInput // The working directory to be used during build and test workflows. @@ -215,8 +215,8 @@ func (o ImageRecipeOutput) ParentImage() pulumi.StringOutput { } // The tags of the image recipe. -func (o ImageRecipeOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *ImageRecipe) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ImageRecipeOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *ImageRecipe) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The version of the image recipe. diff --git a/sdk/go/aws/imagebuilder/infrastructureConfiguration.go b/sdk/go/aws/imagebuilder/infrastructureConfiguration.go index b9ad885f1d..158b67e124 100644 --- a/sdk/go/aws/imagebuilder/infrastructureConfiguration.go +++ b/sdk/go/aws/imagebuilder/infrastructureConfiguration.go @@ -33,7 +33,7 @@ type InfrastructureConfiguration struct { // The name of the infrastructure configuration. Name pulumi.StringOutput `pulumi:"name"` // The tags attached to the resource created by Image Builder. - ResourceTags pulumi.AnyOutput `pulumi:"resourceTags"` + ResourceTags pulumi.StringMapOutput `pulumi:"resourceTags"` // The security group IDs of the infrastructure configuration. SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` // The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration. @@ -41,7 +41,7 @@ type InfrastructureConfiguration struct { // The subnet ID of the infrastructure configuration. SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"` // The tags associated with the component. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The terminate instance on failure configuration of the infrastructure configuration. TerminateInstanceOnFailure pulumi.BoolPtrOutput `pulumi:"terminateInstanceOnFailure"` } @@ -108,7 +108,7 @@ type infrastructureConfigurationArgs struct { // The name of the infrastructure configuration. Name *string `pulumi:"name"` // The tags attached to the resource created by Image Builder. - ResourceTags interface{} `pulumi:"resourceTags"` + ResourceTags map[string]string `pulumi:"resourceTags"` // The security group IDs of the infrastructure configuration. SecurityGroupIds []string `pulumi:"securityGroupIds"` // The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration. @@ -116,7 +116,7 @@ type infrastructureConfigurationArgs struct { // The subnet ID of the infrastructure configuration. SubnetId *string `pulumi:"subnetId"` // The tags associated with the component. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The terminate instance on failure configuration of the infrastructure configuration. TerminateInstanceOnFailure *bool `pulumi:"terminateInstanceOnFailure"` } @@ -138,7 +138,7 @@ type InfrastructureConfigurationArgs struct { // The name of the infrastructure configuration. Name pulumi.StringPtrInput // The tags attached to the resource created by Image Builder. - ResourceTags pulumi.Input + ResourceTags pulumi.StringMapInput // The security group IDs of the infrastructure configuration. SecurityGroupIds pulumi.StringArrayInput // The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration. @@ -146,7 +146,7 @@ type InfrastructureConfigurationArgs struct { // The subnet ID of the infrastructure configuration. SubnetId pulumi.StringPtrInput // The tags associated with the component. - Tags pulumi.Input + Tags pulumi.StringMapInput // The terminate instance on failure configuration of the infrastructure configuration. TerminateInstanceOnFailure pulumi.BoolPtrInput } @@ -231,8 +231,8 @@ func (o InfrastructureConfigurationOutput) Name() pulumi.StringOutput { } // The tags attached to the resource created by Image Builder. -func (o InfrastructureConfigurationOutput) ResourceTags() pulumi.AnyOutput { - return o.ApplyT(func(v *InfrastructureConfiguration) pulumi.AnyOutput { return v.ResourceTags }).(pulumi.AnyOutput) +func (o InfrastructureConfigurationOutput) ResourceTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *InfrastructureConfiguration) pulumi.StringMapOutput { return v.ResourceTags }).(pulumi.StringMapOutput) } // The security group IDs of the infrastructure configuration. @@ -251,8 +251,8 @@ func (o InfrastructureConfigurationOutput) SubnetId() pulumi.StringPtrOutput { } // The tags associated with the component. -func (o InfrastructureConfigurationOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *InfrastructureConfiguration) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o InfrastructureConfigurationOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *InfrastructureConfiguration) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The terminate instance on failure configuration of the infrastructure configuration. diff --git a/sdk/go/aws/imagebuilder/lifecyclePolicy.go b/sdk/go/aws/imagebuilder/lifecyclePolicy.go index a82c2dafd7..d209786a66 100644 --- a/sdk/go/aws/imagebuilder/lifecyclePolicy.go +++ b/sdk/go/aws/imagebuilder/lifecyclePolicy.go @@ -33,7 +33,7 @@ type LifecyclePolicy struct { // The status of the lifecycle policy. Status LifecyclePolicyStatusPtrOutput `pulumi:"status"` // The tags associated with the lifecycle policy. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` } // NewLifecyclePolicy registers a new resource with the given unique name, arguments, and options. @@ -107,7 +107,7 @@ type lifecyclePolicyArgs struct { // The status of the lifecycle policy. Status *LifecyclePolicyStatus `pulumi:"status"` // The tags associated with the lifecycle policy. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` } // The set of arguments for constructing a LifecyclePolicy resource. @@ -127,7 +127,7 @@ type LifecyclePolicyArgs struct { // The status of the lifecycle policy. Status LifecyclePolicyStatusPtrInput // The tags associated with the lifecycle policy. - Tags pulumi.Input + Tags pulumi.StringMapInput } func (LifecyclePolicyArgs) ElementType() reflect.Type { @@ -208,8 +208,8 @@ func (o LifecyclePolicyOutput) Status() LifecyclePolicyStatusPtrOutput { } // The tags associated with the lifecycle policy. -func (o LifecyclePolicyOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *LifecyclePolicy) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o LifecyclePolicyOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *LifecyclePolicy) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/imagebuilder/pulumiTypes.go b/sdk/go/aws/imagebuilder/pulumiTypes.go index d63df81a2e..613d983a98 100644 --- a/sdk/go/aws/imagebuilder/pulumiTypes.go +++ b/sdk/go/aws/imagebuilder/pulumiTypes.go @@ -960,7 +960,7 @@ func (o ContainerRecipeTargetContainerRepositoryPtrOutput) Service() ContainerRe // The specific AMI settings (for example, launch permissions, AMI tags). type DistributionConfigurationAmiDistributionConfiguration struct { // The tags to apply to AMIs distributed to this Region. - AmiTags interface{} `pulumi:"amiTags"` + AmiTags map[string]string `pulumi:"amiTags"` // The description of the AMI distribution configuration. Description *string `pulumi:"description"` // The KMS key identifier used to encrypt the distributed image. @@ -986,7 +986,7 @@ type DistributionConfigurationAmiDistributionConfigurationInput interface { // The specific AMI settings (for example, launch permissions, AMI tags). type DistributionConfigurationAmiDistributionConfigurationArgs struct { // The tags to apply to AMIs distributed to this Region. - AmiTags pulumi.Input `pulumi:"amiTags"` + AmiTags pulumi.StringMapInput `pulumi:"amiTags"` // The description of the AMI distribution configuration. Description pulumi.StringPtrInput `pulumi:"description"` // The KMS key identifier used to encrypt the distributed image. @@ -1077,8 +1077,8 @@ func (o DistributionConfigurationAmiDistributionConfigurationOutput) ToDistribut } // The tags to apply to AMIs distributed to this Region. -func (o DistributionConfigurationAmiDistributionConfigurationOutput) AmiTags() pulumi.AnyOutput { - return o.ApplyT(func(v DistributionConfigurationAmiDistributionConfiguration) interface{} { return v.AmiTags }).(pulumi.AnyOutput) +func (o DistributionConfigurationAmiDistributionConfigurationOutput) AmiTags() pulumi.StringMapOutput { + return o.ApplyT(func(v DistributionConfigurationAmiDistributionConfiguration) map[string]string { return v.AmiTags }).(pulumi.StringMapOutput) } // The description of the AMI distribution configuration. @@ -1132,13 +1132,13 @@ func (o DistributionConfigurationAmiDistributionConfigurationPtrOutput) Elem() D } // The tags to apply to AMIs distributed to this Region. -func (o DistributionConfigurationAmiDistributionConfigurationPtrOutput) AmiTags() pulumi.AnyOutput { - return o.ApplyT(func(v *DistributionConfigurationAmiDistributionConfiguration) interface{} { +func (o DistributionConfigurationAmiDistributionConfigurationPtrOutput) AmiTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *DistributionConfigurationAmiDistributionConfiguration) map[string]string { if v == nil { return nil } return v.AmiTags - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // The description of the AMI distribution configuration. @@ -5489,7 +5489,7 @@ type LifecyclePolicyAmiExclusionRules struct { // Use to apply lifecycle policy actions on AMIs shared with a set of regions. SharedAccounts []string `pulumi:"sharedAccounts"` // The AMIs to select by tag. - TagMap interface{} `pulumi:"tagMap"` + TagMap map[string]string `pulumi:"tagMap"` } // LifecyclePolicyAmiExclusionRulesInput is an input type that accepts LifecyclePolicyAmiExclusionRulesArgs and LifecyclePolicyAmiExclusionRulesOutput values. @@ -5514,7 +5514,7 @@ type LifecyclePolicyAmiExclusionRulesArgs struct { // Use to apply lifecycle policy actions on AMIs shared with a set of regions. SharedAccounts pulumi.StringArrayInput `pulumi:"sharedAccounts"` // The AMIs to select by tag. - TagMap pulumi.Input `pulumi:"tagMap"` + TagMap pulumi.StringMapInput `pulumi:"tagMap"` } func (LifecyclePolicyAmiExclusionRulesArgs) ElementType() reflect.Type { @@ -5616,8 +5616,8 @@ func (o LifecyclePolicyAmiExclusionRulesOutput) SharedAccounts() pulumi.StringAr } // The AMIs to select by tag. -func (o LifecyclePolicyAmiExclusionRulesOutput) TagMap() pulumi.AnyOutput { - return o.ApplyT(func(v LifecyclePolicyAmiExclusionRules) interface{} { return v.TagMap }).(pulumi.AnyOutput) +func (o LifecyclePolicyAmiExclusionRulesOutput) TagMap() pulumi.StringMapOutput { + return o.ApplyT(func(v LifecyclePolicyAmiExclusionRules) map[string]string { return v.TagMap }).(pulumi.StringMapOutput) } type LifecyclePolicyAmiExclusionRulesPtrOutput struct{ *pulumi.OutputState } @@ -5685,20 +5685,20 @@ func (o LifecyclePolicyAmiExclusionRulesPtrOutput) SharedAccounts() pulumi.Strin } // The AMIs to select by tag. -func (o LifecyclePolicyAmiExclusionRulesPtrOutput) TagMap() pulumi.AnyOutput { - return o.ApplyT(func(v *LifecyclePolicyAmiExclusionRules) interface{} { +func (o LifecyclePolicyAmiExclusionRulesPtrOutput) TagMap() pulumi.StringMapOutput { + return o.ApplyT(func(v *LifecyclePolicyAmiExclusionRules) map[string]string { if v == nil { return nil } return v.TagMap - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // The exclusion rules to apply of the policy detail. type LifecyclePolicyExclusionRules struct { Amis *LifecyclePolicyAmiExclusionRules `pulumi:"amis"` // The Image Builder tags to filter on. - TagMap interface{} `pulumi:"tagMap"` + TagMap map[string]string `pulumi:"tagMap"` } // LifecyclePolicyExclusionRulesInput is an input type that accepts LifecyclePolicyExclusionRulesArgs and LifecyclePolicyExclusionRulesOutput values. @@ -5716,7 +5716,7 @@ type LifecyclePolicyExclusionRulesInput interface { type LifecyclePolicyExclusionRulesArgs struct { Amis LifecyclePolicyAmiExclusionRulesPtrInput `pulumi:"amis"` // The Image Builder tags to filter on. - TagMap pulumi.Input `pulumi:"tagMap"` + TagMap pulumi.StringMapInput `pulumi:"tagMap"` } func (LifecyclePolicyExclusionRulesArgs) ElementType() reflect.Type { @@ -5802,8 +5802,8 @@ func (o LifecyclePolicyExclusionRulesOutput) Amis() LifecyclePolicyAmiExclusionR } // The Image Builder tags to filter on. -func (o LifecyclePolicyExclusionRulesOutput) TagMap() pulumi.AnyOutput { - return o.ApplyT(func(v LifecyclePolicyExclusionRules) interface{} { return v.TagMap }).(pulumi.AnyOutput) +func (o LifecyclePolicyExclusionRulesOutput) TagMap() pulumi.StringMapOutput { + return o.ApplyT(func(v LifecyclePolicyExclusionRules) map[string]string { return v.TagMap }).(pulumi.StringMapOutput) } type LifecyclePolicyExclusionRulesPtrOutput struct{ *pulumi.OutputState } @@ -5840,13 +5840,13 @@ func (o LifecyclePolicyExclusionRulesPtrOutput) Amis() LifecyclePolicyAmiExclusi } // The Image Builder tags to filter on. -func (o LifecyclePolicyExclusionRulesPtrOutput) TagMap() pulumi.AnyOutput { - return o.ApplyT(func(v *LifecyclePolicyExclusionRules) interface{} { +func (o LifecyclePolicyExclusionRulesPtrOutput) TagMap() pulumi.StringMapOutput { + return o.ApplyT(func(v *LifecyclePolicyExclusionRules) map[string]string { if v == nil { return nil } return v.TagMap - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // The filters to apply of the policy detail. @@ -6491,7 +6491,7 @@ type LifecyclePolicyResourceSelection struct { // The recipes to select. Recipes []LifecyclePolicyRecipeSelection `pulumi:"recipes"` // The Image Builder resources to select by tag. - TagMap interface{} `pulumi:"tagMap"` + TagMap map[string]string `pulumi:"tagMap"` } // LifecyclePolicyResourceSelectionInput is an input type that accepts LifecyclePolicyResourceSelectionArgs and LifecyclePolicyResourceSelectionOutput values. @@ -6510,7 +6510,7 @@ type LifecyclePolicyResourceSelectionArgs struct { // The recipes to select. Recipes LifecyclePolicyRecipeSelectionArrayInput `pulumi:"recipes"` // The Image Builder resources to select by tag. - TagMap pulumi.Input `pulumi:"tagMap"` + TagMap pulumi.StringMapInput `pulumi:"tagMap"` } func (LifecyclePolicyResourceSelectionArgs) ElementType() reflect.Type { @@ -6546,8 +6546,8 @@ func (o LifecyclePolicyResourceSelectionOutput) Recipes() LifecyclePolicyRecipeS } // The Image Builder resources to select by tag. -func (o LifecyclePolicyResourceSelectionOutput) TagMap() pulumi.AnyOutput { - return o.ApplyT(func(v LifecyclePolicyResourceSelection) interface{} { return v.TagMap }).(pulumi.AnyOutput) +func (o LifecyclePolicyResourceSelectionOutput) TagMap() pulumi.StringMapOutput { + return o.ApplyT(func(v LifecyclePolicyResourceSelection) map[string]string { return v.TagMap }).(pulumi.StringMapOutput) } type LifecyclePolicyResourceSelectionPtrOutput struct{ *pulumi.OutputState } @@ -6585,13 +6585,13 @@ func (o LifecyclePolicyResourceSelectionPtrOutput) Recipes() LifecyclePolicyReci } // The Image Builder resources to select by tag. -func (o LifecyclePolicyResourceSelectionPtrOutput) TagMap() pulumi.AnyOutput { - return o.ApplyT(func(v *LifecyclePolicyResourceSelection) interface{} { +func (o LifecyclePolicyResourceSelectionPtrOutput) TagMap() pulumi.StringMapOutput { + return o.ApplyT(func(v *LifecyclePolicyResourceSelection) map[string]string { if v == nil { return nil } return v.TagMap - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/imagebuilder/workflow.go b/sdk/go/aws/imagebuilder/workflow.go index 47b6f6155a..8a910d97e8 100644 --- a/sdk/go/aws/imagebuilder/workflow.go +++ b/sdk/go/aws/imagebuilder/workflow.go @@ -29,7 +29,7 @@ type Workflow struct { // The name of the workflow. Name pulumi.StringOutput `pulumi:"name"` // The tags associated with the workflow. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The type of the workflow denotes whether the workflow is used to build, test, or distribute. Type WorkflowTypeOutput `pulumi:"type"` // The uri of the workflow. @@ -57,7 +57,7 @@ func NewWorkflow(ctx *pulumi.Context, "description", "kmsKeyId", "name", - "tags", + "tags.*", "type", "uri", "version", @@ -107,7 +107,7 @@ type workflowArgs struct { // The name of the workflow. Name *string `pulumi:"name"` // The tags associated with the workflow. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The type of the workflow denotes whether the workflow is used to build, test, or distribute. Type WorkflowType `pulumi:"type"` // The uri of the workflow. @@ -129,7 +129,7 @@ type WorkflowArgs struct { // The name of the workflow. Name pulumi.StringPtrInput // The tags associated with the workflow. - Tags pulumi.Input + Tags pulumi.StringMapInput // The type of the workflow denotes whether the workflow is used to build, test, or distribute. Type WorkflowTypeInput // The uri of the workflow. @@ -206,8 +206,8 @@ func (o WorkflowOutput) Name() pulumi.StringOutput { } // The tags associated with the workflow. -func (o WorkflowOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *Workflow) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o WorkflowOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Workflow) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The type of the workflow denotes whether the workflow is used to build, test, or distribute. diff --git a/sdk/go/aws/iot/authorizer.go b/sdk/go/aws/iot/authorizer.go index 57d77fa9f0..4392536aeb 100644 --- a/sdk/go/aws/iot/authorizer.go +++ b/sdk/go/aws/iot/authorizer.go @@ -24,7 +24,7 @@ type Authorizer struct { Status AuthorizerStatusPtrOutput `pulumi:"status"` Tags AuthorizerTagArrayOutput `pulumi:"tags"` TokenKeyName pulumi.StringPtrOutput `pulumi:"tokenKeyName"` - TokenSigningPublicKeys pulumi.AnyOutput `pulumi:"tokenSigningPublicKeys"` + TokenSigningPublicKeys pulumi.StringMapOutput `pulumi:"tokenSigningPublicKeys"` } // NewAuthorizer registers a new resource with the given unique name, arguments, and options. @@ -82,7 +82,7 @@ type authorizerArgs struct { Status *AuthorizerStatus `pulumi:"status"` Tags []AuthorizerTag `pulumi:"tags"` TokenKeyName *string `pulumi:"tokenKeyName"` - TokenSigningPublicKeys interface{} `pulumi:"tokenSigningPublicKeys"` + TokenSigningPublicKeys map[string]string `pulumi:"tokenSigningPublicKeys"` } // The set of arguments for constructing a Authorizer resource. @@ -94,7 +94,7 @@ type AuthorizerArgs struct { Status AuthorizerStatusPtrInput Tags AuthorizerTagArrayInput TokenKeyName pulumi.StringPtrInput - TokenSigningPublicKeys pulumi.Input + TokenSigningPublicKeys pulumi.StringMapInput } func (AuthorizerArgs) ElementType() reflect.Type { @@ -166,8 +166,8 @@ func (o AuthorizerOutput) TokenKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v *Authorizer) pulumi.StringPtrOutput { return v.TokenKeyName }).(pulumi.StringPtrOutput) } -func (o AuthorizerOutput) TokenSigningPublicKeys() pulumi.AnyOutput { - return o.ApplyT(func(v *Authorizer) pulumi.AnyOutput { return v.TokenSigningPublicKeys }).(pulumi.AnyOutput) +func (o AuthorizerOutput) TokenSigningPublicKeys() pulumi.StringMapOutput { + return o.ApplyT(func(v *Authorizer) pulumi.StringMapOutput { return v.TokenSigningPublicKeys }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/iot/getAuthorizer.go b/sdk/go/aws/iot/getAuthorizer.go index eab0af3611..67e8816975 100644 --- a/sdk/go/aws/iot/getAuthorizer.go +++ b/sdk/go/aws/iot/getAuthorizer.go @@ -33,7 +33,7 @@ type LookupAuthorizerResult struct { Status *AuthorizerStatus `pulumi:"status"` Tags []AuthorizerTag `pulumi:"tags"` TokenKeyName *string `pulumi:"tokenKeyName"` - TokenSigningPublicKeys interface{} `pulumi:"tokenSigningPublicKeys"` + TokenSigningPublicKeys map[string]string `pulumi:"tokenSigningPublicKeys"` } func LookupAuthorizerOutput(ctx *pulumi.Context, args LookupAuthorizerOutputArgs, opts ...pulumi.InvokeOption) LookupAuthorizerResultOutput { @@ -95,8 +95,8 @@ func (o LookupAuthorizerResultOutput) TokenKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupAuthorizerResult) *string { return v.TokenKeyName }).(pulumi.StringPtrOutput) } -func (o LookupAuthorizerResultOutput) TokenSigningPublicKeys() pulumi.AnyOutput { - return o.ApplyT(func(v LookupAuthorizerResult) interface{} { return v.TokenSigningPublicKeys }).(pulumi.AnyOutput) +func (o LookupAuthorizerResultOutput) TokenSigningPublicKeys() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupAuthorizerResult) map[string]string { return v.TokenSigningPublicKeys }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/iot/getSecurityProfile.go b/sdk/go/aws/iot/getSecurityProfile.go index a352944bc1..392022aaa3 100644 --- a/sdk/go/aws/iot/getSecurityProfile.go +++ b/sdk/go/aws/iot/getSecurityProfile.go @@ -31,7 +31,7 @@ type LookupSecurityProfileResult struct { // A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here. AdditionalMetricsToRetainV2 []SecurityProfileMetricToRetain `pulumi:"additionalMetricsToRetainV2"` // Specifies the destinations to which alerts are sent. - AlertTargets interface{} `pulumi:"alertTargets"` + AlertTargets map[string]SecurityProfileAlertTarget `pulumi:"alertTargets"` // Specifies the behaviors that, when violated by a device (thing), cause an alert. Behaviors []SecurityProfileBehavior `pulumi:"behaviors"` // A structure containing the mqtt topic for metrics export. @@ -90,8 +90,8 @@ func (o LookupSecurityProfileResultOutput) AdditionalMetricsToRetainV2() Securit } // Specifies the destinations to which alerts are sent. -func (o LookupSecurityProfileResultOutput) AlertTargets() pulumi.AnyOutput { - return o.ApplyT(func(v LookupSecurityProfileResult) interface{} { return v.AlertTargets }).(pulumi.AnyOutput) +func (o LookupSecurityProfileResultOutput) AlertTargets() SecurityProfileAlertTargetMapOutput { + return o.ApplyT(func(v LookupSecurityProfileResult) map[string]SecurityProfileAlertTarget { return v.AlertTargets }).(SecurityProfileAlertTargetMapOutput) } // Specifies the behaviors that, when violated by a device (thing), cause an alert. diff --git a/sdk/go/aws/iot/pulumiTypes.go b/sdk/go/aws/iot/pulumiTypes.go index 72062e32ad..024b598134 100644 --- a/sdk/go/aws/iot/pulumiTypes.go +++ b/sdk/go/aws/iot/pulumiTypes.go @@ -5816,6 +5816,115 @@ func (o ScheduledAuditTagArrayOutput) Index(i pulumi.IntInput) ScheduledAuditTag }).(ScheduledAuditTagOutput) } +// A structure containing the alert target ARN and the role ARN. +type SecurityProfileAlertTarget struct { + // The ARN of the notification target to which alerts are sent. + AlertTargetArn string `pulumi:"alertTargetArn"` + // The ARN of the role that grants permission to send alerts to the notification target. + RoleArn string `pulumi:"roleArn"` +} + +// SecurityProfileAlertTargetInput is an input type that accepts SecurityProfileAlertTargetArgs and SecurityProfileAlertTargetOutput values. +// You can construct a concrete instance of `SecurityProfileAlertTargetInput` via: +// +// SecurityProfileAlertTargetArgs{...} +type SecurityProfileAlertTargetInput interface { + pulumi.Input + + ToSecurityProfileAlertTargetOutput() SecurityProfileAlertTargetOutput + ToSecurityProfileAlertTargetOutputWithContext(context.Context) SecurityProfileAlertTargetOutput +} + +// A structure containing the alert target ARN and the role ARN. +type SecurityProfileAlertTargetArgs struct { + // The ARN of the notification target to which alerts are sent. + AlertTargetArn pulumi.StringInput `pulumi:"alertTargetArn"` + // The ARN of the role that grants permission to send alerts to the notification target. + RoleArn pulumi.StringInput `pulumi:"roleArn"` +} + +func (SecurityProfileAlertTargetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityProfileAlertTarget)(nil)).Elem() +} + +func (i SecurityProfileAlertTargetArgs) ToSecurityProfileAlertTargetOutput() SecurityProfileAlertTargetOutput { + return i.ToSecurityProfileAlertTargetOutputWithContext(context.Background()) +} + +func (i SecurityProfileAlertTargetArgs) ToSecurityProfileAlertTargetOutputWithContext(ctx context.Context) SecurityProfileAlertTargetOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityProfileAlertTargetOutput) +} + +// SecurityProfileAlertTargetMapInput is an input type that accepts SecurityProfileAlertTargetMap and SecurityProfileAlertTargetMapOutput values. +// You can construct a concrete instance of `SecurityProfileAlertTargetMapInput` via: +// +// SecurityProfileAlertTargetMap{ "key": SecurityProfileAlertTargetArgs{...} } +type SecurityProfileAlertTargetMapInput interface { + pulumi.Input + + ToSecurityProfileAlertTargetMapOutput() SecurityProfileAlertTargetMapOutput + ToSecurityProfileAlertTargetMapOutputWithContext(context.Context) SecurityProfileAlertTargetMapOutput +} + +type SecurityProfileAlertTargetMap map[string]SecurityProfileAlertTargetInput + +func (SecurityProfileAlertTargetMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]SecurityProfileAlertTarget)(nil)).Elem() +} + +func (i SecurityProfileAlertTargetMap) ToSecurityProfileAlertTargetMapOutput() SecurityProfileAlertTargetMapOutput { + return i.ToSecurityProfileAlertTargetMapOutputWithContext(context.Background()) +} + +func (i SecurityProfileAlertTargetMap) ToSecurityProfileAlertTargetMapOutputWithContext(ctx context.Context) SecurityProfileAlertTargetMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityProfileAlertTargetMapOutput) +} + +// A structure containing the alert target ARN and the role ARN. +type SecurityProfileAlertTargetOutput struct{ *pulumi.OutputState } + +func (SecurityProfileAlertTargetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityProfileAlertTarget)(nil)).Elem() +} + +func (o SecurityProfileAlertTargetOutput) ToSecurityProfileAlertTargetOutput() SecurityProfileAlertTargetOutput { + return o +} + +func (o SecurityProfileAlertTargetOutput) ToSecurityProfileAlertTargetOutputWithContext(ctx context.Context) SecurityProfileAlertTargetOutput { + return o +} + +// The ARN of the notification target to which alerts are sent. +func (o SecurityProfileAlertTargetOutput) AlertTargetArn() pulumi.StringOutput { + return o.ApplyT(func(v SecurityProfileAlertTarget) string { return v.AlertTargetArn }).(pulumi.StringOutput) +} + +// The ARN of the role that grants permission to send alerts to the notification target. +func (o SecurityProfileAlertTargetOutput) RoleArn() pulumi.StringOutput { + return o.ApplyT(func(v SecurityProfileAlertTarget) string { return v.RoleArn }).(pulumi.StringOutput) +} + +type SecurityProfileAlertTargetMapOutput struct{ *pulumi.OutputState } + +func (SecurityProfileAlertTargetMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]SecurityProfileAlertTarget)(nil)).Elem() +} + +func (o SecurityProfileAlertTargetMapOutput) ToSecurityProfileAlertTargetMapOutput() SecurityProfileAlertTargetMapOutput { + return o +} + +func (o SecurityProfileAlertTargetMapOutput) ToSecurityProfileAlertTargetMapOutputWithContext(ctx context.Context) SecurityProfileAlertTargetMapOutput { + return o +} + +func (o SecurityProfileAlertTargetMapOutput) MapIndex(k pulumi.StringInput) SecurityProfileAlertTargetOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) SecurityProfileAlertTarget { + return vs[0].(map[string]SecurityProfileAlertTarget)[vs[1].(string)] + }).(SecurityProfileAlertTargetOutput) +} + // A security profile behavior. type SecurityProfileBehavior struct { Criteria *SecurityProfileBehaviorCriteria `pulumi:"criteria"` @@ -7436,7 +7545,7 @@ func (o SoftwarePackageVersionTagArrayOutput) Index(i pulumi.IntInput) SoftwareP } type ThingAttributePayload struct { - Attributes interface{} `pulumi:"attributes"` + Attributes map[string]string `pulumi:"attributes"` } // ThingAttributePayloadInput is an input type that accepts ThingAttributePayloadArgs and ThingAttributePayloadOutput values. @@ -7451,7 +7560,7 @@ type ThingAttributePayloadInput interface { } type ThingAttributePayloadArgs struct { - Attributes pulumi.Input `pulumi:"attributes"` + Attributes pulumi.StringMapInput `pulumi:"attributes"` } func (ThingAttributePayloadArgs) ElementType() reflect.Type { @@ -7531,8 +7640,8 @@ func (o ThingAttributePayloadOutput) ToThingAttributePayloadPtrOutputWithContext }).(ThingAttributePayloadPtrOutput) } -func (o ThingAttributePayloadOutput) Attributes() pulumi.AnyOutput { - return o.ApplyT(func(v ThingAttributePayload) interface{} { return v.Attributes }).(pulumi.AnyOutput) +func (o ThingAttributePayloadOutput) Attributes() pulumi.StringMapOutput { + return o.ApplyT(func(v ThingAttributePayload) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) } type ThingAttributePayloadPtrOutput struct{ *pulumi.OutputState } @@ -7559,17 +7668,17 @@ func (o ThingAttributePayloadPtrOutput) Elem() ThingAttributePayloadOutput { }).(ThingAttributePayloadOutput) } -func (o ThingAttributePayloadPtrOutput) Attributes() pulumi.AnyOutput { - return o.ApplyT(func(v *ThingAttributePayload) interface{} { +func (o ThingAttributePayloadPtrOutput) Attributes() pulumi.StringMapOutput { + return o.ApplyT(func(v *ThingAttributePayload) map[string]string { if v == nil { return nil } return v.Attributes - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } type ThingGroupAttributePayload struct { - Attributes interface{} `pulumi:"attributes"` + Attributes map[string]string `pulumi:"attributes"` } // ThingGroupAttributePayloadInput is an input type that accepts ThingGroupAttributePayloadArgs and ThingGroupAttributePayloadOutput values. @@ -7584,7 +7693,7 @@ type ThingGroupAttributePayloadInput interface { } type ThingGroupAttributePayloadArgs struct { - Attributes pulumi.Input `pulumi:"attributes"` + Attributes pulumi.StringMapInput `pulumi:"attributes"` } func (ThingGroupAttributePayloadArgs) ElementType() reflect.Type { @@ -7664,8 +7773,8 @@ func (o ThingGroupAttributePayloadOutput) ToThingGroupAttributePayloadPtrOutputW }).(ThingGroupAttributePayloadPtrOutput) } -func (o ThingGroupAttributePayloadOutput) Attributes() pulumi.AnyOutput { - return o.ApplyT(func(v ThingGroupAttributePayload) interface{} { return v.Attributes }).(pulumi.AnyOutput) +func (o ThingGroupAttributePayloadOutput) Attributes() pulumi.StringMapOutput { + return o.ApplyT(func(v ThingGroupAttributePayload) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) } type ThingGroupAttributePayloadPtrOutput struct{ *pulumi.OutputState } @@ -7692,13 +7801,13 @@ func (o ThingGroupAttributePayloadPtrOutput) Elem() ThingGroupAttributePayloadOu }).(ThingGroupAttributePayloadOutput) } -func (o ThingGroupAttributePayloadPtrOutput) Attributes() pulumi.AnyOutput { - return o.ApplyT(func(v *ThingGroupAttributePayload) interface{} { +func (o ThingGroupAttributePayloadPtrOutput) Attributes() pulumi.StringMapOutput { + return o.ApplyT(func(v *ThingGroupAttributePayload) map[string]string { if v == nil { return nil } return v.Attributes - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } type ThingGroupPropertiesProperties struct { @@ -11607,7 +11716,7 @@ func (o TopicRuleIotSiteWiseActionPtrOutput) RoleArn() pulumi.StringPtrOutput { } type TopicRuleKafkaAction struct { - ClientProperties interface{} `pulumi:"clientProperties"` + ClientProperties map[string]string `pulumi:"clientProperties"` DestinationArn string `pulumi:"destinationArn"` Headers []TopicRuleKafkaActionHeader `pulumi:"headers"` Key *string `pulumi:"key"` @@ -11627,7 +11736,7 @@ type TopicRuleKafkaActionInput interface { } type TopicRuleKafkaActionArgs struct { - ClientProperties pulumi.Input `pulumi:"clientProperties"` + ClientProperties pulumi.StringMapInput `pulumi:"clientProperties"` DestinationArn pulumi.StringInput `pulumi:"destinationArn"` Headers TopicRuleKafkaActionHeaderArrayInput `pulumi:"headers"` Key pulumi.StringPtrInput `pulumi:"key"` @@ -11712,8 +11821,8 @@ func (o TopicRuleKafkaActionOutput) ToTopicRuleKafkaActionPtrOutputWithContext(c }).(TopicRuleKafkaActionPtrOutput) } -func (o TopicRuleKafkaActionOutput) ClientProperties() pulumi.AnyOutput { - return o.ApplyT(func(v TopicRuleKafkaAction) interface{} { return v.ClientProperties }).(pulumi.AnyOutput) +func (o TopicRuleKafkaActionOutput) ClientProperties() pulumi.StringMapOutput { + return o.ApplyT(func(v TopicRuleKafkaAction) map[string]string { return v.ClientProperties }).(pulumi.StringMapOutput) } func (o TopicRuleKafkaActionOutput) DestinationArn() pulumi.StringOutput { @@ -11760,13 +11869,13 @@ func (o TopicRuleKafkaActionPtrOutput) Elem() TopicRuleKafkaActionOutput { }).(TopicRuleKafkaActionOutput) } -func (o TopicRuleKafkaActionPtrOutput) ClientProperties() pulumi.AnyOutput { - return o.ApplyT(func(v *TopicRuleKafkaAction) interface{} { +func (o TopicRuleKafkaActionPtrOutput) ClientProperties() pulumi.StringMapOutput { + return o.ApplyT(func(v *TopicRuleKafkaAction) map[string]string { if v == nil { return nil } return v.ClientProperties - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o TopicRuleKafkaActionPtrOutput) DestinationArn() pulumi.StringPtrOutput { @@ -15107,6 +15216,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*RoleAliasTagArrayInput)(nil)).Elem(), RoleAliasTagArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ScheduledAuditTagInput)(nil)).Elem(), ScheduledAuditTagArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ScheduledAuditTagArrayInput)(nil)).Elem(), ScheduledAuditTagArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityProfileAlertTargetInput)(nil)).Elem(), SecurityProfileAlertTargetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityProfileAlertTargetMapInput)(nil)).Elem(), SecurityProfileAlertTargetMap{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityProfileBehaviorInput)(nil)).Elem(), SecurityProfileBehaviorArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityProfileBehaviorArrayInput)(nil)).Elem(), SecurityProfileBehaviorArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityProfileBehaviorCriteriaInput)(nil)).Elem(), SecurityProfileBehaviorCriteriaArgs{}) @@ -15309,6 +15420,8 @@ func init() { pulumi.RegisterOutputType(RoleAliasTagArrayOutput{}) pulumi.RegisterOutputType(ScheduledAuditTagOutput{}) pulumi.RegisterOutputType(ScheduledAuditTagArrayOutput{}) + pulumi.RegisterOutputType(SecurityProfileAlertTargetOutput{}) + pulumi.RegisterOutputType(SecurityProfileAlertTargetMapOutput{}) pulumi.RegisterOutputType(SecurityProfileBehaviorOutput{}) pulumi.RegisterOutputType(SecurityProfileBehaviorArrayOutput{}) pulumi.RegisterOutputType(SecurityProfileBehaviorCriteriaOutput{}) diff --git a/sdk/go/aws/iot/securityProfile.go b/sdk/go/aws/iot/securityProfile.go index b7fafe28ab..e1d98ff14a 100644 --- a/sdk/go/aws/iot/securityProfile.go +++ b/sdk/go/aws/iot/securityProfile.go @@ -18,7 +18,7 @@ type SecurityProfile struct { // A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here. AdditionalMetricsToRetainV2 SecurityProfileMetricToRetainArrayOutput `pulumi:"additionalMetricsToRetainV2"` // Specifies the destinations to which alerts are sent. - AlertTargets pulumi.AnyOutput `pulumi:"alertTargets"` + AlertTargets SecurityProfileAlertTargetMapOutput `pulumi:"alertTargets"` // Specifies the behaviors that, when violated by a device (thing), cause an alert. Behaviors SecurityProfileBehaviorArrayOutput `pulumi:"behaviors"` // A structure containing the mqtt topic for metrics export. @@ -82,7 +82,7 @@ type securityProfileArgs struct { // A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here. AdditionalMetricsToRetainV2 []SecurityProfileMetricToRetain `pulumi:"additionalMetricsToRetainV2"` // Specifies the destinations to which alerts are sent. - AlertTargets interface{} `pulumi:"alertTargets"` + AlertTargets map[string]SecurityProfileAlertTarget `pulumi:"alertTargets"` // Specifies the behaviors that, when violated by a device (thing), cause an alert. Behaviors []SecurityProfileBehavior `pulumi:"behaviors"` // A structure containing the mqtt topic for metrics export. @@ -102,7 +102,7 @@ type SecurityProfileArgs struct { // A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here. AdditionalMetricsToRetainV2 SecurityProfileMetricToRetainArrayInput // Specifies the destinations to which alerts are sent. - AlertTargets pulumi.Input + AlertTargets SecurityProfileAlertTargetMapInput // Specifies the behaviors that, when violated by a device (thing), cause an alert. Behaviors SecurityProfileBehaviorArrayInput // A structure containing the mqtt topic for metrics export. @@ -162,8 +162,8 @@ func (o SecurityProfileOutput) AdditionalMetricsToRetainV2() SecurityProfileMetr } // Specifies the destinations to which alerts are sent. -func (o SecurityProfileOutput) AlertTargets() pulumi.AnyOutput { - return o.ApplyT(func(v *SecurityProfile) pulumi.AnyOutput { return v.AlertTargets }).(pulumi.AnyOutput) +func (o SecurityProfileOutput) AlertTargets() SecurityProfileAlertTargetMapOutput { + return o.ApplyT(func(v *SecurityProfile) SecurityProfileAlertTargetMapOutput { return v.AlertTargets }).(SecurityProfileAlertTargetMapOutput) } // Specifies the behaviors that, when violated by a device (thing), cause an alert. diff --git a/sdk/go/aws/iotanalytics/pulumiTypes.go b/sdk/go/aws/iotanalytics/pulumiTypes.go index 21c073874f..9b821c1270 100644 --- a/sdk/go/aws/iotanalytics/pulumiTypes.go +++ b/sdk/go/aws/iotanalytics/pulumiTypes.go @@ -5845,9 +5845,9 @@ func (o PipelineActivityArrayOutput) Index(i pulumi.IntInput) PipelineActivityOu } type PipelineAddAttributes struct { - Attributes interface{} `pulumi:"attributes"` - Name string `pulumi:"name"` - Next *string `pulumi:"next"` + Attributes map[string]string `pulumi:"attributes"` + Name string `pulumi:"name"` + Next *string `pulumi:"next"` } // PipelineAddAttributesInput is an input type that accepts PipelineAddAttributesArgs and PipelineAddAttributesOutput values. @@ -5862,7 +5862,7 @@ type PipelineAddAttributesInput interface { } type PipelineAddAttributesArgs struct { - Attributes pulumi.Input `pulumi:"attributes"` + Attributes pulumi.StringMapInput `pulumi:"attributes"` Name pulumi.StringInput `pulumi:"name"` Next pulumi.StringPtrInput `pulumi:"next"` } @@ -5944,8 +5944,8 @@ func (o PipelineAddAttributesOutput) ToPipelineAddAttributesPtrOutputWithContext }).(PipelineAddAttributesPtrOutput) } -func (o PipelineAddAttributesOutput) Attributes() pulumi.AnyOutput { - return o.ApplyT(func(v PipelineAddAttributes) interface{} { return v.Attributes }).(pulumi.AnyOutput) +func (o PipelineAddAttributesOutput) Attributes() pulumi.StringMapOutput { + return o.ApplyT(func(v PipelineAddAttributes) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) } func (o PipelineAddAttributesOutput) Name() pulumi.StringOutput { @@ -5980,13 +5980,13 @@ func (o PipelineAddAttributesPtrOutput) Elem() PipelineAddAttributesOutput { }).(PipelineAddAttributesOutput) } -func (o PipelineAddAttributesPtrOutput) Attributes() pulumi.AnyOutput { - return o.ApplyT(func(v *PipelineAddAttributes) interface{} { +func (o PipelineAddAttributesPtrOutput) Attributes() pulumi.StringMapOutput { + return o.ApplyT(func(v *PipelineAddAttributes) map[string]string { if v == nil { return nil } return v.Attributes - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } func (o PipelineAddAttributesPtrOutput) Name() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/iottwinmaker/componentType.go b/sdk/go/aws/iottwinmaker/componentType.go index d263a04ecd..fa5733c4de 100644 --- a/sdk/go/aws/iottwinmaker/componentType.go +++ b/sdk/go/aws/iottwinmaker/componentType.go @@ -21,7 +21,7 @@ type ComponentType struct { // The ID of the component type. ComponentTypeId pulumi.StringOutput `pulumi:"componentTypeId"` // An map of the composite component types in the component type. Each composite component type's key must be unique to this map. - CompositeComponentTypes pulumi.AnyOutput `pulumi:"compositeComponentTypes"` + CompositeComponentTypes ComponentTypeCompositeComponentTypeMapOutput `pulumi:"compositeComponentTypes"` // The date and time when the component type was created. CreationDateTime pulumi.StringOutput `pulumi:"creationDateTime"` // The description of the component type. @@ -29,7 +29,7 @@ type ComponentType struct { // Specifies the parent component type to extend. ExtendsFrom pulumi.StringArrayOutput `pulumi:"extendsFrom"` // a Map of functions in the component type. Each function's key must be unique to this map. - Functions pulumi.AnyOutput `pulumi:"functions"` + Functions ComponentTypeFunctionMapOutput `pulumi:"functions"` // A Boolean value that specifies whether the component type is abstract. IsAbstract pulumi.BoolOutput `pulumi:"isAbstract"` // A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run. @@ -37,13 +37,13 @@ type ComponentType struct { // A Boolean value that specifies whether an entity can have more than one component of this type. IsSingleton pulumi.BoolPtrOutput `pulumi:"isSingleton"` // An map of the property definitions in the component type. Each property definition's key must be unique to this map. - PropertyDefinitions pulumi.AnyOutput `pulumi:"propertyDefinitions"` + PropertyDefinitions ComponentTypePropertyDefinitionMapOutput `pulumi:"propertyDefinitions"` // An map of the property groups in the component type. Each property group's key must be unique to this map. - PropertyGroups pulumi.AnyOutput `pulumi:"propertyGroups"` + PropertyGroups ComponentTypePropertyGroupMapOutput `pulumi:"propertyGroups"` // The current status of the component type. Status ComponentTypeStatusOutput `pulumi:"status"` // A map of key-value pairs to associate with a resource. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The last date and time when the component type was updated. UpdateDateTime pulumi.StringOutput `pulumi:"updateDateTime"` // The ID of the workspace that contains the component type. @@ -104,21 +104,21 @@ type componentTypeArgs struct { // The ID of the component type. ComponentTypeId string `pulumi:"componentTypeId"` // An map of the composite component types in the component type. Each composite component type's key must be unique to this map. - CompositeComponentTypes interface{} `pulumi:"compositeComponentTypes"` + CompositeComponentTypes map[string]ComponentTypeCompositeComponentType `pulumi:"compositeComponentTypes"` // The description of the component type. Description *string `pulumi:"description"` // Specifies the parent component type to extend. ExtendsFrom []string `pulumi:"extendsFrom"` // a Map of functions in the component type. Each function's key must be unique to this map. - Functions interface{} `pulumi:"functions"` + Functions map[string]ComponentTypeFunction `pulumi:"functions"` // A Boolean value that specifies whether an entity can have more than one component of this type. IsSingleton *bool `pulumi:"isSingleton"` // An map of the property definitions in the component type. Each property definition's key must be unique to this map. - PropertyDefinitions interface{} `pulumi:"propertyDefinitions"` + PropertyDefinitions map[string]ComponentTypePropertyDefinition `pulumi:"propertyDefinitions"` // An map of the property groups in the component type. Each property group's key must be unique to this map. - PropertyGroups interface{} `pulumi:"propertyGroups"` + PropertyGroups map[string]ComponentTypePropertyGroup `pulumi:"propertyGroups"` // A map of key-value pairs to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The ID of the workspace that contains the component type. WorkspaceId string `pulumi:"workspaceId"` } @@ -128,21 +128,21 @@ type ComponentTypeArgs struct { // The ID of the component type. ComponentTypeId pulumi.StringInput // An map of the composite component types in the component type. Each composite component type's key must be unique to this map. - CompositeComponentTypes pulumi.Input + CompositeComponentTypes ComponentTypeCompositeComponentTypeMapInput // The description of the component type. Description pulumi.StringPtrInput // Specifies the parent component type to extend. ExtendsFrom pulumi.StringArrayInput // a Map of functions in the component type. Each function's key must be unique to this map. - Functions pulumi.Input + Functions ComponentTypeFunctionMapInput // A Boolean value that specifies whether an entity can have more than one component of this type. IsSingleton pulumi.BoolPtrInput // An map of the property definitions in the component type. Each property definition's key must be unique to this map. - PropertyDefinitions pulumi.Input + PropertyDefinitions ComponentTypePropertyDefinitionMapInput // An map of the property groups in the component type. Each property group's key must be unique to this map. - PropertyGroups pulumi.Input + PropertyGroups ComponentTypePropertyGroupMapInput // A map of key-value pairs to associate with a resource. - Tags pulumi.Input + Tags pulumi.StringMapInput // The ID of the workspace that contains the component type. WorkspaceId pulumi.StringInput } @@ -195,8 +195,8 @@ func (o ComponentTypeOutput) ComponentTypeId() pulumi.StringOutput { } // An map of the composite component types in the component type. Each composite component type's key must be unique to this map. -func (o ComponentTypeOutput) CompositeComponentTypes() pulumi.AnyOutput { - return o.ApplyT(func(v *ComponentType) pulumi.AnyOutput { return v.CompositeComponentTypes }).(pulumi.AnyOutput) +func (o ComponentTypeOutput) CompositeComponentTypes() ComponentTypeCompositeComponentTypeMapOutput { + return o.ApplyT(func(v *ComponentType) ComponentTypeCompositeComponentTypeMapOutput { return v.CompositeComponentTypes }).(ComponentTypeCompositeComponentTypeMapOutput) } // The date and time when the component type was created. @@ -215,8 +215,8 @@ func (o ComponentTypeOutput) ExtendsFrom() pulumi.StringArrayOutput { } // a Map of functions in the component type. Each function's key must be unique to this map. -func (o ComponentTypeOutput) Functions() pulumi.AnyOutput { - return o.ApplyT(func(v *ComponentType) pulumi.AnyOutput { return v.Functions }).(pulumi.AnyOutput) +func (o ComponentTypeOutput) Functions() ComponentTypeFunctionMapOutput { + return o.ApplyT(func(v *ComponentType) ComponentTypeFunctionMapOutput { return v.Functions }).(ComponentTypeFunctionMapOutput) } // A Boolean value that specifies whether the component type is abstract. @@ -235,13 +235,13 @@ func (o ComponentTypeOutput) IsSingleton() pulumi.BoolPtrOutput { } // An map of the property definitions in the component type. Each property definition's key must be unique to this map. -func (o ComponentTypeOutput) PropertyDefinitions() pulumi.AnyOutput { - return o.ApplyT(func(v *ComponentType) pulumi.AnyOutput { return v.PropertyDefinitions }).(pulumi.AnyOutput) +func (o ComponentTypeOutput) PropertyDefinitions() ComponentTypePropertyDefinitionMapOutput { + return o.ApplyT(func(v *ComponentType) ComponentTypePropertyDefinitionMapOutput { return v.PropertyDefinitions }).(ComponentTypePropertyDefinitionMapOutput) } // An map of the property groups in the component type. Each property group's key must be unique to this map. -func (o ComponentTypeOutput) PropertyGroups() pulumi.AnyOutput { - return o.ApplyT(func(v *ComponentType) pulumi.AnyOutput { return v.PropertyGroups }).(pulumi.AnyOutput) +func (o ComponentTypeOutput) PropertyGroups() ComponentTypePropertyGroupMapOutput { + return o.ApplyT(func(v *ComponentType) ComponentTypePropertyGroupMapOutput { return v.PropertyGroups }).(ComponentTypePropertyGroupMapOutput) } // The current status of the component type. @@ -250,8 +250,8 @@ func (o ComponentTypeOutput) Status() ComponentTypeStatusOutput { } // A map of key-value pairs to associate with a resource. -func (o ComponentTypeOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *ComponentType) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ComponentTypeOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *ComponentType) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The last date and time when the component type was updated. diff --git a/sdk/go/aws/iottwinmaker/entity.go b/sdk/go/aws/iottwinmaker/entity.go index a968d67afe..3af537e700 100644 --- a/sdk/go/aws/iottwinmaker/entity.go +++ b/sdk/go/aws/iottwinmaker/entity.go @@ -19,9 +19,9 @@ type Entity struct { // The ARN of the entity. Arn pulumi.StringOutput `pulumi:"arn"` // A map that sets information about a component type. - Components pulumi.AnyOutput `pulumi:"components"` + Components EntityComponentMapOutput `pulumi:"components"` // A map that sets information about a composite component. - CompositeComponents pulumi.AnyOutput `pulumi:"compositeComponents"` + CompositeComponents EntityCompositeComponentMapOutput `pulumi:"compositeComponents"` // The date and time when the entity was created. CreationDateTime pulumi.StringOutput `pulumi:"creationDateTime"` // The description of the entity. @@ -37,7 +37,7 @@ type Entity struct { // The current status of the entity. Status EntityStatusOutput `pulumi:"status"` // A key-value pair to associate with a resource. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The last date and time when the entity was updated. UpdateDateTime pulumi.StringOutput `pulumi:"updateDateTime"` // The ID of the workspace. @@ -93,9 +93,9 @@ func (EntityState) ElementType() reflect.Type { type entityArgs struct { // A map that sets information about a component type. - Components interface{} `pulumi:"components"` + Components map[string]EntityComponent `pulumi:"components"` // A map that sets information about a composite component. - CompositeComponents interface{} `pulumi:"compositeComponents"` + CompositeComponents map[string]EntityCompositeComponent `pulumi:"compositeComponents"` // The description of the entity. Description *string `pulumi:"description"` // The ID of the entity. @@ -105,7 +105,7 @@ type entityArgs struct { // The ID of the parent entity. ParentEntityId *string `pulumi:"parentEntityId"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The ID of the workspace. WorkspaceId string `pulumi:"workspaceId"` } @@ -113,9 +113,9 @@ type entityArgs struct { // The set of arguments for constructing a Entity resource. type EntityArgs struct { // A map that sets information about a component type. - Components pulumi.Input + Components EntityComponentMapInput // A map that sets information about a composite component. - CompositeComponents pulumi.Input + CompositeComponents EntityCompositeComponentMapInput // The description of the entity. Description pulumi.StringPtrInput // The ID of the entity. @@ -125,7 +125,7 @@ type EntityArgs struct { // The ID of the parent entity. ParentEntityId pulumi.StringPtrInput // A key-value pair to associate with a resource. - Tags pulumi.Input + Tags pulumi.StringMapInput // The ID of the workspace. WorkspaceId pulumi.StringInput } @@ -173,13 +173,13 @@ func (o EntityOutput) Arn() pulumi.StringOutput { } // A map that sets information about a component type. -func (o EntityOutput) Components() pulumi.AnyOutput { - return o.ApplyT(func(v *Entity) pulumi.AnyOutput { return v.Components }).(pulumi.AnyOutput) +func (o EntityOutput) Components() EntityComponentMapOutput { + return o.ApplyT(func(v *Entity) EntityComponentMapOutput { return v.Components }).(EntityComponentMapOutput) } // A map that sets information about a composite component. -func (o EntityOutput) CompositeComponents() pulumi.AnyOutput { - return o.ApplyT(func(v *Entity) pulumi.AnyOutput { return v.CompositeComponents }).(pulumi.AnyOutput) +func (o EntityOutput) CompositeComponents() EntityCompositeComponentMapOutput { + return o.ApplyT(func(v *Entity) EntityCompositeComponentMapOutput { return v.CompositeComponents }).(EntityCompositeComponentMapOutput) } // The date and time when the entity was created. @@ -218,8 +218,8 @@ func (o EntityOutput) Status() EntityStatusOutput { } // A key-value pair to associate with a resource. -func (o EntityOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *Entity) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o EntityOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Entity) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The last date and time when the entity was updated. diff --git a/sdk/go/aws/iottwinmaker/getComponentType.go b/sdk/go/aws/iottwinmaker/getComponentType.go index 2cddc8e294..e04f039dec 100644 --- a/sdk/go/aws/iottwinmaker/getComponentType.go +++ b/sdk/go/aws/iottwinmaker/getComponentType.go @@ -33,7 +33,7 @@ type LookupComponentTypeResult struct { // The ARN of the component type. Arn *string `pulumi:"arn"` // An map of the composite component types in the component type. Each composite component type's key must be unique to this map. - CompositeComponentTypes interface{} `pulumi:"compositeComponentTypes"` + CompositeComponentTypes map[string]ComponentTypeCompositeComponentType `pulumi:"compositeComponentTypes"` // The date and time when the component type was created. CreationDateTime *string `pulumi:"creationDateTime"` // The description of the component type. @@ -41,7 +41,7 @@ type LookupComponentTypeResult struct { // Specifies the parent component type to extend. ExtendsFrom []string `pulumi:"extendsFrom"` // a Map of functions in the component type. Each function's key must be unique to this map. - Functions interface{} `pulumi:"functions"` + Functions map[string]ComponentTypeFunction `pulumi:"functions"` // A Boolean value that specifies whether the component type is abstract. IsAbstract *bool `pulumi:"isAbstract"` // A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run. @@ -49,13 +49,13 @@ type LookupComponentTypeResult struct { // A Boolean value that specifies whether an entity can have more than one component of this type. IsSingleton *bool `pulumi:"isSingleton"` // An map of the property definitions in the component type. Each property definition's key must be unique to this map. - PropertyDefinitions interface{} `pulumi:"propertyDefinitions"` + PropertyDefinitions map[string]ComponentTypePropertyDefinition `pulumi:"propertyDefinitions"` // An map of the property groups in the component type. Each property group's key must be unique to this map. - PropertyGroups interface{} `pulumi:"propertyGroups"` + PropertyGroups map[string]ComponentTypePropertyGroup `pulumi:"propertyGroups"` // The current status of the component type. Status *ComponentTypeStatus `pulumi:"status"` // A map of key-value pairs to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The last date and time when the component type was updated. UpdateDateTime *string `pulumi:"updateDateTime"` } @@ -104,8 +104,10 @@ func (o LookupComponentTypeResultOutput) Arn() pulumi.StringPtrOutput { } // An map of the composite component types in the component type. Each composite component type's key must be unique to this map. -func (o LookupComponentTypeResultOutput) CompositeComponentTypes() pulumi.AnyOutput { - return o.ApplyT(func(v LookupComponentTypeResult) interface{} { return v.CompositeComponentTypes }).(pulumi.AnyOutput) +func (o LookupComponentTypeResultOutput) CompositeComponentTypes() ComponentTypeCompositeComponentTypeMapOutput { + return o.ApplyT(func(v LookupComponentTypeResult) map[string]ComponentTypeCompositeComponentType { + return v.CompositeComponentTypes + }).(ComponentTypeCompositeComponentTypeMapOutput) } // The date and time when the component type was created. @@ -124,8 +126,8 @@ func (o LookupComponentTypeResultOutput) ExtendsFrom() pulumi.StringArrayOutput } // a Map of functions in the component type. Each function's key must be unique to this map. -func (o LookupComponentTypeResultOutput) Functions() pulumi.AnyOutput { - return o.ApplyT(func(v LookupComponentTypeResult) interface{} { return v.Functions }).(pulumi.AnyOutput) +func (o LookupComponentTypeResultOutput) Functions() ComponentTypeFunctionMapOutput { + return o.ApplyT(func(v LookupComponentTypeResult) map[string]ComponentTypeFunction { return v.Functions }).(ComponentTypeFunctionMapOutput) } // A Boolean value that specifies whether the component type is abstract. @@ -144,13 +146,15 @@ func (o LookupComponentTypeResultOutput) IsSingleton() pulumi.BoolPtrOutput { } // An map of the property definitions in the component type. Each property definition's key must be unique to this map. -func (o LookupComponentTypeResultOutput) PropertyDefinitions() pulumi.AnyOutput { - return o.ApplyT(func(v LookupComponentTypeResult) interface{} { return v.PropertyDefinitions }).(pulumi.AnyOutput) +func (o LookupComponentTypeResultOutput) PropertyDefinitions() ComponentTypePropertyDefinitionMapOutput { + return o.ApplyT(func(v LookupComponentTypeResult) map[string]ComponentTypePropertyDefinition { + return v.PropertyDefinitions + }).(ComponentTypePropertyDefinitionMapOutput) } // An map of the property groups in the component type. Each property group's key must be unique to this map. -func (o LookupComponentTypeResultOutput) PropertyGroups() pulumi.AnyOutput { - return o.ApplyT(func(v LookupComponentTypeResult) interface{} { return v.PropertyGroups }).(pulumi.AnyOutput) +func (o LookupComponentTypeResultOutput) PropertyGroups() ComponentTypePropertyGroupMapOutput { + return o.ApplyT(func(v LookupComponentTypeResult) map[string]ComponentTypePropertyGroup { return v.PropertyGroups }).(ComponentTypePropertyGroupMapOutput) } // The current status of the component type. @@ -159,8 +163,8 @@ func (o LookupComponentTypeResultOutput) Status() ComponentTypeStatusPtrOutput { } // A map of key-value pairs to associate with a resource. -func (o LookupComponentTypeResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupComponentTypeResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupComponentTypeResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupComponentTypeResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } // The last date and time when the component type was updated. diff --git a/sdk/go/aws/iottwinmaker/getEntity.go b/sdk/go/aws/iottwinmaker/getEntity.go index ade0dddb26..25ddc580ce 100644 --- a/sdk/go/aws/iottwinmaker/getEntity.go +++ b/sdk/go/aws/iottwinmaker/getEntity.go @@ -33,9 +33,9 @@ type LookupEntityResult struct { // The ARN of the entity. Arn *string `pulumi:"arn"` // A map that sets information about a component type. - Components interface{} `pulumi:"components"` + Components map[string]EntityComponent `pulumi:"components"` // A map that sets information about a composite component. - CompositeComponents interface{} `pulumi:"compositeComponents"` + CompositeComponents map[string]EntityCompositeComponent `pulumi:"compositeComponents"` // The date and time when the entity was created. CreationDateTime *string `pulumi:"creationDateTime"` // The description of the entity. @@ -49,7 +49,7 @@ type LookupEntityResult struct { // The current status of the entity. Status *EntityStatus `pulumi:"status"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The last date and time when the entity was updated. UpdateDateTime *string `pulumi:"updateDateTime"` } @@ -98,13 +98,13 @@ func (o LookupEntityResultOutput) Arn() pulumi.StringPtrOutput { } // A map that sets information about a component type. -func (o LookupEntityResultOutput) Components() pulumi.AnyOutput { - return o.ApplyT(func(v LookupEntityResult) interface{} { return v.Components }).(pulumi.AnyOutput) +func (o LookupEntityResultOutput) Components() EntityComponentMapOutput { + return o.ApplyT(func(v LookupEntityResult) map[string]EntityComponent { return v.Components }).(EntityComponentMapOutput) } // A map that sets information about a composite component. -func (o LookupEntityResultOutput) CompositeComponents() pulumi.AnyOutput { - return o.ApplyT(func(v LookupEntityResult) interface{} { return v.CompositeComponents }).(pulumi.AnyOutput) +func (o LookupEntityResultOutput) CompositeComponents() EntityCompositeComponentMapOutput { + return o.ApplyT(func(v LookupEntityResult) map[string]EntityCompositeComponent { return v.CompositeComponents }).(EntityCompositeComponentMapOutput) } // The date and time when the entity was created. @@ -138,8 +138,8 @@ func (o LookupEntityResultOutput) Status() EntityStatusPtrOutput { } // A key-value pair to associate with a resource. -func (o LookupEntityResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupEntityResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupEntityResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupEntityResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } // The last date and time when the entity was updated. diff --git a/sdk/go/aws/iottwinmaker/getScene.go b/sdk/go/aws/iottwinmaker/getScene.go index 32d670ebe0..02874f746a 100644 --- a/sdk/go/aws/iottwinmaker/getScene.go +++ b/sdk/go/aws/iottwinmaker/getScene.go @@ -41,11 +41,11 @@ type LookupSceneResult struct { // The description of the scene. Description *string `pulumi:"description"` // A key-value pair of generated scene metadata for the scene. - GeneratedSceneMetadata interface{} `pulumi:"generatedSceneMetadata"` + GeneratedSceneMetadata map[string]string `pulumi:"generatedSceneMetadata"` // A key-value pair of scene metadata for the scene. - SceneMetadata interface{} `pulumi:"sceneMetadata"` + SceneMetadata map[string]string `pulumi:"sceneMetadata"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The date and time of the current update. UpdateDateTime *string `pulumi:"updateDateTime"` } @@ -114,18 +114,18 @@ func (o LookupSceneResultOutput) Description() pulumi.StringPtrOutput { } // A key-value pair of generated scene metadata for the scene. -func (o LookupSceneResultOutput) GeneratedSceneMetadata() pulumi.AnyOutput { - return o.ApplyT(func(v LookupSceneResult) interface{} { return v.GeneratedSceneMetadata }).(pulumi.AnyOutput) +func (o LookupSceneResultOutput) GeneratedSceneMetadata() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupSceneResult) map[string]string { return v.GeneratedSceneMetadata }).(pulumi.StringMapOutput) } // A key-value pair of scene metadata for the scene. -func (o LookupSceneResultOutput) SceneMetadata() pulumi.AnyOutput { - return o.ApplyT(func(v LookupSceneResult) interface{} { return v.SceneMetadata }).(pulumi.AnyOutput) +func (o LookupSceneResultOutput) SceneMetadata() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupSceneResult) map[string]string { return v.SceneMetadata }).(pulumi.StringMapOutput) } // A key-value pair to associate with a resource. -func (o LookupSceneResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupSceneResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupSceneResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupSceneResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } // The date and time of the current update. diff --git a/sdk/go/aws/iottwinmaker/getWorkspace.go b/sdk/go/aws/iottwinmaker/getWorkspace.go index 6de3c4bfa0..fa33b28f7e 100644 --- a/sdk/go/aws/iottwinmaker/getWorkspace.go +++ b/sdk/go/aws/iottwinmaker/getWorkspace.go @@ -39,7 +39,7 @@ type LookupWorkspaceResult struct { // The ARN of the S3 bucket where resources associated with the workspace are stored. S3Location *string `pulumi:"s3Location"` // A map of key-value pairs to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The date and time of the current update. UpdateDateTime *string `pulumi:"updateDateTime"` } @@ -106,8 +106,8 @@ func (o LookupWorkspaceResultOutput) S3Location() pulumi.StringPtrOutput { } // A map of key-value pairs to associate with a resource. -func (o LookupWorkspaceResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupWorkspaceResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupWorkspaceResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupWorkspaceResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } // The date and time of the current update. diff --git a/sdk/go/aws/iottwinmaker/pulumiEnums.go b/sdk/go/aws/iottwinmaker/pulumiEnums.go index 5fc896494d..25f0aa38fd 100644 --- a/sdk/go/aws/iottwinmaker/pulumiEnums.go +++ b/sdk/go/aws/iottwinmaker/pulumiEnums.go @@ -10,6 +10,514 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +// The underlying type of the data type. +type ComponentTypeDataTypeType string + +const ( + ComponentTypeDataTypeTypeRelationship = ComponentTypeDataTypeType("RELATIONSHIP") + ComponentTypeDataTypeTypeString = ComponentTypeDataTypeType("STRING") + ComponentTypeDataTypeTypeLong = ComponentTypeDataTypeType("LONG") + ComponentTypeDataTypeTypeBoolean = ComponentTypeDataTypeType("BOOLEAN") + ComponentTypeDataTypeTypeInteger = ComponentTypeDataTypeType("INTEGER") + ComponentTypeDataTypeTypeDouble = ComponentTypeDataTypeType("DOUBLE") + ComponentTypeDataTypeTypeList = ComponentTypeDataTypeType("LIST") + ComponentTypeDataTypeTypeMap = ComponentTypeDataTypeType("MAP") +) + +func (ComponentTypeDataTypeType) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeDataTypeType)(nil)).Elem() +} + +func (e ComponentTypeDataTypeType) ToComponentTypeDataTypeTypeOutput() ComponentTypeDataTypeTypeOutput { + return pulumi.ToOutput(e).(ComponentTypeDataTypeTypeOutput) +} + +func (e ComponentTypeDataTypeType) ToComponentTypeDataTypeTypeOutputWithContext(ctx context.Context) ComponentTypeDataTypeTypeOutput { + return pulumi.ToOutputWithContext(ctx, e).(ComponentTypeDataTypeTypeOutput) +} + +func (e ComponentTypeDataTypeType) ToComponentTypeDataTypeTypePtrOutput() ComponentTypeDataTypeTypePtrOutput { + return e.ToComponentTypeDataTypeTypePtrOutputWithContext(context.Background()) +} + +func (e ComponentTypeDataTypeType) ToComponentTypeDataTypeTypePtrOutputWithContext(ctx context.Context) ComponentTypeDataTypeTypePtrOutput { + return ComponentTypeDataTypeType(e).ToComponentTypeDataTypeTypeOutputWithContext(ctx).ToComponentTypeDataTypeTypePtrOutputWithContext(ctx) +} + +func (e ComponentTypeDataTypeType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ComponentTypeDataTypeType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ComponentTypeDataTypeType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e ComponentTypeDataTypeType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type ComponentTypeDataTypeTypeOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataTypeTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeDataTypeType)(nil)).Elem() +} + +func (o ComponentTypeDataTypeTypeOutput) ToComponentTypeDataTypeTypeOutput() ComponentTypeDataTypeTypeOutput { + return o +} + +func (o ComponentTypeDataTypeTypeOutput) ToComponentTypeDataTypeTypeOutputWithContext(ctx context.Context) ComponentTypeDataTypeTypeOutput { + return o +} + +func (o ComponentTypeDataTypeTypeOutput) ToComponentTypeDataTypeTypePtrOutput() ComponentTypeDataTypeTypePtrOutput { + return o.ToComponentTypeDataTypeTypePtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeDataTypeTypeOutput) ToComponentTypeDataTypeTypePtrOutputWithContext(ctx context.Context) ComponentTypeDataTypeTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComponentTypeDataTypeType) *ComponentTypeDataTypeType { + return &v + }).(ComponentTypeDataTypeTypePtrOutput) +} + +func (o ComponentTypeDataTypeTypeOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o ComponentTypeDataTypeTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ComponentTypeDataTypeType) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o ComponentTypeDataTypeTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeDataTypeTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ComponentTypeDataTypeType) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type ComponentTypeDataTypeTypePtrOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataTypeTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeDataTypeType)(nil)).Elem() +} + +func (o ComponentTypeDataTypeTypePtrOutput) ToComponentTypeDataTypeTypePtrOutput() ComponentTypeDataTypeTypePtrOutput { + return o +} + +func (o ComponentTypeDataTypeTypePtrOutput) ToComponentTypeDataTypeTypePtrOutputWithContext(ctx context.Context) ComponentTypeDataTypeTypePtrOutput { + return o +} + +func (o ComponentTypeDataTypeTypePtrOutput) Elem() ComponentTypeDataTypeTypeOutput { + return o.ApplyT(func(v *ComponentTypeDataTypeType) ComponentTypeDataTypeType { + if v != nil { + return *v + } + var ret ComponentTypeDataTypeType + return ret + }).(ComponentTypeDataTypeTypeOutput) +} + +func (o ComponentTypeDataTypeTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeDataTypeTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *ComponentTypeDataTypeType) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// ComponentTypeDataTypeTypeInput is an input type that accepts values of the ComponentTypeDataTypeType enum +// A concrete instance of `ComponentTypeDataTypeTypeInput` can be one of the following: +// +// ComponentTypeDataTypeTypeRelationship +// ComponentTypeDataTypeTypeString +// ComponentTypeDataTypeTypeLong +// ComponentTypeDataTypeTypeBoolean +// ComponentTypeDataTypeTypeInteger +// ComponentTypeDataTypeTypeDouble +// ComponentTypeDataTypeTypeList +// ComponentTypeDataTypeTypeMap +type ComponentTypeDataTypeTypeInput interface { + pulumi.Input + + ToComponentTypeDataTypeTypeOutput() ComponentTypeDataTypeTypeOutput + ToComponentTypeDataTypeTypeOutputWithContext(context.Context) ComponentTypeDataTypeTypeOutput +} + +var componentTypeDataTypeTypePtrType = reflect.TypeOf((**ComponentTypeDataTypeType)(nil)).Elem() + +type ComponentTypeDataTypeTypePtrInput interface { + pulumi.Input + + ToComponentTypeDataTypeTypePtrOutput() ComponentTypeDataTypeTypePtrOutput + ToComponentTypeDataTypeTypePtrOutputWithContext(context.Context) ComponentTypeDataTypeTypePtrOutput +} + +type componentTypeDataTypeTypePtr string + +func ComponentTypeDataTypeTypePtr(v string) ComponentTypeDataTypeTypePtrInput { + return (*componentTypeDataTypeTypePtr)(&v) +} + +func (*componentTypeDataTypeTypePtr) ElementType() reflect.Type { + return componentTypeDataTypeTypePtrType +} + +func (in *componentTypeDataTypeTypePtr) ToComponentTypeDataTypeTypePtrOutput() ComponentTypeDataTypeTypePtrOutput { + return pulumi.ToOutput(in).(ComponentTypeDataTypeTypePtrOutput) +} + +func (in *componentTypeDataTypeTypePtr) ToComponentTypeDataTypeTypePtrOutputWithContext(ctx context.Context) ComponentTypeDataTypeTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(ComponentTypeDataTypeTypePtrOutput) +} + +// The scope of the function. +type ComponentTypeFunctionScope string + +const ( + ComponentTypeFunctionScopeEntity = ComponentTypeFunctionScope("ENTITY") + ComponentTypeFunctionScopeWorkspace = ComponentTypeFunctionScope("WORKSPACE") +) + +func (ComponentTypeFunctionScope) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeFunctionScope)(nil)).Elem() +} + +func (e ComponentTypeFunctionScope) ToComponentTypeFunctionScopeOutput() ComponentTypeFunctionScopeOutput { + return pulumi.ToOutput(e).(ComponentTypeFunctionScopeOutput) +} + +func (e ComponentTypeFunctionScope) ToComponentTypeFunctionScopeOutputWithContext(ctx context.Context) ComponentTypeFunctionScopeOutput { + return pulumi.ToOutputWithContext(ctx, e).(ComponentTypeFunctionScopeOutput) +} + +func (e ComponentTypeFunctionScope) ToComponentTypeFunctionScopePtrOutput() ComponentTypeFunctionScopePtrOutput { + return e.ToComponentTypeFunctionScopePtrOutputWithContext(context.Background()) +} + +func (e ComponentTypeFunctionScope) ToComponentTypeFunctionScopePtrOutputWithContext(ctx context.Context) ComponentTypeFunctionScopePtrOutput { + return ComponentTypeFunctionScope(e).ToComponentTypeFunctionScopeOutputWithContext(ctx).ToComponentTypeFunctionScopePtrOutputWithContext(ctx) +} + +func (e ComponentTypeFunctionScope) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ComponentTypeFunctionScope) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ComponentTypeFunctionScope) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e ComponentTypeFunctionScope) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type ComponentTypeFunctionScopeOutput struct{ *pulumi.OutputState } + +func (ComponentTypeFunctionScopeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeFunctionScope)(nil)).Elem() +} + +func (o ComponentTypeFunctionScopeOutput) ToComponentTypeFunctionScopeOutput() ComponentTypeFunctionScopeOutput { + return o +} + +func (o ComponentTypeFunctionScopeOutput) ToComponentTypeFunctionScopeOutputWithContext(ctx context.Context) ComponentTypeFunctionScopeOutput { + return o +} + +func (o ComponentTypeFunctionScopeOutput) ToComponentTypeFunctionScopePtrOutput() ComponentTypeFunctionScopePtrOutput { + return o.ToComponentTypeFunctionScopePtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeFunctionScopeOutput) ToComponentTypeFunctionScopePtrOutputWithContext(ctx context.Context) ComponentTypeFunctionScopePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComponentTypeFunctionScope) *ComponentTypeFunctionScope { + return &v + }).(ComponentTypeFunctionScopePtrOutput) +} + +func (o ComponentTypeFunctionScopeOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o ComponentTypeFunctionScopeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ComponentTypeFunctionScope) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o ComponentTypeFunctionScopeOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeFunctionScopeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ComponentTypeFunctionScope) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type ComponentTypeFunctionScopePtrOutput struct{ *pulumi.OutputState } + +func (ComponentTypeFunctionScopePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeFunctionScope)(nil)).Elem() +} + +func (o ComponentTypeFunctionScopePtrOutput) ToComponentTypeFunctionScopePtrOutput() ComponentTypeFunctionScopePtrOutput { + return o +} + +func (o ComponentTypeFunctionScopePtrOutput) ToComponentTypeFunctionScopePtrOutputWithContext(ctx context.Context) ComponentTypeFunctionScopePtrOutput { + return o +} + +func (o ComponentTypeFunctionScopePtrOutput) Elem() ComponentTypeFunctionScopeOutput { + return o.ApplyT(func(v *ComponentTypeFunctionScope) ComponentTypeFunctionScope { + if v != nil { + return *v + } + var ret ComponentTypeFunctionScope + return ret + }).(ComponentTypeFunctionScopeOutput) +} + +func (o ComponentTypeFunctionScopePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeFunctionScopePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *ComponentTypeFunctionScope) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// ComponentTypeFunctionScopeInput is an input type that accepts values of the ComponentTypeFunctionScope enum +// A concrete instance of `ComponentTypeFunctionScopeInput` can be one of the following: +// +// ComponentTypeFunctionScopeEntity +// ComponentTypeFunctionScopeWorkspace +type ComponentTypeFunctionScopeInput interface { + pulumi.Input + + ToComponentTypeFunctionScopeOutput() ComponentTypeFunctionScopeOutput + ToComponentTypeFunctionScopeOutputWithContext(context.Context) ComponentTypeFunctionScopeOutput +} + +var componentTypeFunctionScopePtrType = reflect.TypeOf((**ComponentTypeFunctionScope)(nil)).Elem() + +type ComponentTypeFunctionScopePtrInput interface { + pulumi.Input + + ToComponentTypeFunctionScopePtrOutput() ComponentTypeFunctionScopePtrOutput + ToComponentTypeFunctionScopePtrOutputWithContext(context.Context) ComponentTypeFunctionScopePtrOutput +} + +type componentTypeFunctionScopePtr string + +func ComponentTypeFunctionScopePtr(v string) ComponentTypeFunctionScopePtrInput { + return (*componentTypeFunctionScopePtr)(&v) +} + +func (*componentTypeFunctionScopePtr) ElementType() reflect.Type { + return componentTypeFunctionScopePtrType +} + +func (in *componentTypeFunctionScopePtr) ToComponentTypeFunctionScopePtrOutput() ComponentTypeFunctionScopePtrOutput { + return pulumi.ToOutput(in).(ComponentTypeFunctionScopePtrOutput) +} + +func (in *componentTypeFunctionScopePtr) ToComponentTypeFunctionScopePtrOutputWithContext(ctx context.Context) ComponentTypeFunctionScopePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(ComponentTypeFunctionScopePtrOutput) +} + +// The type of property group. +type ComponentTypePropertyGroupGroupType string + +const ( + ComponentTypePropertyGroupGroupTypeTabular = ComponentTypePropertyGroupGroupType("TABULAR") +) + +func (ComponentTypePropertyGroupGroupType) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypePropertyGroupGroupType)(nil)).Elem() +} + +func (e ComponentTypePropertyGroupGroupType) ToComponentTypePropertyGroupGroupTypeOutput() ComponentTypePropertyGroupGroupTypeOutput { + return pulumi.ToOutput(e).(ComponentTypePropertyGroupGroupTypeOutput) +} + +func (e ComponentTypePropertyGroupGroupType) ToComponentTypePropertyGroupGroupTypeOutputWithContext(ctx context.Context) ComponentTypePropertyGroupGroupTypeOutput { + return pulumi.ToOutputWithContext(ctx, e).(ComponentTypePropertyGroupGroupTypeOutput) +} + +func (e ComponentTypePropertyGroupGroupType) ToComponentTypePropertyGroupGroupTypePtrOutput() ComponentTypePropertyGroupGroupTypePtrOutput { + return e.ToComponentTypePropertyGroupGroupTypePtrOutputWithContext(context.Background()) +} + +func (e ComponentTypePropertyGroupGroupType) ToComponentTypePropertyGroupGroupTypePtrOutputWithContext(ctx context.Context) ComponentTypePropertyGroupGroupTypePtrOutput { + return ComponentTypePropertyGroupGroupType(e).ToComponentTypePropertyGroupGroupTypeOutputWithContext(ctx).ToComponentTypePropertyGroupGroupTypePtrOutputWithContext(ctx) +} + +func (e ComponentTypePropertyGroupGroupType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ComponentTypePropertyGroupGroupType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e ComponentTypePropertyGroupGroupType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e ComponentTypePropertyGroupGroupType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type ComponentTypePropertyGroupGroupTypeOutput struct{ *pulumi.OutputState } + +func (ComponentTypePropertyGroupGroupTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypePropertyGroupGroupType)(nil)).Elem() +} + +func (o ComponentTypePropertyGroupGroupTypeOutput) ToComponentTypePropertyGroupGroupTypeOutput() ComponentTypePropertyGroupGroupTypeOutput { + return o +} + +func (o ComponentTypePropertyGroupGroupTypeOutput) ToComponentTypePropertyGroupGroupTypeOutputWithContext(ctx context.Context) ComponentTypePropertyGroupGroupTypeOutput { + return o +} + +func (o ComponentTypePropertyGroupGroupTypeOutput) ToComponentTypePropertyGroupGroupTypePtrOutput() ComponentTypePropertyGroupGroupTypePtrOutput { + return o.ToComponentTypePropertyGroupGroupTypePtrOutputWithContext(context.Background()) +} + +func (o ComponentTypePropertyGroupGroupTypeOutput) ToComponentTypePropertyGroupGroupTypePtrOutputWithContext(ctx context.Context) ComponentTypePropertyGroupGroupTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComponentTypePropertyGroupGroupType) *ComponentTypePropertyGroupGroupType { + return &v + }).(ComponentTypePropertyGroupGroupTypePtrOutput) +} + +func (o ComponentTypePropertyGroupGroupTypeOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o ComponentTypePropertyGroupGroupTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ComponentTypePropertyGroupGroupType) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o ComponentTypePropertyGroupGroupTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ComponentTypePropertyGroupGroupTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e ComponentTypePropertyGroupGroupType) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type ComponentTypePropertyGroupGroupTypePtrOutput struct{ *pulumi.OutputState } + +func (ComponentTypePropertyGroupGroupTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypePropertyGroupGroupType)(nil)).Elem() +} + +func (o ComponentTypePropertyGroupGroupTypePtrOutput) ToComponentTypePropertyGroupGroupTypePtrOutput() ComponentTypePropertyGroupGroupTypePtrOutput { + return o +} + +func (o ComponentTypePropertyGroupGroupTypePtrOutput) ToComponentTypePropertyGroupGroupTypePtrOutputWithContext(ctx context.Context) ComponentTypePropertyGroupGroupTypePtrOutput { + return o +} + +func (o ComponentTypePropertyGroupGroupTypePtrOutput) Elem() ComponentTypePropertyGroupGroupTypeOutput { + return o.ApplyT(func(v *ComponentTypePropertyGroupGroupType) ComponentTypePropertyGroupGroupType { + if v != nil { + return *v + } + var ret ComponentTypePropertyGroupGroupType + return ret + }).(ComponentTypePropertyGroupGroupTypeOutput) +} + +func (o ComponentTypePropertyGroupGroupTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o ComponentTypePropertyGroupGroupTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *ComponentTypePropertyGroupGroupType) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// ComponentTypePropertyGroupGroupTypeInput is an input type that accepts values of the ComponentTypePropertyGroupGroupType enum +// A concrete instance of `ComponentTypePropertyGroupGroupTypeInput` can be one of the following: +// +// ComponentTypePropertyGroupGroupTypeTabular +type ComponentTypePropertyGroupGroupTypeInput interface { + pulumi.Input + + ToComponentTypePropertyGroupGroupTypeOutput() ComponentTypePropertyGroupGroupTypeOutput + ToComponentTypePropertyGroupGroupTypeOutputWithContext(context.Context) ComponentTypePropertyGroupGroupTypeOutput +} + +var componentTypePropertyGroupGroupTypePtrType = reflect.TypeOf((**ComponentTypePropertyGroupGroupType)(nil)).Elem() + +type ComponentTypePropertyGroupGroupTypePtrInput interface { + pulumi.Input + + ToComponentTypePropertyGroupGroupTypePtrOutput() ComponentTypePropertyGroupGroupTypePtrOutput + ToComponentTypePropertyGroupGroupTypePtrOutputWithContext(context.Context) ComponentTypePropertyGroupGroupTypePtrOutput +} + +type componentTypePropertyGroupGroupTypePtr string + +func ComponentTypePropertyGroupGroupTypePtr(v string) ComponentTypePropertyGroupGroupTypePtrInput { + return (*componentTypePropertyGroupGroupTypePtr)(&v) +} + +func (*componentTypePropertyGroupGroupTypePtr) ElementType() reflect.Type { + return componentTypePropertyGroupGroupTypePtrType +} + +func (in *componentTypePropertyGroupGroupTypePtr) ToComponentTypePropertyGroupGroupTypePtrOutput() ComponentTypePropertyGroupGroupTypePtrOutput { + return pulumi.ToOutput(in).(ComponentTypePropertyGroupGroupTypePtrOutput) +} + +func (in *componentTypePropertyGroupGroupTypePtr) ToComponentTypePropertyGroupGroupTypePtrOutputWithContext(ctx context.Context) ComponentTypePropertyGroupGroupTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(ComponentTypePropertyGroupGroupTypePtrOutput) +} + type ComponentTypeStatusError1PropertiesCode string const ( @@ -200,6 +708,348 @@ func (o ComponentTypeStatusStatePtrOutput) ToStringPtrOutputWithContext(ctx cont }).(pulumi.StringPtrOutput) } +// The underlying type of the data type. +type EntityDataTypeType string + +const ( + EntityDataTypeTypeRelationship = EntityDataTypeType("RELATIONSHIP") + EntityDataTypeTypeString = EntityDataTypeType("STRING") + EntityDataTypeTypeLong = EntityDataTypeType("LONG") + EntityDataTypeTypeBoolean = EntityDataTypeType("BOOLEAN") + EntityDataTypeTypeInteger = EntityDataTypeType("INTEGER") + EntityDataTypeTypeDouble = EntityDataTypeType("DOUBLE") + EntityDataTypeTypeList = EntityDataTypeType("LIST") + EntityDataTypeTypeMap = EntityDataTypeType("MAP") +) + +func (EntityDataTypeType) ElementType() reflect.Type { + return reflect.TypeOf((*EntityDataTypeType)(nil)).Elem() +} + +func (e EntityDataTypeType) ToEntityDataTypeTypeOutput() EntityDataTypeTypeOutput { + return pulumi.ToOutput(e).(EntityDataTypeTypeOutput) +} + +func (e EntityDataTypeType) ToEntityDataTypeTypeOutputWithContext(ctx context.Context) EntityDataTypeTypeOutput { + return pulumi.ToOutputWithContext(ctx, e).(EntityDataTypeTypeOutput) +} + +func (e EntityDataTypeType) ToEntityDataTypeTypePtrOutput() EntityDataTypeTypePtrOutput { + return e.ToEntityDataTypeTypePtrOutputWithContext(context.Background()) +} + +func (e EntityDataTypeType) ToEntityDataTypeTypePtrOutputWithContext(ctx context.Context) EntityDataTypeTypePtrOutput { + return EntityDataTypeType(e).ToEntityDataTypeTypeOutputWithContext(ctx).ToEntityDataTypeTypePtrOutputWithContext(ctx) +} + +func (e EntityDataTypeType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EntityDataTypeType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EntityDataTypeType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e EntityDataTypeType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type EntityDataTypeTypeOutput struct{ *pulumi.OutputState } + +func (EntityDataTypeTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityDataTypeType)(nil)).Elem() +} + +func (o EntityDataTypeTypeOutput) ToEntityDataTypeTypeOutput() EntityDataTypeTypeOutput { + return o +} + +func (o EntityDataTypeTypeOutput) ToEntityDataTypeTypeOutputWithContext(ctx context.Context) EntityDataTypeTypeOutput { + return o +} + +func (o EntityDataTypeTypeOutput) ToEntityDataTypeTypePtrOutput() EntityDataTypeTypePtrOutput { + return o.ToEntityDataTypeTypePtrOutputWithContext(context.Background()) +} + +func (o EntityDataTypeTypeOutput) ToEntityDataTypeTypePtrOutputWithContext(ctx context.Context) EntityDataTypeTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntityDataTypeType) *EntityDataTypeType { + return &v + }).(EntityDataTypeTypePtrOutput) +} + +func (o EntityDataTypeTypeOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o EntityDataTypeTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e EntityDataTypeType) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o EntityDataTypeTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o EntityDataTypeTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e EntityDataTypeType) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type EntityDataTypeTypePtrOutput struct{ *pulumi.OutputState } + +func (EntityDataTypeTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EntityDataTypeType)(nil)).Elem() +} + +func (o EntityDataTypeTypePtrOutput) ToEntityDataTypeTypePtrOutput() EntityDataTypeTypePtrOutput { + return o +} + +func (o EntityDataTypeTypePtrOutput) ToEntityDataTypeTypePtrOutputWithContext(ctx context.Context) EntityDataTypeTypePtrOutput { + return o +} + +func (o EntityDataTypeTypePtrOutput) Elem() EntityDataTypeTypeOutput { + return o.ApplyT(func(v *EntityDataTypeType) EntityDataTypeType { + if v != nil { + return *v + } + var ret EntityDataTypeType + return ret + }).(EntityDataTypeTypeOutput) +} + +func (o EntityDataTypeTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o EntityDataTypeTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *EntityDataTypeType) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// EntityDataTypeTypeInput is an input type that accepts values of the EntityDataTypeType enum +// A concrete instance of `EntityDataTypeTypeInput` can be one of the following: +// +// EntityDataTypeTypeRelationship +// EntityDataTypeTypeString +// EntityDataTypeTypeLong +// EntityDataTypeTypeBoolean +// EntityDataTypeTypeInteger +// EntityDataTypeTypeDouble +// EntityDataTypeTypeList +// EntityDataTypeTypeMap +type EntityDataTypeTypeInput interface { + pulumi.Input + + ToEntityDataTypeTypeOutput() EntityDataTypeTypeOutput + ToEntityDataTypeTypeOutputWithContext(context.Context) EntityDataTypeTypeOutput +} + +var entityDataTypeTypePtrType = reflect.TypeOf((**EntityDataTypeType)(nil)).Elem() + +type EntityDataTypeTypePtrInput interface { + pulumi.Input + + ToEntityDataTypeTypePtrOutput() EntityDataTypeTypePtrOutput + ToEntityDataTypeTypePtrOutputWithContext(context.Context) EntityDataTypeTypePtrOutput +} + +type entityDataTypeTypePtr string + +func EntityDataTypeTypePtr(v string) EntityDataTypeTypePtrInput { + return (*entityDataTypeTypePtr)(&v) +} + +func (*entityDataTypeTypePtr) ElementType() reflect.Type { + return entityDataTypeTypePtrType +} + +func (in *entityDataTypeTypePtr) ToEntityDataTypeTypePtrOutput() EntityDataTypeTypePtrOutput { + return pulumi.ToOutput(in).(EntityDataTypeTypePtrOutput) +} + +func (in *entityDataTypeTypePtr) ToEntityDataTypeTypePtrOutputWithContext(ctx context.Context) EntityDataTypeTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(EntityDataTypeTypePtrOutput) +} + +// The type of property group. +type EntityPropertyGroupGroupType string + +const ( + EntityPropertyGroupGroupTypeTabular = EntityPropertyGroupGroupType("TABULAR") +) + +func (EntityPropertyGroupGroupType) ElementType() reflect.Type { + return reflect.TypeOf((*EntityPropertyGroupGroupType)(nil)).Elem() +} + +func (e EntityPropertyGroupGroupType) ToEntityPropertyGroupGroupTypeOutput() EntityPropertyGroupGroupTypeOutput { + return pulumi.ToOutput(e).(EntityPropertyGroupGroupTypeOutput) +} + +func (e EntityPropertyGroupGroupType) ToEntityPropertyGroupGroupTypeOutputWithContext(ctx context.Context) EntityPropertyGroupGroupTypeOutput { + return pulumi.ToOutputWithContext(ctx, e).(EntityPropertyGroupGroupTypeOutput) +} + +func (e EntityPropertyGroupGroupType) ToEntityPropertyGroupGroupTypePtrOutput() EntityPropertyGroupGroupTypePtrOutput { + return e.ToEntityPropertyGroupGroupTypePtrOutputWithContext(context.Background()) +} + +func (e EntityPropertyGroupGroupType) ToEntityPropertyGroupGroupTypePtrOutputWithContext(ctx context.Context) EntityPropertyGroupGroupTypePtrOutput { + return EntityPropertyGroupGroupType(e).ToEntityPropertyGroupGroupTypeOutputWithContext(ctx).ToEntityPropertyGroupGroupTypePtrOutputWithContext(ctx) +} + +func (e EntityPropertyGroupGroupType) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EntityPropertyGroupGroupType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EntityPropertyGroupGroupType) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e EntityPropertyGroupGroupType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type EntityPropertyGroupGroupTypeOutput struct{ *pulumi.OutputState } + +func (EntityPropertyGroupGroupTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityPropertyGroupGroupType)(nil)).Elem() +} + +func (o EntityPropertyGroupGroupTypeOutput) ToEntityPropertyGroupGroupTypeOutput() EntityPropertyGroupGroupTypeOutput { + return o +} + +func (o EntityPropertyGroupGroupTypeOutput) ToEntityPropertyGroupGroupTypeOutputWithContext(ctx context.Context) EntityPropertyGroupGroupTypeOutput { + return o +} + +func (o EntityPropertyGroupGroupTypeOutput) ToEntityPropertyGroupGroupTypePtrOutput() EntityPropertyGroupGroupTypePtrOutput { + return o.ToEntityPropertyGroupGroupTypePtrOutputWithContext(context.Background()) +} + +func (o EntityPropertyGroupGroupTypeOutput) ToEntityPropertyGroupGroupTypePtrOutputWithContext(ctx context.Context) EntityPropertyGroupGroupTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntityPropertyGroupGroupType) *EntityPropertyGroupGroupType { + return &v + }).(EntityPropertyGroupGroupTypePtrOutput) +} + +func (o EntityPropertyGroupGroupTypeOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o EntityPropertyGroupGroupTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e EntityPropertyGroupGroupType) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o EntityPropertyGroupGroupTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o EntityPropertyGroupGroupTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e EntityPropertyGroupGroupType) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type EntityPropertyGroupGroupTypePtrOutput struct{ *pulumi.OutputState } + +func (EntityPropertyGroupGroupTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EntityPropertyGroupGroupType)(nil)).Elem() +} + +func (o EntityPropertyGroupGroupTypePtrOutput) ToEntityPropertyGroupGroupTypePtrOutput() EntityPropertyGroupGroupTypePtrOutput { + return o +} + +func (o EntityPropertyGroupGroupTypePtrOutput) ToEntityPropertyGroupGroupTypePtrOutputWithContext(ctx context.Context) EntityPropertyGroupGroupTypePtrOutput { + return o +} + +func (o EntityPropertyGroupGroupTypePtrOutput) Elem() EntityPropertyGroupGroupTypeOutput { + return o.ApplyT(func(v *EntityPropertyGroupGroupType) EntityPropertyGroupGroupType { + if v != nil { + return *v + } + var ret EntityPropertyGroupGroupType + return ret + }).(EntityPropertyGroupGroupTypeOutput) +} + +func (o EntityPropertyGroupGroupTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o EntityPropertyGroupGroupTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *EntityPropertyGroupGroupType) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// EntityPropertyGroupGroupTypeInput is an input type that accepts values of the EntityPropertyGroupGroupType enum +// A concrete instance of `EntityPropertyGroupGroupTypeInput` can be one of the following: +// +// EntityPropertyGroupGroupTypeTabular +type EntityPropertyGroupGroupTypeInput interface { + pulumi.Input + + ToEntityPropertyGroupGroupTypeOutput() EntityPropertyGroupGroupTypeOutput + ToEntityPropertyGroupGroupTypeOutputWithContext(context.Context) EntityPropertyGroupGroupTypeOutput +} + +var entityPropertyGroupGroupTypePtrType = reflect.TypeOf((**EntityPropertyGroupGroupType)(nil)).Elem() + +type EntityPropertyGroupGroupTypePtrInput interface { + pulumi.Input + + ToEntityPropertyGroupGroupTypePtrOutput() EntityPropertyGroupGroupTypePtrOutput + ToEntityPropertyGroupGroupTypePtrOutputWithContext(context.Context) EntityPropertyGroupGroupTypePtrOutput +} + +type entityPropertyGroupGroupTypePtr string + +func EntityPropertyGroupGroupTypePtr(v string) EntityPropertyGroupGroupTypePtrInput { + return (*entityPropertyGroupGroupTypePtr)(&v) +} + +func (*entityPropertyGroupGroupTypePtr) ElementType() reflect.Type { + return entityPropertyGroupGroupTypePtrType +} + +func (in *entityPropertyGroupGroupTypePtr) ToEntityPropertyGroupGroupTypePtrOutput() EntityPropertyGroupGroupTypePtrOutput { + return pulumi.ToOutput(in).(EntityPropertyGroupGroupTypePtrOutput) +} + +func (in *entityPropertyGroupGroupTypePtr) ToEntityPropertyGroupGroupTypePtrOutputWithContext(ctx context.Context) EntityPropertyGroupGroupTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(EntityPropertyGroupGroupTypePtrOutput) +} + type EntityStatusError1PropertiesCode string const ( @@ -214,6 +1064,42 @@ const ( EntityStatusErrorPropertiesCodeInternalFailure = EntityStatusErrorPropertiesCode("INTERNAL_FAILURE") ) +func (EntityStatusErrorPropertiesCode) ElementType() reflect.Type { + return reflect.TypeOf((*EntityStatusErrorPropertiesCode)(nil)).Elem() +} + +func (e EntityStatusErrorPropertiesCode) ToEntityStatusErrorPropertiesCodeOutput() EntityStatusErrorPropertiesCodeOutput { + return pulumi.ToOutput(e).(EntityStatusErrorPropertiesCodeOutput) +} + +func (e EntityStatusErrorPropertiesCode) ToEntityStatusErrorPropertiesCodeOutputWithContext(ctx context.Context) EntityStatusErrorPropertiesCodeOutput { + return pulumi.ToOutputWithContext(ctx, e).(EntityStatusErrorPropertiesCodeOutput) +} + +func (e EntityStatusErrorPropertiesCode) ToEntityStatusErrorPropertiesCodePtrOutput() EntityStatusErrorPropertiesCodePtrOutput { + return e.ToEntityStatusErrorPropertiesCodePtrOutputWithContext(context.Background()) +} + +func (e EntityStatusErrorPropertiesCode) ToEntityStatusErrorPropertiesCodePtrOutputWithContext(ctx context.Context) EntityStatusErrorPropertiesCodePtrOutput { + return EntityStatusErrorPropertiesCode(e).ToEntityStatusErrorPropertiesCodeOutputWithContext(ctx).ToEntityStatusErrorPropertiesCodePtrOutputWithContext(ctx) +} + +func (e EntityStatusErrorPropertiesCode) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EntityStatusErrorPropertiesCode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EntityStatusErrorPropertiesCode) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e EntityStatusErrorPropertiesCode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + type EntityStatusErrorPropertiesCodeOutput struct{ *pulumi.OutputState } func (EntityStatusErrorPropertiesCodeOutput) ElementType() reflect.Type { @@ -297,6 +1183,45 @@ func (o EntityStatusErrorPropertiesCodePtrOutput) ToStringPtrOutputWithContext(c }).(pulumi.StringPtrOutput) } +// EntityStatusErrorPropertiesCodeInput is an input type that accepts values of the EntityStatusErrorPropertiesCode enum +// A concrete instance of `EntityStatusErrorPropertiesCodeInput` can be one of the following: +// +// EntityStatusErrorPropertiesCodeValidationError +// EntityStatusErrorPropertiesCodeInternalFailure +type EntityStatusErrorPropertiesCodeInput interface { + pulumi.Input + + ToEntityStatusErrorPropertiesCodeOutput() EntityStatusErrorPropertiesCodeOutput + ToEntityStatusErrorPropertiesCodeOutputWithContext(context.Context) EntityStatusErrorPropertiesCodeOutput +} + +var entityStatusErrorPropertiesCodePtrType = reflect.TypeOf((**EntityStatusErrorPropertiesCode)(nil)).Elem() + +type EntityStatusErrorPropertiesCodePtrInput interface { + pulumi.Input + + ToEntityStatusErrorPropertiesCodePtrOutput() EntityStatusErrorPropertiesCodePtrOutput + ToEntityStatusErrorPropertiesCodePtrOutputWithContext(context.Context) EntityStatusErrorPropertiesCodePtrOutput +} + +type entityStatusErrorPropertiesCodePtr string + +func EntityStatusErrorPropertiesCodePtr(v string) EntityStatusErrorPropertiesCodePtrInput { + return (*entityStatusErrorPropertiesCodePtr)(&v) +} + +func (*entityStatusErrorPropertiesCodePtr) ElementType() reflect.Type { + return entityStatusErrorPropertiesCodePtrType +} + +func (in *entityStatusErrorPropertiesCodePtr) ToEntityStatusErrorPropertiesCodePtrOutput() EntityStatusErrorPropertiesCodePtrOutput { + return pulumi.ToOutput(in).(EntityStatusErrorPropertiesCodePtrOutput) +} + +func (in *entityStatusErrorPropertiesCodePtr) ToEntityStatusErrorPropertiesCodePtrOutputWithContext(ctx context.Context) EntityStatusErrorPropertiesCodePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(EntityStatusErrorPropertiesCodePtrOutput) +} + type EntityStatusState string const ( @@ -307,6 +1232,42 @@ const ( EntityStatusStateError = EntityStatusState("ERROR") ) +func (EntityStatusState) ElementType() reflect.Type { + return reflect.TypeOf((*EntityStatusState)(nil)).Elem() +} + +func (e EntityStatusState) ToEntityStatusStateOutput() EntityStatusStateOutput { + return pulumi.ToOutput(e).(EntityStatusStateOutput) +} + +func (e EntityStatusState) ToEntityStatusStateOutputWithContext(ctx context.Context) EntityStatusStateOutput { + return pulumi.ToOutputWithContext(ctx, e).(EntityStatusStateOutput) +} + +func (e EntityStatusState) ToEntityStatusStatePtrOutput() EntityStatusStatePtrOutput { + return e.ToEntityStatusStatePtrOutputWithContext(context.Background()) +} + +func (e EntityStatusState) ToEntityStatusStatePtrOutputWithContext(ctx context.Context) EntityStatusStatePtrOutput { + return EntityStatusState(e).ToEntityStatusStateOutputWithContext(ctx).ToEntityStatusStatePtrOutputWithContext(ctx) +} + +func (e EntityStatusState) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EntityStatusState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EntityStatusState) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e EntityStatusState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + type EntityStatusStateOutput struct{ *pulumi.OutputState } func (EntityStatusStateOutput) ElementType() reflect.Type { @@ -390,11 +1351,77 @@ func (o EntityStatusStatePtrOutput) ToStringPtrOutputWithContext(ctx context.Con }).(pulumi.StringPtrOutput) } +// EntityStatusStateInput is an input type that accepts values of the EntityStatusState enum +// A concrete instance of `EntityStatusStateInput` can be one of the following: +// +// EntityStatusStateCreating +// EntityStatusStateUpdating +// EntityStatusStateDeleting +// EntityStatusStateActive +// EntityStatusStateError +type EntityStatusStateInput interface { + pulumi.Input + + ToEntityStatusStateOutput() EntityStatusStateOutput + ToEntityStatusStateOutputWithContext(context.Context) EntityStatusStateOutput +} + +var entityStatusStatePtrType = reflect.TypeOf((**EntityStatusState)(nil)).Elem() + +type EntityStatusStatePtrInput interface { + pulumi.Input + + ToEntityStatusStatePtrOutput() EntityStatusStatePtrOutput + ToEntityStatusStatePtrOutputWithContext(context.Context) EntityStatusStatePtrOutput +} + +type entityStatusStatePtr string + +func EntityStatusStatePtr(v string) EntityStatusStatePtrInput { + return (*entityStatusStatePtr)(&v) +} + +func (*entityStatusStatePtr) ElementType() reflect.Type { + return entityStatusStatePtrType +} + +func (in *entityStatusStatePtr) ToEntityStatusStatePtrOutput() EntityStatusStatePtrOutput { + return pulumi.ToOutput(in).(EntityStatusStatePtrOutput) +} + +func (in *entityStatusStatePtr) ToEntityStatusStatePtrOutputWithContext(ctx context.Context) EntityStatusStatePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(EntityStatusStatePtrOutput) +} + func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataTypeTypeInput)(nil)).Elem(), ComponentTypeDataTypeType("RELATIONSHIP")) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataTypeTypePtrInput)(nil)).Elem(), ComponentTypeDataTypeType("RELATIONSHIP")) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeFunctionScopeInput)(nil)).Elem(), ComponentTypeFunctionScope("ENTITY")) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeFunctionScopePtrInput)(nil)).Elem(), ComponentTypeFunctionScope("ENTITY")) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypePropertyGroupGroupTypeInput)(nil)).Elem(), ComponentTypePropertyGroupGroupType("TABULAR")) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypePropertyGroupGroupTypePtrInput)(nil)).Elem(), ComponentTypePropertyGroupGroupType("TABULAR")) + pulumi.RegisterInputType(reflect.TypeOf((*EntityDataTypeTypeInput)(nil)).Elem(), EntityDataTypeType("RELATIONSHIP")) + pulumi.RegisterInputType(reflect.TypeOf((*EntityDataTypeTypePtrInput)(nil)).Elem(), EntityDataTypeType("RELATIONSHIP")) + pulumi.RegisterInputType(reflect.TypeOf((*EntityPropertyGroupGroupTypeInput)(nil)).Elem(), EntityPropertyGroupGroupType("TABULAR")) + pulumi.RegisterInputType(reflect.TypeOf((*EntityPropertyGroupGroupTypePtrInput)(nil)).Elem(), EntityPropertyGroupGroupType("TABULAR")) + pulumi.RegisterInputType(reflect.TypeOf((*EntityStatusErrorPropertiesCodeInput)(nil)).Elem(), EntityStatusErrorPropertiesCode("VALIDATION_ERROR")) + pulumi.RegisterInputType(reflect.TypeOf((*EntityStatusErrorPropertiesCodePtrInput)(nil)).Elem(), EntityStatusErrorPropertiesCode("VALIDATION_ERROR")) + pulumi.RegisterInputType(reflect.TypeOf((*EntityStatusStateInput)(nil)).Elem(), EntityStatusState("CREATING")) + pulumi.RegisterInputType(reflect.TypeOf((*EntityStatusStatePtrInput)(nil)).Elem(), EntityStatusState("CREATING")) + pulumi.RegisterOutputType(ComponentTypeDataTypeTypeOutput{}) + pulumi.RegisterOutputType(ComponentTypeDataTypeTypePtrOutput{}) + pulumi.RegisterOutputType(ComponentTypeFunctionScopeOutput{}) + pulumi.RegisterOutputType(ComponentTypeFunctionScopePtrOutput{}) + pulumi.RegisterOutputType(ComponentTypePropertyGroupGroupTypeOutput{}) + pulumi.RegisterOutputType(ComponentTypePropertyGroupGroupTypePtrOutput{}) pulumi.RegisterOutputType(ComponentTypeStatusErrorPropertiesCodeOutput{}) pulumi.RegisterOutputType(ComponentTypeStatusErrorPropertiesCodePtrOutput{}) pulumi.RegisterOutputType(ComponentTypeStatusStateOutput{}) pulumi.RegisterOutputType(ComponentTypeStatusStatePtrOutput{}) + pulumi.RegisterOutputType(EntityDataTypeTypeOutput{}) + pulumi.RegisterOutputType(EntityDataTypeTypePtrOutput{}) + pulumi.RegisterOutputType(EntityPropertyGroupGroupTypeOutput{}) + pulumi.RegisterOutputType(EntityPropertyGroupGroupTypePtrOutput{}) pulumi.RegisterOutputType(EntityStatusErrorPropertiesCodeOutput{}) pulumi.RegisterOutputType(EntityStatusErrorPropertiesCodePtrOutput{}) pulumi.RegisterOutputType(EntityStatusStateOutput{}) diff --git a/sdk/go/aws/iottwinmaker/pulumiTypes.go b/sdk/go/aws/iottwinmaker/pulumiTypes.go index b308a2e605..3a5d12cb58 100644 --- a/sdk/go/aws/iottwinmaker/pulumiTypes.go +++ b/sdk/go/aws/iottwinmaker/pulumiTypes.go @@ -13,149 +13,3691 @@ import ( var _ = internal.GetEnvOrDefault +// An object that sets information about a composite component type. +type ComponentTypeCompositeComponentType struct { + // The id of the composite component type. + ComponentTypeId *string `pulumi:"componentTypeId"` +} + +// ComponentTypeCompositeComponentTypeInput is an input type that accepts ComponentTypeCompositeComponentTypeArgs and ComponentTypeCompositeComponentTypeOutput values. +// You can construct a concrete instance of `ComponentTypeCompositeComponentTypeInput` via: +// +// ComponentTypeCompositeComponentTypeArgs{...} +type ComponentTypeCompositeComponentTypeInput interface { + pulumi.Input + + ToComponentTypeCompositeComponentTypeOutput() ComponentTypeCompositeComponentTypeOutput + ToComponentTypeCompositeComponentTypeOutputWithContext(context.Context) ComponentTypeCompositeComponentTypeOutput +} + +// An object that sets information about a composite component type. +type ComponentTypeCompositeComponentTypeArgs struct { + // The id of the composite component type. + ComponentTypeId pulumi.StringPtrInput `pulumi:"componentTypeId"` +} + +func (ComponentTypeCompositeComponentTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeCompositeComponentType)(nil)).Elem() +} + +func (i ComponentTypeCompositeComponentTypeArgs) ToComponentTypeCompositeComponentTypeOutput() ComponentTypeCompositeComponentTypeOutput { + return i.ToComponentTypeCompositeComponentTypeOutputWithContext(context.Background()) +} + +func (i ComponentTypeCompositeComponentTypeArgs) ToComponentTypeCompositeComponentTypeOutputWithContext(ctx context.Context) ComponentTypeCompositeComponentTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeCompositeComponentTypeOutput) +} + +// ComponentTypeCompositeComponentTypeMapInput is an input type that accepts ComponentTypeCompositeComponentTypeMap and ComponentTypeCompositeComponentTypeMapOutput values. +// You can construct a concrete instance of `ComponentTypeCompositeComponentTypeMapInput` via: +// +// ComponentTypeCompositeComponentTypeMap{ "key": ComponentTypeCompositeComponentTypeArgs{...} } +type ComponentTypeCompositeComponentTypeMapInput interface { + pulumi.Input + + ToComponentTypeCompositeComponentTypeMapOutput() ComponentTypeCompositeComponentTypeMapOutput + ToComponentTypeCompositeComponentTypeMapOutputWithContext(context.Context) ComponentTypeCompositeComponentTypeMapOutput +} + +type ComponentTypeCompositeComponentTypeMap map[string]ComponentTypeCompositeComponentTypeInput + +func (ComponentTypeCompositeComponentTypeMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentTypeCompositeComponentType)(nil)).Elem() +} + +func (i ComponentTypeCompositeComponentTypeMap) ToComponentTypeCompositeComponentTypeMapOutput() ComponentTypeCompositeComponentTypeMapOutput { + return i.ToComponentTypeCompositeComponentTypeMapOutputWithContext(context.Background()) +} + +func (i ComponentTypeCompositeComponentTypeMap) ToComponentTypeCompositeComponentTypeMapOutputWithContext(ctx context.Context) ComponentTypeCompositeComponentTypeMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeCompositeComponentTypeMapOutput) +} + +// An object that sets information about a composite component type. +type ComponentTypeCompositeComponentTypeOutput struct{ *pulumi.OutputState } + +func (ComponentTypeCompositeComponentTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeCompositeComponentType)(nil)).Elem() +} + +func (o ComponentTypeCompositeComponentTypeOutput) ToComponentTypeCompositeComponentTypeOutput() ComponentTypeCompositeComponentTypeOutput { + return o +} + +func (o ComponentTypeCompositeComponentTypeOutput) ToComponentTypeCompositeComponentTypeOutputWithContext(ctx context.Context) ComponentTypeCompositeComponentTypeOutput { + return o +} + +// The id of the composite component type. +func (o ComponentTypeCompositeComponentTypeOutput) ComponentTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ComponentTypeCompositeComponentType) *string { return v.ComponentTypeId }).(pulumi.StringPtrOutput) +} + +type ComponentTypeCompositeComponentTypeMapOutput struct{ *pulumi.OutputState } + +func (ComponentTypeCompositeComponentTypeMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentTypeCompositeComponentType)(nil)).Elem() +} + +func (o ComponentTypeCompositeComponentTypeMapOutput) ToComponentTypeCompositeComponentTypeMapOutput() ComponentTypeCompositeComponentTypeMapOutput { + return o +} + +func (o ComponentTypeCompositeComponentTypeMapOutput) ToComponentTypeCompositeComponentTypeMapOutputWithContext(ctx context.Context) ComponentTypeCompositeComponentTypeMapOutput { + return o +} + +func (o ComponentTypeCompositeComponentTypeMapOutput) MapIndex(k pulumi.StringInput) ComponentTypeCompositeComponentTypeOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) ComponentTypeCompositeComponentType { + return vs[0].(map[string]ComponentTypeCompositeComponentType)[vs[1].(string)] + }).(ComponentTypeCompositeComponentTypeOutput) +} + +// The data connector. +type ComponentTypeDataConnector struct { + // A Boolean value that specifies whether the data connector is native to IoT TwinMaker. + IsNative *bool `pulumi:"isNative"` + // The Lambda function associated with this data connector. + Lambda *ComponentTypeLambdaFunction `pulumi:"lambda"` +} + +// ComponentTypeDataConnectorInput is an input type that accepts ComponentTypeDataConnectorArgs and ComponentTypeDataConnectorOutput values. +// You can construct a concrete instance of `ComponentTypeDataConnectorInput` via: +// +// ComponentTypeDataConnectorArgs{...} +type ComponentTypeDataConnectorInput interface { + pulumi.Input + + ToComponentTypeDataConnectorOutput() ComponentTypeDataConnectorOutput + ToComponentTypeDataConnectorOutputWithContext(context.Context) ComponentTypeDataConnectorOutput +} + +// The data connector. +type ComponentTypeDataConnectorArgs struct { + // A Boolean value that specifies whether the data connector is native to IoT TwinMaker. + IsNative pulumi.BoolPtrInput `pulumi:"isNative"` + // The Lambda function associated with this data connector. + Lambda ComponentTypeLambdaFunctionPtrInput `pulumi:"lambda"` +} + +func (ComponentTypeDataConnectorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeDataConnector)(nil)).Elem() +} + +func (i ComponentTypeDataConnectorArgs) ToComponentTypeDataConnectorOutput() ComponentTypeDataConnectorOutput { + return i.ToComponentTypeDataConnectorOutputWithContext(context.Background()) +} + +func (i ComponentTypeDataConnectorArgs) ToComponentTypeDataConnectorOutputWithContext(ctx context.Context) ComponentTypeDataConnectorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataConnectorOutput) +} + +func (i ComponentTypeDataConnectorArgs) ToComponentTypeDataConnectorPtrOutput() ComponentTypeDataConnectorPtrOutput { + return i.ToComponentTypeDataConnectorPtrOutputWithContext(context.Background()) +} + +func (i ComponentTypeDataConnectorArgs) ToComponentTypeDataConnectorPtrOutputWithContext(ctx context.Context) ComponentTypeDataConnectorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataConnectorOutput).ToComponentTypeDataConnectorPtrOutputWithContext(ctx) +} + +// ComponentTypeDataConnectorPtrInput is an input type that accepts ComponentTypeDataConnectorArgs, ComponentTypeDataConnectorPtr and ComponentTypeDataConnectorPtrOutput values. +// You can construct a concrete instance of `ComponentTypeDataConnectorPtrInput` via: +// +// ComponentTypeDataConnectorArgs{...} +// +// or: +// +// nil +type ComponentTypeDataConnectorPtrInput interface { + pulumi.Input + + ToComponentTypeDataConnectorPtrOutput() ComponentTypeDataConnectorPtrOutput + ToComponentTypeDataConnectorPtrOutputWithContext(context.Context) ComponentTypeDataConnectorPtrOutput +} + +type componentTypeDataConnectorPtrType ComponentTypeDataConnectorArgs + +func ComponentTypeDataConnectorPtr(v *ComponentTypeDataConnectorArgs) ComponentTypeDataConnectorPtrInput { + return (*componentTypeDataConnectorPtrType)(v) +} + +func (*componentTypeDataConnectorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeDataConnector)(nil)).Elem() +} + +func (i *componentTypeDataConnectorPtrType) ToComponentTypeDataConnectorPtrOutput() ComponentTypeDataConnectorPtrOutput { + return i.ToComponentTypeDataConnectorPtrOutputWithContext(context.Background()) +} + +func (i *componentTypeDataConnectorPtrType) ToComponentTypeDataConnectorPtrOutputWithContext(ctx context.Context) ComponentTypeDataConnectorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataConnectorPtrOutput) +} + +// The data connector. +type ComponentTypeDataConnectorOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataConnectorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeDataConnector)(nil)).Elem() +} + +func (o ComponentTypeDataConnectorOutput) ToComponentTypeDataConnectorOutput() ComponentTypeDataConnectorOutput { + return o +} + +func (o ComponentTypeDataConnectorOutput) ToComponentTypeDataConnectorOutputWithContext(ctx context.Context) ComponentTypeDataConnectorOutput { + return o +} + +func (o ComponentTypeDataConnectorOutput) ToComponentTypeDataConnectorPtrOutput() ComponentTypeDataConnectorPtrOutput { + return o.ToComponentTypeDataConnectorPtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeDataConnectorOutput) ToComponentTypeDataConnectorPtrOutputWithContext(ctx context.Context) ComponentTypeDataConnectorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComponentTypeDataConnector) *ComponentTypeDataConnector { + return &v + }).(ComponentTypeDataConnectorPtrOutput) +} + +// A Boolean value that specifies whether the data connector is native to IoT TwinMaker. +func (o ComponentTypeDataConnectorOutput) IsNative() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ComponentTypeDataConnector) *bool { return v.IsNative }).(pulumi.BoolPtrOutput) +} + +// The Lambda function associated with this data connector. +func (o ComponentTypeDataConnectorOutput) Lambda() ComponentTypeLambdaFunctionPtrOutput { + return o.ApplyT(func(v ComponentTypeDataConnector) *ComponentTypeLambdaFunction { return v.Lambda }).(ComponentTypeLambdaFunctionPtrOutput) +} + +type ComponentTypeDataConnectorPtrOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataConnectorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeDataConnector)(nil)).Elem() +} + +func (o ComponentTypeDataConnectorPtrOutput) ToComponentTypeDataConnectorPtrOutput() ComponentTypeDataConnectorPtrOutput { + return o +} + +func (o ComponentTypeDataConnectorPtrOutput) ToComponentTypeDataConnectorPtrOutputWithContext(ctx context.Context) ComponentTypeDataConnectorPtrOutput { + return o +} + +func (o ComponentTypeDataConnectorPtrOutput) Elem() ComponentTypeDataConnectorOutput { + return o.ApplyT(func(v *ComponentTypeDataConnector) ComponentTypeDataConnector { + if v != nil { + return *v + } + var ret ComponentTypeDataConnector + return ret + }).(ComponentTypeDataConnectorOutput) +} + +// A Boolean value that specifies whether the data connector is native to IoT TwinMaker. +func (o ComponentTypeDataConnectorPtrOutput) IsNative() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ComponentTypeDataConnector) *bool { + if v == nil { + return nil + } + return v.IsNative + }).(pulumi.BoolPtrOutput) +} + +// The Lambda function associated with this data connector. +func (o ComponentTypeDataConnectorPtrOutput) Lambda() ComponentTypeLambdaFunctionPtrOutput { + return o.ApplyT(func(v *ComponentTypeDataConnector) *ComponentTypeLambdaFunction { + if v == nil { + return nil + } + return v.Lambda + }).(ComponentTypeLambdaFunctionPtrOutput) +} + +// An object that specifies the data type of a property. +type ComponentTypeDataType struct { + // The allowed values for this data type. + AllowedValues []ComponentTypeDataValue `pulumi:"allowedValues"` + // The nested type in the data type. + NestedType *ComponentTypeDataType `pulumi:"nestedType"` + // A relationship that associates a component with another component. + Relationship *ComponentTypeRelationship `pulumi:"relationship"` + // The underlying type of the data type. + Type ComponentTypeDataTypeType `pulumi:"type"` + // The unit of measure used in this data type. + UnitOfMeasure *string `pulumi:"unitOfMeasure"` +} + +// ComponentTypeDataTypeInput is an input type that accepts ComponentTypeDataTypeArgs and ComponentTypeDataTypeOutput values. +// You can construct a concrete instance of `ComponentTypeDataTypeInput` via: +// +// ComponentTypeDataTypeArgs{...} +type ComponentTypeDataTypeInput interface { + pulumi.Input + + ToComponentTypeDataTypeOutput() ComponentTypeDataTypeOutput + ToComponentTypeDataTypeOutputWithContext(context.Context) ComponentTypeDataTypeOutput +} + +// An object that specifies the data type of a property. +type ComponentTypeDataTypeArgs struct { + // The allowed values for this data type. + AllowedValues ComponentTypeDataValueArrayInput `pulumi:"allowedValues"` + // The nested type in the data type. + NestedType ComponentTypeDataTypePtrInput `pulumi:"nestedType"` + // A relationship that associates a component with another component. + Relationship ComponentTypeRelationshipPtrInput `pulumi:"relationship"` + // The underlying type of the data type. + Type ComponentTypeDataTypeTypeInput `pulumi:"type"` + // The unit of measure used in this data type. + UnitOfMeasure pulumi.StringPtrInput `pulumi:"unitOfMeasure"` +} + +func (ComponentTypeDataTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeDataType)(nil)).Elem() +} + +func (i ComponentTypeDataTypeArgs) ToComponentTypeDataTypeOutput() ComponentTypeDataTypeOutput { + return i.ToComponentTypeDataTypeOutputWithContext(context.Background()) +} + +func (i ComponentTypeDataTypeArgs) ToComponentTypeDataTypeOutputWithContext(ctx context.Context) ComponentTypeDataTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataTypeOutput) +} + +func (i ComponentTypeDataTypeArgs) ToComponentTypeDataTypePtrOutput() ComponentTypeDataTypePtrOutput { + return i.ToComponentTypeDataTypePtrOutputWithContext(context.Background()) +} + +func (i ComponentTypeDataTypeArgs) ToComponentTypeDataTypePtrOutputWithContext(ctx context.Context) ComponentTypeDataTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataTypeOutput).ToComponentTypeDataTypePtrOutputWithContext(ctx) +} + +// ComponentTypeDataTypePtrInput is an input type that accepts ComponentTypeDataTypeArgs, ComponentTypeDataTypePtr and ComponentTypeDataTypePtrOutput values. +// You can construct a concrete instance of `ComponentTypeDataTypePtrInput` via: +// +// ComponentTypeDataTypeArgs{...} +// +// or: +// +// nil +type ComponentTypeDataTypePtrInput interface { + pulumi.Input + + ToComponentTypeDataTypePtrOutput() ComponentTypeDataTypePtrOutput + ToComponentTypeDataTypePtrOutputWithContext(context.Context) ComponentTypeDataTypePtrOutput +} + +type componentTypeDataTypePtrType ComponentTypeDataTypeArgs + +func ComponentTypeDataTypePtr(v *ComponentTypeDataTypeArgs) ComponentTypeDataTypePtrInput { + return (*componentTypeDataTypePtrType)(v) +} + +func (*componentTypeDataTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeDataType)(nil)).Elem() +} + +func (i *componentTypeDataTypePtrType) ToComponentTypeDataTypePtrOutput() ComponentTypeDataTypePtrOutput { + return i.ToComponentTypeDataTypePtrOutputWithContext(context.Background()) +} + +func (i *componentTypeDataTypePtrType) ToComponentTypeDataTypePtrOutputWithContext(ctx context.Context) ComponentTypeDataTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataTypePtrOutput) +} + +// An object that specifies the data type of a property. +type ComponentTypeDataTypeOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeDataType)(nil)).Elem() +} + +func (o ComponentTypeDataTypeOutput) ToComponentTypeDataTypeOutput() ComponentTypeDataTypeOutput { + return o +} + +func (o ComponentTypeDataTypeOutput) ToComponentTypeDataTypeOutputWithContext(ctx context.Context) ComponentTypeDataTypeOutput { + return o +} + +func (o ComponentTypeDataTypeOutput) ToComponentTypeDataTypePtrOutput() ComponentTypeDataTypePtrOutput { + return o.ToComponentTypeDataTypePtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeDataTypeOutput) ToComponentTypeDataTypePtrOutputWithContext(ctx context.Context) ComponentTypeDataTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComponentTypeDataType) *ComponentTypeDataType { + return &v + }).(ComponentTypeDataTypePtrOutput) +} + +// The allowed values for this data type. +func (o ComponentTypeDataTypeOutput) AllowedValues() ComponentTypeDataValueArrayOutput { + return o.ApplyT(func(v ComponentTypeDataType) []ComponentTypeDataValue { return v.AllowedValues }).(ComponentTypeDataValueArrayOutput) +} + +// The nested type in the data type. +func (o ComponentTypeDataTypeOutput) NestedType() ComponentTypeDataTypePtrOutput { + return o.ApplyT(func(v ComponentTypeDataType) *ComponentTypeDataType { return v.NestedType }).(ComponentTypeDataTypePtrOutput) +} + +// A relationship that associates a component with another component. +func (o ComponentTypeDataTypeOutput) Relationship() ComponentTypeRelationshipPtrOutput { + return o.ApplyT(func(v ComponentTypeDataType) *ComponentTypeRelationship { return v.Relationship }).(ComponentTypeRelationshipPtrOutput) +} + +// The underlying type of the data type. +func (o ComponentTypeDataTypeOutput) Type() ComponentTypeDataTypeTypeOutput { + return o.ApplyT(func(v ComponentTypeDataType) ComponentTypeDataTypeType { return v.Type }).(ComponentTypeDataTypeTypeOutput) +} + +// The unit of measure used in this data type. +func (o ComponentTypeDataTypeOutput) UnitOfMeasure() pulumi.StringPtrOutput { + return o.ApplyT(func(v ComponentTypeDataType) *string { return v.UnitOfMeasure }).(pulumi.StringPtrOutput) +} + +type ComponentTypeDataTypePtrOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeDataType)(nil)).Elem() +} + +func (o ComponentTypeDataTypePtrOutput) ToComponentTypeDataTypePtrOutput() ComponentTypeDataTypePtrOutput { + return o +} + +func (o ComponentTypeDataTypePtrOutput) ToComponentTypeDataTypePtrOutputWithContext(ctx context.Context) ComponentTypeDataTypePtrOutput { + return o +} + +func (o ComponentTypeDataTypePtrOutput) Elem() ComponentTypeDataTypeOutput { + return o.ApplyT(func(v *ComponentTypeDataType) ComponentTypeDataType { + if v != nil { + return *v + } + var ret ComponentTypeDataType + return ret + }).(ComponentTypeDataTypeOutput) +} + +// The allowed values for this data type. +func (o ComponentTypeDataTypePtrOutput) AllowedValues() ComponentTypeDataValueArrayOutput { + return o.ApplyT(func(v *ComponentTypeDataType) []ComponentTypeDataValue { + if v == nil { + return nil + } + return v.AllowedValues + }).(ComponentTypeDataValueArrayOutput) +} + +// The nested type in the data type. +func (o ComponentTypeDataTypePtrOutput) NestedType() ComponentTypeDataTypePtrOutput { + return o.ApplyT(func(v *ComponentTypeDataType) *ComponentTypeDataType { + if v == nil { + return nil + } + return v.NestedType + }).(ComponentTypeDataTypePtrOutput) +} + +// A relationship that associates a component with another component. +func (o ComponentTypeDataTypePtrOutput) Relationship() ComponentTypeRelationshipPtrOutput { + return o.ApplyT(func(v *ComponentTypeDataType) *ComponentTypeRelationship { + if v == nil { + return nil + } + return v.Relationship + }).(ComponentTypeRelationshipPtrOutput) +} + +// The underlying type of the data type. +func (o ComponentTypeDataTypePtrOutput) Type() ComponentTypeDataTypeTypePtrOutput { + return o.ApplyT(func(v *ComponentTypeDataType) *ComponentTypeDataTypeType { + if v == nil { + return nil + } + return &v.Type + }).(ComponentTypeDataTypeTypePtrOutput) +} + +// The unit of measure used in this data type. +func (o ComponentTypeDataTypePtrOutput) UnitOfMeasure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ComponentTypeDataType) *string { + if v == nil { + return nil + } + return v.UnitOfMeasure + }).(pulumi.StringPtrOutput) +} + +// An object that specifies a value for a property. +type ComponentTypeDataValue struct { + // A Boolean value. + BooleanValue *bool `pulumi:"booleanValue"` + // A double value. + DoubleValue *float64 `pulumi:"doubleValue"` + // An expression that produces the value. + Expression *string `pulumi:"expression"` + // An integer value. + IntegerValue *int `pulumi:"integerValue"` + // A list of multiple values. + ListValue []ComponentTypeDataValue `pulumi:"listValue"` + // A long value. + LongValue *float64 `pulumi:"longValue"` + // An object that maps strings to multiple DataValue objects. + MapValue map[string]ComponentTypeDataValue `pulumi:"mapValue"` + // A value that relates a component to another component. + RelationshipValue *ComponentTypeDataValueRelationshipValueProperties `pulumi:"relationshipValue"` + // A string value. + StringValue *string `pulumi:"stringValue"` +} + +// ComponentTypeDataValueInput is an input type that accepts ComponentTypeDataValueArgs and ComponentTypeDataValueOutput values. +// You can construct a concrete instance of `ComponentTypeDataValueInput` via: +// +// ComponentTypeDataValueArgs{...} +type ComponentTypeDataValueInput interface { + pulumi.Input + + ToComponentTypeDataValueOutput() ComponentTypeDataValueOutput + ToComponentTypeDataValueOutputWithContext(context.Context) ComponentTypeDataValueOutput +} + +// An object that specifies a value for a property. +type ComponentTypeDataValueArgs struct { + // A Boolean value. + BooleanValue pulumi.BoolPtrInput `pulumi:"booleanValue"` + // A double value. + DoubleValue pulumi.Float64PtrInput `pulumi:"doubleValue"` + // An expression that produces the value. + Expression pulumi.StringPtrInput `pulumi:"expression"` + // An integer value. + IntegerValue pulumi.IntPtrInput `pulumi:"integerValue"` + // A list of multiple values. + ListValue ComponentTypeDataValueArrayInput `pulumi:"listValue"` + // A long value. + LongValue pulumi.Float64PtrInput `pulumi:"longValue"` + // An object that maps strings to multiple DataValue objects. + MapValue ComponentTypeDataValueMapInput `pulumi:"mapValue"` + // A value that relates a component to another component. + RelationshipValue ComponentTypeDataValueRelationshipValuePropertiesPtrInput `pulumi:"relationshipValue"` + // A string value. + StringValue pulumi.StringPtrInput `pulumi:"stringValue"` +} + +func (ComponentTypeDataValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeDataValue)(nil)).Elem() +} + +func (i ComponentTypeDataValueArgs) ToComponentTypeDataValueOutput() ComponentTypeDataValueOutput { + return i.ToComponentTypeDataValueOutputWithContext(context.Background()) +} + +func (i ComponentTypeDataValueArgs) ToComponentTypeDataValueOutputWithContext(ctx context.Context) ComponentTypeDataValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataValueOutput) +} + +func (i ComponentTypeDataValueArgs) ToComponentTypeDataValuePtrOutput() ComponentTypeDataValuePtrOutput { + return i.ToComponentTypeDataValuePtrOutputWithContext(context.Background()) +} + +func (i ComponentTypeDataValueArgs) ToComponentTypeDataValuePtrOutputWithContext(ctx context.Context) ComponentTypeDataValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataValueOutput).ToComponentTypeDataValuePtrOutputWithContext(ctx) +} + +// ComponentTypeDataValuePtrInput is an input type that accepts ComponentTypeDataValueArgs, ComponentTypeDataValuePtr and ComponentTypeDataValuePtrOutput values. +// You can construct a concrete instance of `ComponentTypeDataValuePtrInput` via: +// +// ComponentTypeDataValueArgs{...} +// +// or: +// +// nil +type ComponentTypeDataValuePtrInput interface { + pulumi.Input + + ToComponentTypeDataValuePtrOutput() ComponentTypeDataValuePtrOutput + ToComponentTypeDataValuePtrOutputWithContext(context.Context) ComponentTypeDataValuePtrOutput +} + +type componentTypeDataValuePtrType ComponentTypeDataValueArgs + +func ComponentTypeDataValuePtr(v *ComponentTypeDataValueArgs) ComponentTypeDataValuePtrInput { + return (*componentTypeDataValuePtrType)(v) +} + +func (*componentTypeDataValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeDataValue)(nil)).Elem() +} + +func (i *componentTypeDataValuePtrType) ToComponentTypeDataValuePtrOutput() ComponentTypeDataValuePtrOutput { + return i.ToComponentTypeDataValuePtrOutputWithContext(context.Background()) +} + +func (i *componentTypeDataValuePtrType) ToComponentTypeDataValuePtrOutputWithContext(ctx context.Context) ComponentTypeDataValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataValuePtrOutput) +} + +// ComponentTypeDataValueArrayInput is an input type that accepts ComponentTypeDataValueArray and ComponentTypeDataValueArrayOutput values. +// You can construct a concrete instance of `ComponentTypeDataValueArrayInput` via: +// +// ComponentTypeDataValueArray{ ComponentTypeDataValueArgs{...} } +type ComponentTypeDataValueArrayInput interface { + pulumi.Input + + ToComponentTypeDataValueArrayOutput() ComponentTypeDataValueArrayOutput + ToComponentTypeDataValueArrayOutputWithContext(context.Context) ComponentTypeDataValueArrayOutput +} + +type ComponentTypeDataValueArray []ComponentTypeDataValueInput + +func (ComponentTypeDataValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ComponentTypeDataValue)(nil)).Elem() +} + +func (i ComponentTypeDataValueArray) ToComponentTypeDataValueArrayOutput() ComponentTypeDataValueArrayOutput { + return i.ToComponentTypeDataValueArrayOutputWithContext(context.Background()) +} + +func (i ComponentTypeDataValueArray) ToComponentTypeDataValueArrayOutputWithContext(ctx context.Context) ComponentTypeDataValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataValueArrayOutput) +} + +// ComponentTypeDataValueMapInput is an input type that accepts ComponentTypeDataValueMap and ComponentTypeDataValueMapOutput values. +// You can construct a concrete instance of `ComponentTypeDataValueMapInput` via: +// +// ComponentTypeDataValueMap{ "key": ComponentTypeDataValueArgs{...} } +type ComponentTypeDataValueMapInput interface { + pulumi.Input + + ToComponentTypeDataValueMapOutput() ComponentTypeDataValueMapOutput + ToComponentTypeDataValueMapOutputWithContext(context.Context) ComponentTypeDataValueMapOutput +} + +type ComponentTypeDataValueMap map[string]ComponentTypeDataValueInput + +func (ComponentTypeDataValueMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentTypeDataValue)(nil)).Elem() +} + +func (i ComponentTypeDataValueMap) ToComponentTypeDataValueMapOutput() ComponentTypeDataValueMapOutput { + return i.ToComponentTypeDataValueMapOutputWithContext(context.Background()) +} + +func (i ComponentTypeDataValueMap) ToComponentTypeDataValueMapOutputWithContext(ctx context.Context) ComponentTypeDataValueMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataValueMapOutput) +} + +// An object that specifies a value for a property. +type ComponentTypeDataValueOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeDataValue)(nil)).Elem() +} + +func (o ComponentTypeDataValueOutput) ToComponentTypeDataValueOutput() ComponentTypeDataValueOutput { + return o +} + +func (o ComponentTypeDataValueOutput) ToComponentTypeDataValueOutputWithContext(ctx context.Context) ComponentTypeDataValueOutput { + return o +} + +func (o ComponentTypeDataValueOutput) ToComponentTypeDataValuePtrOutput() ComponentTypeDataValuePtrOutput { + return o.ToComponentTypeDataValuePtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeDataValueOutput) ToComponentTypeDataValuePtrOutputWithContext(ctx context.Context) ComponentTypeDataValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComponentTypeDataValue) *ComponentTypeDataValue { + return &v + }).(ComponentTypeDataValuePtrOutput) +} + +// A Boolean value. +func (o ComponentTypeDataValueOutput) BooleanValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ComponentTypeDataValue) *bool { return v.BooleanValue }).(pulumi.BoolPtrOutput) +} + +// A double value. +func (o ComponentTypeDataValueOutput) DoubleValue() pulumi.Float64PtrOutput { + return o.ApplyT(func(v ComponentTypeDataValue) *float64 { return v.DoubleValue }).(pulumi.Float64PtrOutput) +} + +// An expression that produces the value. +func (o ComponentTypeDataValueOutput) Expression() pulumi.StringPtrOutput { + return o.ApplyT(func(v ComponentTypeDataValue) *string { return v.Expression }).(pulumi.StringPtrOutput) +} + +// An integer value. +func (o ComponentTypeDataValueOutput) IntegerValue() pulumi.IntPtrOutput { + return o.ApplyT(func(v ComponentTypeDataValue) *int { return v.IntegerValue }).(pulumi.IntPtrOutput) +} + +// A list of multiple values. +func (o ComponentTypeDataValueOutput) ListValue() ComponentTypeDataValueArrayOutput { + return o.ApplyT(func(v ComponentTypeDataValue) []ComponentTypeDataValue { return v.ListValue }).(ComponentTypeDataValueArrayOutput) +} + +// A long value. +func (o ComponentTypeDataValueOutput) LongValue() pulumi.Float64PtrOutput { + return o.ApplyT(func(v ComponentTypeDataValue) *float64 { return v.LongValue }).(pulumi.Float64PtrOutput) +} + +// An object that maps strings to multiple DataValue objects. +func (o ComponentTypeDataValueOutput) MapValue() ComponentTypeDataValueMapOutput { + return o.ApplyT(func(v ComponentTypeDataValue) map[string]ComponentTypeDataValue { return v.MapValue }).(ComponentTypeDataValueMapOutput) +} + +// A value that relates a component to another component. +func (o ComponentTypeDataValueOutput) RelationshipValue() ComponentTypeDataValueRelationshipValuePropertiesPtrOutput { + return o.ApplyT(func(v ComponentTypeDataValue) *ComponentTypeDataValueRelationshipValueProperties { + return v.RelationshipValue + }).(ComponentTypeDataValueRelationshipValuePropertiesPtrOutput) +} + +// A string value. +func (o ComponentTypeDataValueOutput) StringValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v ComponentTypeDataValue) *string { return v.StringValue }).(pulumi.StringPtrOutput) +} + +type ComponentTypeDataValuePtrOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeDataValue)(nil)).Elem() +} + +func (o ComponentTypeDataValuePtrOutput) ToComponentTypeDataValuePtrOutput() ComponentTypeDataValuePtrOutput { + return o +} + +func (o ComponentTypeDataValuePtrOutput) ToComponentTypeDataValuePtrOutputWithContext(ctx context.Context) ComponentTypeDataValuePtrOutput { + return o +} + +func (o ComponentTypeDataValuePtrOutput) Elem() ComponentTypeDataValueOutput { + return o.ApplyT(func(v *ComponentTypeDataValue) ComponentTypeDataValue { + if v != nil { + return *v + } + var ret ComponentTypeDataValue + return ret + }).(ComponentTypeDataValueOutput) +} + +// A Boolean value. +func (o ComponentTypeDataValuePtrOutput) BooleanValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ComponentTypeDataValue) *bool { + if v == nil { + return nil + } + return v.BooleanValue + }).(pulumi.BoolPtrOutput) +} + +// A double value. +func (o ComponentTypeDataValuePtrOutput) DoubleValue() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *ComponentTypeDataValue) *float64 { + if v == nil { + return nil + } + return v.DoubleValue + }).(pulumi.Float64PtrOutput) +} + +// An expression that produces the value. +func (o ComponentTypeDataValuePtrOutput) Expression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ComponentTypeDataValue) *string { + if v == nil { + return nil + } + return v.Expression + }).(pulumi.StringPtrOutput) +} + +// An integer value. +func (o ComponentTypeDataValuePtrOutput) IntegerValue() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ComponentTypeDataValue) *int { + if v == nil { + return nil + } + return v.IntegerValue + }).(pulumi.IntPtrOutput) +} + +// A list of multiple values. +func (o ComponentTypeDataValuePtrOutput) ListValue() ComponentTypeDataValueArrayOutput { + return o.ApplyT(func(v *ComponentTypeDataValue) []ComponentTypeDataValue { + if v == nil { + return nil + } + return v.ListValue + }).(ComponentTypeDataValueArrayOutput) +} + +// A long value. +func (o ComponentTypeDataValuePtrOutput) LongValue() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *ComponentTypeDataValue) *float64 { + if v == nil { + return nil + } + return v.LongValue + }).(pulumi.Float64PtrOutput) +} + +// An object that maps strings to multiple DataValue objects. +func (o ComponentTypeDataValuePtrOutput) MapValue() ComponentTypeDataValueMapOutput { + return o.ApplyT(func(v *ComponentTypeDataValue) map[string]ComponentTypeDataValue { + if v == nil { + return nil + } + return v.MapValue + }).(ComponentTypeDataValueMapOutput) +} + +// A value that relates a component to another component. +func (o ComponentTypeDataValuePtrOutput) RelationshipValue() ComponentTypeDataValueRelationshipValuePropertiesPtrOutput { + return o.ApplyT(func(v *ComponentTypeDataValue) *ComponentTypeDataValueRelationshipValueProperties { + if v == nil { + return nil + } + return v.RelationshipValue + }).(ComponentTypeDataValueRelationshipValuePropertiesPtrOutput) +} + +// A string value. +func (o ComponentTypeDataValuePtrOutput) StringValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ComponentTypeDataValue) *string { + if v == nil { + return nil + } + return v.StringValue + }).(pulumi.StringPtrOutput) +} + +type ComponentTypeDataValueArrayOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ComponentTypeDataValue)(nil)).Elem() +} + +func (o ComponentTypeDataValueArrayOutput) ToComponentTypeDataValueArrayOutput() ComponentTypeDataValueArrayOutput { + return o +} + +func (o ComponentTypeDataValueArrayOutput) ToComponentTypeDataValueArrayOutputWithContext(ctx context.Context) ComponentTypeDataValueArrayOutput { + return o +} + +func (o ComponentTypeDataValueArrayOutput) Index(i pulumi.IntInput) ComponentTypeDataValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ComponentTypeDataValue { + return vs[0].([]ComponentTypeDataValue)[vs[1].(int)] + }).(ComponentTypeDataValueOutput) +} + +type ComponentTypeDataValueMapOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataValueMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentTypeDataValue)(nil)).Elem() +} + +func (o ComponentTypeDataValueMapOutput) ToComponentTypeDataValueMapOutput() ComponentTypeDataValueMapOutput { + return o +} + +func (o ComponentTypeDataValueMapOutput) ToComponentTypeDataValueMapOutputWithContext(ctx context.Context) ComponentTypeDataValueMapOutput { + return o +} + +func (o ComponentTypeDataValueMapOutput) MapIndex(k pulumi.StringInput) ComponentTypeDataValueOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) ComponentTypeDataValue { + return vs[0].(map[string]ComponentTypeDataValue)[vs[1].(string)] + }).(ComponentTypeDataValueOutput) +} + +// A value that relates a component to another component. +type ComponentTypeDataValueRelationshipValueProperties struct { + TargetComponentName *string `pulumi:"targetComponentName"` + TargetEntityId *string `pulumi:"targetEntityId"` +} + +// ComponentTypeDataValueRelationshipValuePropertiesInput is an input type that accepts ComponentTypeDataValueRelationshipValuePropertiesArgs and ComponentTypeDataValueRelationshipValuePropertiesOutput values. +// You can construct a concrete instance of `ComponentTypeDataValueRelationshipValuePropertiesInput` via: +// +// ComponentTypeDataValueRelationshipValuePropertiesArgs{...} +type ComponentTypeDataValueRelationshipValuePropertiesInput interface { + pulumi.Input + + ToComponentTypeDataValueRelationshipValuePropertiesOutput() ComponentTypeDataValueRelationshipValuePropertiesOutput + ToComponentTypeDataValueRelationshipValuePropertiesOutputWithContext(context.Context) ComponentTypeDataValueRelationshipValuePropertiesOutput +} + +// A value that relates a component to another component. +type ComponentTypeDataValueRelationshipValuePropertiesArgs struct { + TargetComponentName pulumi.StringPtrInput `pulumi:"targetComponentName"` + TargetEntityId pulumi.StringPtrInput `pulumi:"targetEntityId"` +} + +func (ComponentTypeDataValueRelationshipValuePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeDataValueRelationshipValueProperties)(nil)).Elem() +} + +func (i ComponentTypeDataValueRelationshipValuePropertiesArgs) ToComponentTypeDataValueRelationshipValuePropertiesOutput() ComponentTypeDataValueRelationshipValuePropertiesOutput { + return i.ToComponentTypeDataValueRelationshipValuePropertiesOutputWithContext(context.Background()) +} + +func (i ComponentTypeDataValueRelationshipValuePropertiesArgs) ToComponentTypeDataValueRelationshipValuePropertiesOutputWithContext(ctx context.Context) ComponentTypeDataValueRelationshipValuePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataValueRelationshipValuePropertiesOutput) +} + +func (i ComponentTypeDataValueRelationshipValuePropertiesArgs) ToComponentTypeDataValueRelationshipValuePropertiesPtrOutput() ComponentTypeDataValueRelationshipValuePropertiesPtrOutput { + return i.ToComponentTypeDataValueRelationshipValuePropertiesPtrOutputWithContext(context.Background()) +} + +func (i ComponentTypeDataValueRelationshipValuePropertiesArgs) ToComponentTypeDataValueRelationshipValuePropertiesPtrOutputWithContext(ctx context.Context) ComponentTypeDataValueRelationshipValuePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataValueRelationshipValuePropertiesOutput).ToComponentTypeDataValueRelationshipValuePropertiesPtrOutputWithContext(ctx) +} + +// ComponentTypeDataValueRelationshipValuePropertiesPtrInput is an input type that accepts ComponentTypeDataValueRelationshipValuePropertiesArgs, ComponentTypeDataValueRelationshipValuePropertiesPtr and ComponentTypeDataValueRelationshipValuePropertiesPtrOutput values. +// You can construct a concrete instance of `ComponentTypeDataValueRelationshipValuePropertiesPtrInput` via: +// +// ComponentTypeDataValueRelationshipValuePropertiesArgs{...} +// +// or: +// +// nil +type ComponentTypeDataValueRelationshipValuePropertiesPtrInput interface { + pulumi.Input + + ToComponentTypeDataValueRelationshipValuePropertiesPtrOutput() ComponentTypeDataValueRelationshipValuePropertiesPtrOutput + ToComponentTypeDataValueRelationshipValuePropertiesPtrOutputWithContext(context.Context) ComponentTypeDataValueRelationshipValuePropertiesPtrOutput +} + +type componentTypeDataValueRelationshipValuePropertiesPtrType ComponentTypeDataValueRelationshipValuePropertiesArgs + +func ComponentTypeDataValueRelationshipValuePropertiesPtr(v *ComponentTypeDataValueRelationshipValuePropertiesArgs) ComponentTypeDataValueRelationshipValuePropertiesPtrInput { + return (*componentTypeDataValueRelationshipValuePropertiesPtrType)(v) +} + +func (*componentTypeDataValueRelationshipValuePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeDataValueRelationshipValueProperties)(nil)).Elem() +} + +func (i *componentTypeDataValueRelationshipValuePropertiesPtrType) ToComponentTypeDataValueRelationshipValuePropertiesPtrOutput() ComponentTypeDataValueRelationshipValuePropertiesPtrOutput { + return i.ToComponentTypeDataValueRelationshipValuePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *componentTypeDataValueRelationshipValuePropertiesPtrType) ToComponentTypeDataValueRelationshipValuePropertiesPtrOutputWithContext(ctx context.Context) ComponentTypeDataValueRelationshipValuePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeDataValueRelationshipValuePropertiesPtrOutput) +} + +// A value that relates a component to another component. +type ComponentTypeDataValueRelationshipValuePropertiesOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataValueRelationshipValuePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeDataValueRelationshipValueProperties)(nil)).Elem() +} + +func (o ComponentTypeDataValueRelationshipValuePropertiesOutput) ToComponentTypeDataValueRelationshipValuePropertiesOutput() ComponentTypeDataValueRelationshipValuePropertiesOutput { + return o +} + +func (o ComponentTypeDataValueRelationshipValuePropertiesOutput) ToComponentTypeDataValueRelationshipValuePropertiesOutputWithContext(ctx context.Context) ComponentTypeDataValueRelationshipValuePropertiesOutput { + return o +} + +func (o ComponentTypeDataValueRelationshipValuePropertiesOutput) ToComponentTypeDataValueRelationshipValuePropertiesPtrOutput() ComponentTypeDataValueRelationshipValuePropertiesPtrOutput { + return o.ToComponentTypeDataValueRelationshipValuePropertiesPtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeDataValueRelationshipValuePropertiesOutput) ToComponentTypeDataValueRelationshipValuePropertiesPtrOutputWithContext(ctx context.Context) ComponentTypeDataValueRelationshipValuePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComponentTypeDataValueRelationshipValueProperties) *ComponentTypeDataValueRelationshipValueProperties { + return &v + }).(ComponentTypeDataValueRelationshipValuePropertiesPtrOutput) +} + +func (o ComponentTypeDataValueRelationshipValuePropertiesOutput) TargetComponentName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ComponentTypeDataValueRelationshipValueProperties) *string { return v.TargetComponentName }).(pulumi.StringPtrOutput) +} + +func (o ComponentTypeDataValueRelationshipValuePropertiesOutput) TargetEntityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ComponentTypeDataValueRelationshipValueProperties) *string { return v.TargetEntityId }).(pulumi.StringPtrOutput) +} + +type ComponentTypeDataValueRelationshipValuePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ComponentTypeDataValueRelationshipValuePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeDataValueRelationshipValueProperties)(nil)).Elem() +} + +func (o ComponentTypeDataValueRelationshipValuePropertiesPtrOutput) ToComponentTypeDataValueRelationshipValuePropertiesPtrOutput() ComponentTypeDataValueRelationshipValuePropertiesPtrOutput { + return o +} + +func (o ComponentTypeDataValueRelationshipValuePropertiesPtrOutput) ToComponentTypeDataValueRelationshipValuePropertiesPtrOutputWithContext(ctx context.Context) ComponentTypeDataValueRelationshipValuePropertiesPtrOutput { + return o +} + +func (o ComponentTypeDataValueRelationshipValuePropertiesPtrOutput) Elem() ComponentTypeDataValueRelationshipValuePropertiesOutput { + return o.ApplyT(func(v *ComponentTypeDataValueRelationshipValueProperties) ComponentTypeDataValueRelationshipValueProperties { + if v != nil { + return *v + } + var ret ComponentTypeDataValueRelationshipValueProperties + return ret + }).(ComponentTypeDataValueRelationshipValuePropertiesOutput) +} + +func (o ComponentTypeDataValueRelationshipValuePropertiesPtrOutput) TargetComponentName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ComponentTypeDataValueRelationshipValueProperties) *string { + if v == nil { + return nil + } + return v.TargetComponentName + }).(pulumi.StringPtrOutput) +} + +func (o ComponentTypeDataValueRelationshipValuePropertiesPtrOutput) TargetEntityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ComponentTypeDataValueRelationshipValueProperties) *string { + if v == nil { + return nil + } + return v.TargetEntityId + }).(pulumi.StringPtrOutput) +} + +// The function of component type. +type ComponentTypeFunction struct { + // The data connector. + ImplementedBy *ComponentTypeDataConnector `pulumi:"implementedBy"` + // The required properties of the function. + RequiredProperties []string `pulumi:"requiredProperties"` + // The scope of the function. + Scope *ComponentTypeFunctionScope `pulumi:"scope"` +} + +// ComponentTypeFunctionInput is an input type that accepts ComponentTypeFunctionArgs and ComponentTypeFunctionOutput values. +// You can construct a concrete instance of `ComponentTypeFunctionInput` via: +// +// ComponentTypeFunctionArgs{...} +type ComponentTypeFunctionInput interface { + pulumi.Input + + ToComponentTypeFunctionOutput() ComponentTypeFunctionOutput + ToComponentTypeFunctionOutputWithContext(context.Context) ComponentTypeFunctionOutput +} + +// The function of component type. +type ComponentTypeFunctionArgs struct { + // The data connector. + ImplementedBy ComponentTypeDataConnectorPtrInput `pulumi:"implementedBy"` + // The required properties of the function. + RequiredProperties pulumi.StringArrayInput `pulumi:"requiredProperties"` + // The scope of the function. + Scope ComponentTypeFunctionScopePtrInput `pulumi:"scope"` +} + +func (ComponentTypeFunctionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeFunction)(nil)).Elem() +} + +func (i ComponentTypeFunctionArgs) ToComponentTypeFunctionOutput() ComponentTypeFunctionOutput { + return i.ToComponentTypeFunctionOutputWithContext(context.Background()) +} + +func (i ComponentTypeFunctionArgs) ToComponentTypeFunctionOutputWithContext(ctx context.Context) ComponentTypeFunctionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeFunctionOutput) +} + +// ComponentTypeFunctionMapInput is an input type that accepts ComponentTypeFunctionMap and ComponentTypeFunctionMapOutput values. +// You can construct a concrete instance of `ComponentTypeFunctionMapInput` via: +// +// ComponentTypeFunctionMap{ "key": ComponentTypeFunctionArgs{...} } +type ComponentTypeFunctionMapInput interface { + pulumi.Input + + ToComponentTypeFunctionMapOutput() ComponentTypeFunctionMapOutput + ToComponentTypeFunctionMapOutputWithContext(context.Context) ComponentTypeFunctionMapOutput +} + +type ComponentTypeFunctionMap map[string]ComponentTypeFunctionInput + +func (ComponentTypeFunctionMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentTypeFunction)(nil)).Elem() +} + +func (i ComponentTypeFunctionMap) ToComponentTypeFunctionMapOutput() ComponentTypeFunctionMapOutput { + return i.ToComponentTypeFunctionMapOutputWithContext(context.Background()) +} + +func (i ComponentTypeFunctionMap) ToComponentTypeFunctionMapOutputWithContext(ctx context.Context) ComponentTypeFunctionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeFunctionMapOutput) +} + +// The function of component type. +type ComponentTypeFunctionOutput struct{ *pulumi.OutputState } + +func (ComponentTypeFunctionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeFunction)(nil)).Elem() +} + +func (o ComponentTypeFunctionOutput) ToComponentTypeFunctionOutput() ComponentTypeFunctionOutput { + return o +} + +func (o ComponentTypeFunctionOutput) ToComponentTypeFunctionOutputWithContext(ctx context.Context) ComponentTypeFunctionOutput { + return o +} + +// The data connector. +func (o ComponentTypeFunctionOutput) ImplementedBy() ComponentTypeDataConnectorPtrOutput { + return o.ApplyT(func(v ComponentTypeFunction) *ComponentTypeDataConnector { return v.ImplementedBy }).(ComponentTypeDataConnectorPtrOutput) +} + +// The required properties of the function. +func (o ComponentTypeFunctionOutput) RequiredProperties() pulumi.StringArrayOutput { + return o.ApplyT(func(v ComponentTypeFunction) []string { return v.RequiredProperties }).(pulumi.StringArrayOutput) +} + +// The scope of the function. +func (o ComponentTypeFunctionOutput) Scope() ComponentTypeFunctionScopePtrOutput { + return o.ApplyT(func(v ComponentTypeFunction) *ComponentTypeFunctionScope { return v.Scope }).(ComponentTypeFunctionScopePtrOutput) +} + +type ComponentTypeFunctionMapOutput struct{ *pulumi.OutputState } + +func (ComponentTypeFunctionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentTypeFunction)(nil)).Elem() +} + +func (o ComponentTypeFunctionMapOutput) ToComponentTypeFunctionMapOutput() ComponentTypeFunctionMapOutput { + return o +} + +func (o ComponentTypeFunctionMapOutput) ToComponentTypeFunctionMapOutputWithContext(ctx context.Context) ComponentTypeFunctionMapOutput { + return o +} + +func (o ComponentTypeFunctionMapOutput) MapIndex(k pulumi.StringInput) ComponentTypeFunctionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) ComponentTypeFunction { + return vs[0].(map[string]ComponentTypeFunction)[vs[1].(string)] + }).(ComponentTypeFunctionOutput) +} + +type ComponentTypeLambdaFunction struct { + Arn string `pulumi:"arn"` +} + +// ComponentTypeLambdaFunctionInput is an input type that accepts ComponentTypeLambdaFunctionArgs and ComponentTypeLambdaFunctionOutput values. +// You can construct a concrete instance of `ComponentTypeLambdaFunctionInput` via: +// +// ComponentTypeLambdaFunctionArgs{...} +type ComponentTypeLambdaFunctionInput interface { + pulumi.Input + + ToComponentTypeLambdaFunctionOutput() ComponentTypeLambdaFunctionOutput + ToComponentTypeLambdaFunctionOutputWithContext(context.Context) ComponentTypeLambdaFunctionOutput +} + +type ComponentTypeLambdaFunctionArgs struct { + Arn pulumi.StringInput `pulumi:"arn"` +} + +func (ComponentTypeLambdaFunctionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeLambdaFunction)(nil)).Elem() +} + +func (i ComponentTypeLambdaFunctionArgs) ToComponentTypeLambdaFunctionOutput() ComponentTypeLambdaFunctionOutput { + return i.ToComponentTypeLambdaFunctionOutputWithContext(context.Background()) +} + +func (i ComponentTypeLambdaFunctionArgs) ToComponentTypeLambdaFunctionOutputWithContext(ctx context.Context) ComponentTypeLambdaFunctionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeLambdaFunctionOutput) +} + +func (i ComponentTypeLambdaFunctionArgs) ToComponentTypeLambdaFunctionPtrOutput() ComponentTypeLambdaFunctionPtrOutput { + return i.ToComponentTypeLambdaFunctionPtrOutputWithContext(context.Background()) +} + +func (i ComponentTypeLambdaFunctionArgs) ToComponentTypeLambdaFunctionPtrOutputWithContext(ctx context.Context) ComponentTypeLambdaFunctionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeLambdaFunctionOutput).ToComponentTypeLambdaFunctionPtrOutputWithContext(ctx) +} + +// ComponentTypeLambdaFunctionPtrInput is an input type that accepts ComponentTypeLambdaFunctionArgs, ComponentTypeLambdaFunctionPtr and ComponentTypeLambdaFunctionPtrOutput values. +// You can construct a concrete instance of `ComponentTypeLambdaFunctionPtrInput` via: +// +// ComponentTypeLambdaFunctionArgs{...} +// +// or: +// +// nil +type ComponentTypeLambdaFunctionPtrInput interface { + pulumi.Input + + ToComponentTypeLambdaFunctionPtrOutput() ComponentTypeLambdaFunctionPtrOutput + ToComponentTypeLambdaFunctionPtrOutputWithContext(context.Context) ComponentTypeLambdaFunctionPtrOutput +} + +type componentTypeLambdaFunctionPtrType ComponentTypeLambdaFunctionArgs + +func ComponentTypeLambdaFunctionPtr(v *ComponentTypeLambdaFunctionArgs) ComponentTypeLambdaFunctionPtrInput { + return (*componentTypeLambdaFunctionPtrType)(v) +} + +func (*componentTypeLambdaFunctionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeLambdaFunction)(nil)).Elem() +} + +func (i *componentTypeLambdaFunctionPtrType) ToComponentTypeLambdaFunctionPtrOutput() ComponentTypeLambdaFunctionPtrOutput { + return i.ToComponentTypeLambdaFunctionPtrOutputWithContext(context.Background()) +} + +func (i *componentTypeLambdaFunctionPtrType) ToComponentTypeLambdaFunctionPtrOutputWithContext(ctx context.Context) ComponentTypeLambdaFunctionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeLambdaFunctionPtrOutput) +} + +type ComponentTypeLambdaFunctionOutput struct{ *pulumi.OutputState } + +func (ComponentTypeLambdaFunctionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeLambdaFunction)(nil)).Elem() +} + +func (o ComponentTypeLambdaFunctionOutput) ToComponentTypeLambdaFunctionOutput() ComponentTypeLambdaFunctionOutput { + return o +} + +func (o ComponentTypeLambdaFunctionOutput) ToComponentTypeLambdaFunctionOutputWithContext(ctx context.Context) ComponentTypeLambdaFunctionOutput { + return o +} + +func (o ComponentTypeLambdaFunctionOutput) ToComponentTypeLambdaFunctionPtrOutput() ComponentTypeLambdaFunctionPtrOutput { + return o.ToComponentTypeLambdaFunctionPtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeLambdaFunctionOutput) ToComponentTypeLambdaFunctionPtrOutputWithContext(ctx context.Context) ComponentTypeLambdaFunctionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComponentTypeLambdaFunction) *ComponentTypeLambdaFunction { + return &v + }).(ComponentTypeLambdaFunctionPtrOutput) +} + +func (o ComponentTypeLambdaFunctionOutput) Arn() pulumi.StringOutput { + return o.ApplyT(func(v ComponentTypeLambdaFunction) string { return v.Arn }).(pulumi.StringOutput) +} + +type ComponentTypeLambdaFunctionPtrOutput struct{ *pulumi.OutputState } + +func (ComponentTypeLambdaFunctionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeLambdaFunction)(nil)).Elem() +} + +func (o ComponentTypeLambdaFunctionPtrOutput) ToComponentTypeLambdaFunctionPtrOutput() ComponentTypeLambdaFunctionPtrOutput { + return o +} + +func (o ComponentTypeLambdaFunctionPtrOutput) ToComponentTypeLambdaFunctionPtrOutputWithContext(ctx context.Context) ComponentTypeLambdaFunctionPtrOutput { + return o +} + +func (o ComponentTypeLambdaFunctionPtrOutput) Elem() ComponentTypeLambdaFunctionOutput { + return o.ApplyT(func(v *ComponentTypeLambdaFunction) ComponentTypeLambdaFunction { + if v != nil { + return *v + } + var ret ComponentTypeLambdaFunction + return ret + }).(ComponentTypeLambdaFunctionOutput) +} + +func (o ComponentTypeLambdaFunctionPtrOutput) Arn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ComponentTypeLambdaFunction) *string { + if v == nil { + return nil + } + return &v.Arn + }).(pulumi.StringPtrOutput) +} + +// An object that sets information about a property. +type ComponentTypePropertyDefinition struct { + // An object that specifies information about a property. + Configurations map[string]string `pulumi:"configurations"` + // An object that contains information about the data type. + DataType *ComponentTypeDataType `pulumi:"dataType"` + // An object that contains the default value. + DefaultValue *ComponentTypeDataValue `pulumi:"defaultValue"` + // A Boolean value that specifies whether the property ID comes from an external data store. + IsExternalId *bool `pulumi:"isExternalId"` + // A Boolean value that specifies whether the property is required. + IsRequiredInEntity *bool `pulumi:"isRequiredInEntity"` + // A Boolean value that specifies whether the property is stored externally. + IsStoredExternally *bool `pulumi:"isStoredExternally"` + // A Boolean value that specifies whether the property consists of time series data. + IsTimeSeries *bool `pulumi:"isTimeSeries"` +} + +// ComponentTypePropertyDefinitionInput is an input type that accepts ComponentTypePropertyDefinitionArgs and ComponentTypePropertyDefinitionOutput values. +// You can construct a concrete instance of `ComponentTypePropertyDefinitionInput` via: +// +// ComponentTypePropertyDefinitionArgs{...} +type ComponentTypePropertyDefinitionInput interface { + pulumi.Input + + ToComponentTypePropertyDefinitionOutput() ComponentTypePropertyDefinitionOutput + ToComponentTypePropertyDefinitionOutputWithContext(context.Context) ComponentTypePropertyDefinitionOutput +} + +// An object that sets information about a property. +type ComponentTypePropertyDefinitionArgs struct { + // An object that specifies information about a property. + Configurations pulumi.StringMapInput `pulumi:"configurations"` + // An object that contains information about the data type. + DataType ComponentTypeDataTypePtrInput `pulumi:"dataType"` + // An object that contains the default value. + DefaultValue ComponentTypeDataValuePtrInput `pulumi:"defaultValue"` + // A Boolean value that specifies whether the property ID comes from an external data store. + IsExternalId pulumi.BoolPtrInput `pulumi:"isExternalId"` + // A Boolean value that specifies whether the property is required. + IsRequiredInEntity pulumi.BoolPtrInput `pulumi:"isRequiredInEntity"` + // A Boolean value that specifies whether the property is stored externally. + IsStoredExternally pulumi.BoolPtrInput `pulumi:"isStoredExternally"` + // A Boolean value that specifies whether the property consists of time series data. + IsTimeSeries pulumi.BoolPtrInput `pulumi:"isTimeSeries"` +} + +func (ComponentTypePropertyDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypePropertyDefinition)(nil)).Elem() +} + +func (i ComponentTypePropertyDefinitionArgs) ToComponentTypePropertyDefinitionOutput() ComponentTypePropertyDefinitionOutput { + return i.ToComponentTypePropertyDefinitionOutputWithContext(context.Background()) +} + +func (i ComponentTypePropertyDefinitionArgs) ToComponentTypePropertyDefinitionOutputWithContext(ctx context.Context) ComponentTypePropertyDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypePropertyDefinitionOutput) +} + +// ComponentTypePropertyDefinitionMapInput is an input type that accepts ComponentTypePropertyDefinitionMap and ComponentTypePropertyDefinitionMapOutput values. +// You can construct a concrete instance of `ComponentTypePropertyDefinitionMapInput` via: +// +// ComponentTypePropertyDefinitionMap{ "key": ComponentTypePropertyDefinitionArgs{...} } +type ComponentTypePropertyDefinitionMapInput interface { + pulumi.Input + + ToComponentTypePropertyDefinitionMapOutput() ComponentTypePropertyDefinitionMapOutput + ToComponentTypePropertyDefinitionMapOutputWithContext(context.Context) ComponentTypePropertyDefinitionMapOutput +} + +type ComponentTypePropertyDefinitionMap map[string]ComponentTypePropertyDefinitionInput + +func (ComponentTypePropertyDefinitionMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentTypePropertyDefinition)(nil)).Elem() +} + +func (i ComponentTypePropertyDefinitionMap) ToComponentTypePropertyDefinitionMapOutput() ComponentTypePropertyDefinitionMapOutput { + return i.ToComponentTypePropertyDefinitionMapOutputWithContext(context.Background()) +} + +func (i ComponentTypePropertyDefinitionMap) ToComponentTypePropertyDefinitionMapOutputWithContext(ctx context.Context) ComponentTypePropertyDefinitionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypePropertyDefinitionMapOutput) +} + +// An object that sets information about a property. +type ComponentTypePropertyDefinitionOutput struct{ *pulumi.OutputState } + +func (ComponentTypePropertyDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypePropertyDefinition)(nil)).Elem() +} + +func (o ComponentTypePropertyDefinitionOutput) ToComponentTypePropertyDefinitionOutput() ComponentTypePropertyDefinitionOutput { + return o +} + +func (o ComponentTypePropertyDefinitionOutput) ToComponentTypePropertyDefinitionOutputWithContext(ctx context.Context) ComponentTypePropertyDefinitionOutput { + return o +} + +// An object that specifies information about a property. +func (o ComponentTypePropertyDefinitionOutput) Configurations() pulumi.StringMapOutput { + return o.ApplyT(func(v ComponentTypePropertyDefinition) map[string]string { return v.Configurations }).(pulumi.StringMapOutput) +} + +// An object that contains information about the data type. +func (o ComponentTypePropertyDefinitionOutput) DataType() ComponentTypeDataTypePtrOutput { + return o.ApplyT(func(v ComponentTypePropertyDefinition) *ComponentTypeDataType { return v.DataType }).(ComponentTypeDataTypePtrOutput) +} + +// An object that contains the default value. +func (o ComponentTypePropertyDefinitionOutput) DefaultValue() ComponentTypeDataValuePtrOutput { + return o.ApplyT(func(v ComponentTypePropertyDefinition) *ComponentTypeDataValue { return v.DefaultValue }).(ComponentTypeDataValuePtrOutput) +} + +// A Boolean value that specifies whether the property ID comes from an external data store. +func (o ComponentTypePropertyDefinitionOutput) IsExternalId() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ComponentTypePropertyDefinition) *bool { return v.IsExternalId }).(pulumi.BoolPtrOutput) +} + +// A Boolean value that specifies whether the property is required. +func (o ComponentTypePropertyDefinitionOutput) IsRequiredInEntity() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ComponentTypePropertyDefinition) *bool { return v.IsRequiredInEntity }).(pulumi.BoolPtrOutput) +} + +// A Boolean value that specifies whether the property is stored externally. +func (o ComponentTypePropertyDefinitionOutput) IsStoredExternally() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ComponentTypePropertyDefinition) *bool { return v.IsStoredExternally }).(pulumi.BoolPtrOutput) +} + +// A Boolean value that specifies whether the property consists of time series data. +func (o ComponentTypePropertyDefinitionOutput) IsTimeSeries() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ComponentTypePropertyDefinition) *bool { return v.IsTimeSeries }).(pulumi.BoolPtrOutput) +} + +type ComponentTypePropertyDefinitionMapOutput struct{ *pulumi.OutputState } + +func (ComponentTypePropertyDefinitionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentTypePropertyDefinition)(nil)).Elem() +} + +func (o ComponentTypePropertyDefinitionMapOutput) ToComponentTypePropertyDefinitionMapOutput() ComponentTypePropertyDefinitionMapOutput { + return o +} + +func (o ComponentTypePropertyDefinitionMapOutput) ToComponentTypePropertyDefinitionMapOutputWithContext(ctx context.Context) ComponentTypePropertyDefinitionMapOutput { + return o +} + +func (o ComponentTypePropertyDefinitionMapOutput) MapIndex(k pulumi.StringInput) ComponentTypePropertyDefinitionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) ComponentTypePropertyDefinition { + return vs[0].(map[string]ComponentTypePropertyDefinition)[vs[1].(string)] + }).(ComponentTypePropertyDefinitionOutput) +} + +// An object that sets information about a property group. +type ComponentTypePropertyGroup struct { + // The type of property group. + GroupType *ComponentTypePropertyGroupGroupType `pulumi:"groupType"` + // The list of property names in the property group. + PropertyNames []string `pulumi:"propertyNames"` +} + +// ComponentTypePropertyGroupInput is an input type that accepts ComponentTypePropertyGroupArgs and ComponentTypePropertyGroupOutput values. +// You can construct a concrete instance of `ComponentTypePropertyGroupInput` via: +// +// ComponentTypePropertyGroupArgs{...} +type ComponentTypePropertyGroupInput interface { + pulumi.Input + + ToComponentTypePropertyGroupOutput() ComponentTypePropertyGroupOutput + ToComponentTypePropertyGroupOutputWithContext(context.Context) ComponentTypePropertyGroupOutput +} + +// An object that sets information about a property group. +type ComponentTypePropertyGroupArgs struct { + // The type of property group. + GroupType ComponentTypePropertyGroupGroupTypePtrInput `pulumi:"groupType"` + // The list of property names in the property group. + PropertyNames pulumi.StringArrayInput `pulumi:"propertyNames"` +} + +func (ComponentTypePropertyGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypePropertyGroup)(nil)).Elem() +} + +func (i ComponentTypePropertyGroupArgs) ToComponentTypePropertyGroupOutput() ComponentTypePropertyGroupOutput { + return i.ToComponentTypePropertyGroupOutputWithContext(context.Background()) +} + +func (i ComponentTypePropertyGroupArgs) ToComponentTypePropertyGroupOutputWithContext(ctx context.Context) ComponentTypePropertyGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypePropertyGroupOutput) +} + +// ComponentTypePropertyGroupMapInput is an input type that accepts ComponentTypePropertyGroupMap and ComponentTypePropertyGroupMapOutput values. +// You can construct a concrete instance of `ComponentTypePropertyGroupMapInput` via: +// +// ComponentTypePropertyGroupMap{ "key": ComponentTypePropertyGroupArgs{...} } +type ComponentTypePropertyGroupMapInput interface { + pulumi.Input + + ToComponentTypePropertyGroupMapOutput() ComponentTypePropertyGroupMapOutput + ToComponentTypePropertyGroupMapOutputWithContext(context.Context) ComponentTypePropertyGroupMapOutput +} + +type ComponentTypePropertyGroupMap map[string]ComponentTypePropertyGroupInput + +func (ComponentTypePropertyGroupMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentTypePropertyGroup)(nil)).Elem() +} + +func (i ComponentTypePropertyGroupMap) ToComponentTypePropertyGroupMapOutput() ComponentTypePropertyGroupMapOutput { + return i.ToComponentTypePropertyGroupMapOutputWithContext(context.Background()) +} + +func (i ComponentTypePropertyGroupMap) ToComponentTypePropertyGroupMapOutputWithContext(ctx context.Context) ComponentTypePropertyGroupMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypePropertyGroupMapOutput) +} + +// An object that sets information about a property group. +type ComponentTypePropertyGroupOutput struct{ *pulumi.OutputState } + +func (ComponentTypePropertyGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypePropertyGroup)(nil)).Elem() +} + +func (o ComponentTypePropertyGroupOutput) ToComponentTypePropertyGroupOutput() ComponentTypePropertyGroupOutput { + return o +} + +func (o ComponentTypePropertyGroupOutput) ToComponentTypePropertyGroupOutputWithContext(ctx context.Context) ComponentTypePropertyGroupOutput { + return o +} + +// The type of property group. +func (o ComponentTypePropertyGroupOutput) GroupType() ComponentTypePropertyGroupGroupTypePtrOutput { + return o.ApplyT(func(v ComponentTypePropertyGroup) *ComponentTypePropertyGroupGroupType { return v.GroupType }).(ComponentTypePropertyGroupGroupTypePtrOutput) +} + +// The list of property names in the property group. +func (o ComponentTypePropertyGroupOutput) PropertyNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v ComponentTypePropertyGroup) []string { return v.PropertyNames }).(pulumi.StringArrayOutput) +} + +type ComponentTypePropertyGroupMapOutput struct{ *pulumi.OutputState } + +func (ComponentTypePropertyGroupMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]ComponentTypePropertyGroup)(nil)).Elem() +} + +func (o ComponentTypePropertyGroupMapOutput) ToComponentTypePropertyGroupMapOutput() ComponentTypePropertyGroupMapOutput { + return o +} + +func (o ComponentTypePropertyGroupMapOutput) ToComponentTypePropertyGroupMapOutputWithContext(ctx context.Context) ComponentTypePropertyGroupMapOutput { + return o +} + +func (o ComponentTypePropertyGroupMapOutput) MapIndex(k pulumi.StringInput) ComponentTypePropertyGroupOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) ComponentTypePropertyGroup { + return vs[0].(map[string]ComponentTypePropertyGroup)[vs[1].(string)] + }).(ComponentTypePropertyGroupOutput) +} + +// The type of the relationship. +type ComponentTypeRelationship struct { + // The type of the relationship. + RelationshipType *string `pulumi:"relationshipType"` + // The ID of the target component type associated with this relationship. + TargetComponentTypeId *string `pulumi:"targetComponentTypeId"` +} + +// ComponentTypeRelationshipInput is an input type that accepts ComponentTypeRelationshipArgs and ComponentTypeRelationshipOutput values. +// You can construct a concrete instance of `ComponentTypeRelationshipInput` via: +// +// ComponentTypeRelationshipArgs{...} +type ComponentTypeRelationshipInput interface { + pulumi.Input + + ToComponentTypeRelationshipOutput() ComponentTypeRelationshipOutput + ToComponentTypeRelationshipOutputWithContext(context.Context) ComponentTypeRelationshipOutput +} + +// The type of the relationship. +type ComponentTypeRelationshipArgs struct { + // The type of the relationship. + RelationshipType pulumi.StringPtrInput `pulumi:"relationshipType"` + // The ID of the target component type associated with this relationship. + TargetComponentTypeId pulumi.StringPtrInput `pulumi:"targetComponentTypeId"` +} + +func (ComponentTypeRelationshipArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeRelationship)(nil)).Elem() +} + +func (i ComponentTypeRelationshipArgs) ToComponentTypeRelationshipOutput() ComponentTypeRelationshipOutput { + return i.ToComponentTypeRelationshipOutputWithContext(context.Background()) +} + +func (i ComponentTypeRelationshipArgs) ToComponentTypeRelationshipOutputWithContext(ctx context.Context) ComponentTypeRelationshipOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeRelationshipOutput) +} + +func (i ComponentTypeRelationshipArgs) ToComponentTypeRelationshipPtrOutput() ComponentTypeRelationshipPtrOutput { + return i.ToComponentTypeRelationshipPtrOutputWithContext(context.Background()) +} + +func (i ComponentTypeRelationshipArgs) ToComponentTypeRelationshipPtrOutputWithContext(ctx context.Context) ComponentTypeRelationshipPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeRelationshipOutput).ToComponentTypeRelationshipPtrOutputWithContext(ctx) +} + +// ComponentTypeRelationshipPtrInput is an input type that accepts ComponentTypeRelationshipArgs, ComponentTypeRelationshipPtr and ComponentTypeRelationshipPtrOutput values. +// You can construct a concrete instance of `ComponentTypeRelationshipPtrInput` via: +// +// ComponentTypeRelationshipArgs{...} +// +// or: +// +// nil +type ComponentTypeRelationshipPtrInput interface { + pulumi.Input + + ToComponentTypeRelationshipPtrOutput() ComponentTypeRelationshipPtrOutput + ToComponentTypeRelationshipPtrOutputWithContext(context.Context) ComponentTypeRelationshipPtrOutput +} + +type componentTypeRelationshipPtrType ComponentTypeRelationshipArgs + +func ComponentTypeRelationshipPtr(v *ComponentTypeRelationshipArgs) ComponentTypeRelationshipPtrInput { + return (*componentTypeRelationshipPtrType)(v) +} + +func (*componentTypeRelationshipPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeRelationship)(nil)).Elem() +} + +func (i *componentTypeRelationshipPtrType) ToComponentTypeRelationshipPtrOutput() ComponentTypeRelationshipPtrOutput { + return i.ToComponentTypeRelationshipPtrOutputWithContext(context.Background()) +} + +func (i *componentTypeRelationshipPtrType) ToComponentTypeRelationshipPtrOutputWithContext(ctx context.Context) ComponentTypeRelationshipPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentTypeRelationshipPtrOutput) +} + +// The type of the relationship. +type ComponentTypeRelationshipOutput struct{ *pulumi.OutputState } + +func (ComponentTypeRelationshipOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeRelationship)(nil)).Elem() +} + +func (o ComponentTypeRelationshipOutput) ToComponentTypeRelationshipOutput() ComponentTypeRelationshipOutput { + return o +} + +func (o ComponentTypeRelationshipOutput) ToComponentTypeRelationshipOutputWithContext(ctx context.Context) ComponentTypeRelationshipOutput { + return o +} + +func (o ComponentTypeRelationshipOutput) ToComponentTypeRelationshipPtrOutput() ComponentTypeRelationshipPtrOutput { + return o.ToComponentTypeRelationshipPtrOutputWithContext(context.Background()) +} + +func (o ComponentTypeRelationshipOutput) ToComponentTypeRelationshipPtrOutputWithContext(ctx context.Context) ComponentTypeRelationshipPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ComponentTypeRelationship) *ComponentTypeRelationship { + return &v + }).(ComponentTypeRelationshipPtrOutput) +} + +// The type of the relationship. +func (o ComponentTypeRelationshipOutput) RelationshipType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ComponentTypeRelationship) *string { return v.RelationshipType }).(pulumi.StringPtrOutput) +} + +// The ID of the target component type associated with this relationship. +func (o ComponentTypeRelationshipOutput) TargetComponentTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ComponentTypeRelationship) *string { return v.TargetComponentTypeId }).(pulumi.StringPtrOutput) +} + +type ComponentTypeRelationshipPtrOutput struct{ *pulumi.OutputState } + +func (ComponentTypeRelationshipPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeRelationship)(nil)).Elem() +} + +func (o ComponentTypeRelationshipPtrOutput) ToComponentTypeRelationshipPtrOutput() ComponentTypeRelationshipPtrOutput { + return o +} + +func (o ComponentTypeRelationshipPtrOutput) ToComponentTypeRelationshipPtrOutputWithContext(ctx context.Context) ComponentTypeRelationshipPtrOutput { + return o +} + +func (o ComponentTypeRelationshipPtrOutput) Elem() ComponentTypeRelationshipOutput { + return o.ApplyT(func(v *ComponentTypeRelationship) ComponentTypeRelationship { + if v != nil { + return *v + } + var ret ComponentTypeRelationship + return ret + }).(ComponentTypeRelationshipOutput) +} + +// The type of the relationship. +func (o ComponentTypeRelationshipPtrOutput) RelationshipType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ComponentTypeRelationship) *string { + if v == nil { + return nil + } + return v.RelationshipType + }).(pulumi.StringPtrOutput) +} + +// The ID of the target component type associated with this relationship. +func (o ComponentTypeRelationshipPtrOutput) TargetComponentTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ComponentTypeRelationship) *string { + if v == nil { + return nil + } + return v.TargetComponentTypeId + }).(pulumi.StringPtrOutput) +} + type ComponentTypeStatus struct { Error interface{} `pulumi:"error"` State *ComponentTypeStatusState `pulumi:"state"` } -type ComponentTypeStatusOutput struct{ *pulumi.OutputState } +type ComponentTypeStatusOutput struct{ *pulumi.OutputState } + +func (ComponentTypeStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeStatus)(nil)).Elem() +} + +func (o ComponentTypeStatusOutput) ToComponentTypeStatusOutput() ComponentTypeStatusOutput { + return o +} + +func (o ComponentTypeStatusOutput) ToComponentTypeStatusOutputWithContext(ctx context.Context) ComponentTypeStatusOutput { + return o +} + +func (o ComponentTypeStatusOutput) Error() pulumi.AnyOutput { + return o.ApplyT(func(v ComponentTypeStatus) interface{} { return v.Error }).(pulumi.AnyOutput) +} + +func (o ComponentTypeStatusOutput) State() ComponentTypeStatusStatePtrOutput { + return o.ApplyT(func(v ComponentTypeStatus) *ComponentTypeStatusState { return v.State }).(ComponentTypeStatusStatePtrOutput) +} + +type ComponentTypeStatusPtrOutput struct{ *pulumi.OutputState } + +func (ComponentTypeStatusPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeStatus)(nil)).Elem() +} + +func (o ComponentTypeStatusPtrOutput) ToComponentTypeStatusPtrOutput() ComponentTypeStatusPtrOutput { + return o +} + +func (o ComponentTypeStatusPtrOutput) ToComponentTypeStatusPtrOutputWithContext(ctx context.Context) ComponentTypeStatusPtrOutput { + return o +} + +func (o ComponentTypeStatusPtrOutput) Elem() ComponentTypeStatusOutput { + return o.ApplyT(func(v *ComponentTypeStatus) ComponentTypeStatus { + if v != nil { + return *v + } + var ret ComponentTypeStatus + return ret + }).(ComponentTypeStatusOutput) +} + +func (o ComponentTypeStatusPtrOutput) Error() pulumi.AnyOutput { + return o.ApplyT(func(v *ComponentTypeStatus) interface{} { + if v == nil { + return nil + } + return v.Error + }).(pulumi.AnyOutput) +} + +func (o ComponentTypeStatusPtrOutput) State() ComponentTypeStatusStatePtrOutput { + return o.ApplyT(func(v *ComponentTypeStatus) *ComponentTypeStatusState { + if v == nil { + return nil + } + return v.State + }).(ComponentTypeStatusStatePtrOutput) +} + +// Error object with Message and Code. +type ComponentTypeStatusError1Properties struct { + Code *ComponentTypeStatusError1PropertiesCode `pulumi:"code"` + Message *string `pulumi:"message"` +} + +// Error object with Message and Code. +type ComponentTypeStatusErrorProperties struct { + Code *ComponentTypeStatusErrorPropertiesCode `pulumi:"code"` + Message *string `pulumi:"message"` +} + +// Error object with Message and Code. +type ComponentTypeStatusErrorPropertiesOutput struct{ *pulumi.OutputState } + +func (ComponentTypeStatusErrorPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ComponentTypeStatusErrorProperties)(nil)).Elem() +} + +func (o ComponentTypeStatusErrorPropertiesOutput) ToComponentTypeStatusErrorPropertiesOutput() ComponentTypeStatusErrorPropertiesOutput { + return o +} + +func (o ComponentTypeStatusErrorPropertiesOutput) ToComponentTypeStatusErrorPropertiesOutputWithContext(ctx context.Context) ComponentTypeStatusErrorPropertiesOutput { + return o +} + +func (o ComponentTypeStatusErrorPropertiesOutput) Code() ComponentTypeStatusErrorPropertiesCodePtrOutput { + return o.ApplyT(func(v ComponentTypeStatusErrorProperties) *ComponentTypeStatusErrorPropertiesCode { return v.Code }).(ComponentTypeStatusErrorPropertiesCodePtrOutput) +} + +func (o ComponentTypeStatusErrorPropertiesOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v ComponentTypeStatusErrorProperties) *string { return v.Message }).(pulumi.StringPtrOutput) +} + +type ComponentTypeStatusErrorPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (ComponentTypeStatusErrorPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ComponentTypeStatusErrorProperties)(nil)).Elem() +} + +func (o ComponentTypeStatusErrorPropertiesPtrOutput) ToComponentTypeStatusErrorPropertiesPtrOutput() ComponentTypeStatusErrorPropertiesPtrOutput { + return o +} + +func (o ComponentTypeStatusErrorPropertiesPtrOutput) ToComponentTypeStatusErrorPropertiesPtrOutputWithContext(ctx context.Context) ComponentTypeStatusErrorPropertiesPtrOutput { + return o +} + +func (o ComponentTypeStatusErrorPropertiesPtrOutput) Elem() ComponentTypeStatusErrorPropertiesOutput { + return o.ApplyT(func(v *ComponentTypeStatusErrorProperties) ComponentTypeStatusErrorProperties { + if v != nil { + return *v + } + var ret ComponentTypeStatusErrorProperties + return ret + }).(ComponentTypeStatusErrorPropertiesOutput) +} + +func (o ComponentTypeStatusErrorPropertiesPtrOutput) Code() ComponentTypeStatusErrorPropertiesCodePtrOutput { + return o.ApplyT(func(v *ComponentTypeStatusErrorProperties) *ComponentTypeStatusErrorPropertiesCode { + if v == nil { + return nil + } + return v.Code + }).(ComponentTypeStatusErrorPropertiesCodePtrOutput) +} + +func (o ComponentTypeStatusErrorPropertiesPtrOutput) Message() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ComponentTypeStatusErrorProperties) *string { + if v == nil { + return nil + } + return v.Message + }).(pulumi.StringPtrOutput) +} + +type EntityComponent struct { + // The name of the component. + ComponentName *string `pulumi:"componentName"` + // The ID of the component type. + ComponentTypeId *string `pulumi:"componentTypeId"` + // The name of the property definition set in the component. + DefinedIn *string `pulumi:"definedIn"` + // The description of the component. + Description *string `pulumi:"description"` + // 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. + Properties map[string]EntityProperty `pulumi:"properties"` + // 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. + PropertyGroups map[string]EntityPropertyGroup `pulumi:"propertyGroups"` + // The current status of the entity. + Status *EntityStatus `pulumi:"status"` +} + +// EntityComponentInput is an input type that accepts EntityComponentArgs and EntityComponentOutput values. +// You can construct a concrete instance of `EntityComponentInput` via: +// +// EntityComponentArgs{...} +type EntityComponentInput interface { + pulumi.Input + + ToEntityComponentOutput() EntityComponentOutput + ToEntityComponentOutputWithContext(context.Context) EntityComponentOutput +} + +type EntityComponentArgs struct { + // The name of the component. + ComponentName pulumi.StringPtrInput `pulumi:"componentName"` + // The ID of the component type. + ComponentTypeId pulumi.StringPtrInput `pulumi:"componentTypeId"` + // The name of the property definition set in the component. + DefinedIn pulumi.StringPtrInput `pulumi:"definedIn"` + // The description of the component. + Description pulumi.StringPtrInput `pulumi:"description"` + // 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. + Properties EntityPropertyMapInput `pulumi:"properties"` + // 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. + PropertyGroups EntityPropertyGroupMapInput `pulumi:"propertyGroups"` + // The current status of the entity. + Status EntityStatusPtrInput `pulumi:"status"` +} + +func (EntityComponentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityComponent)(nil)).Elem() +} + +func (i EntityComponentArgs) ToEntityComponentOutput() EntityComponentOutput { + return i.ToEntityComponentOutputWithContext(context.Background()) +} + +func (i EntityComponentArgs) ToEntityComponentOutputWithContext(ctx context.Context) EntityComponentOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityComponentOutput) +} + +// EntityComponentMapInput is an input type that accepts EntityComponentMap and EntityComponentMapOutput values. +// You can construct a concrete instance of `EntityComponentMapInput` via: +// +// EntityComponentMap{ "key": EntityComponentArgs{...} } +type EntityComponentMapInput interface { + pulumi.Input + + ToEntityComponentMapOutput() EntityComponentMapOutput + ToEntityComponentMapOutputWithContext(context.Context) EntityComponentMapOutput +} + +type EntityComponentMap map[string]EntityComponentInput + +func (EntityComponentMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EntityComponent)(nil)).Elem() +} + +func (i EntityComponentMap) ToEntityComponentMapOutput() EntityComponentMapOutput { + return i.ToEntityComponentMapOutputWithContext(context.Background()) +} + +func (i EntityComponentMap) ToEntityComponentMapOutputWithContext(ctx context.Context) EntityComponentMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityComponentMapOutput) +} + +type EntityComponentOutput struct{ *pulumi.OutputState } + +func (EntityComponentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityComponent)(nil)).Elem() +} + +func (o EntityComponentOutput) ToEntityComponentOutput() EntityComponentOutput { + return o +} + +func (o EntityComponentOutput) ToEntityComponentOutputWithContext(ctx context.Context) EntityComponentOutput { + return o +} + +// The name of the component. +func (o EntityComponentOutput) ComponentName() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityComponent) *string { return v.ComponentName }).(pulumi.StringPtrOutput) +} + +// The ID of the component type. +func (o EntityComponentOutput) ComponentTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityComponent) *string { return v.ComponentTypeId }).(pulumi.StringPtrOutput) +} + +// The name of the property definition set in the component. +func (o EntityComponentOutput) DefinedIn() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityComponent) *string { return v.DefinedIn }).(pulumi.StringPtrOutput) +} + +// The description of the component. +func (o EntityComponentOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityComponent) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// 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. +func (o EntityComponentOutput) Properties() EntityPropertyMapOutput { + return o.ApplyT(func(v EntityComponent) map[string]EntityProperty { return v.Properties }).(EntityPropertyMapOutput) +} + +// 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. +func (o EntityComponentOutput) PropertyGroups() EntityPropertyGroupMapOutput { + return o.ApplyT(func(v EntityComponent) map[string]EntityPropertyGroup { return v.PropertyGroups }).(EntityPropertyGroupMapOutput) +} + +// The current status of the entity. +func (o EntityComponentOutput) Status() EntityStatusPtrOutput { + return o.ApplyT(func(v EntityComponent) *EntityStatus { return v.Status }).(EntityStatusPtrOutput) +} + +type EntityComponentMapOutput struct{ *pulumi.OutputState } + +func (EntityComponentMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EntityComponent)(nil)).Elem() +} + +func (o EntityComponentMapOutput) ToEntityComponentMapOutput() EntityComponentMapOutput { + return o +} + +func (o EntityComponentMapOutput) ToEntityComponentMapOutputWithContext(ctx context.Context) EntityComponentMapOutput { + return o +} + +func (o EntityComponentMapOutput) MapIndex(k pulumi.StringInput) EntityComponentOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) EntityComponent { + return vs[0].(map[string]EntityComponent)[vs[1].(string)] + }).(EntityComponentOutput) +} + +type EntityCompositeComponent struct { + // The name of the component. + ComponentName *string `pulumi:"componentName"` + // The path of the component. + ComponentPath *string `pulumi:"componentPath"` + // The ID of the component type. + ComponentTypeId *string `pulumi:"componentTypeId"` + // The description of the component. + Description *string `pulumi:"description"` + // 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. + Properties map[string]EntityProperty `pulumi:"properties"` + // 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. + PropertyGroups map[string]EntityPropertyGroup `pulumi:"propertyGroups"` + // The current status of the component. + Status *EntityStatus `pulumi:"status"` +} + +// EntityCompositeComponentInput is an input type that accepts EntityCompositeComponentArgs and EntityCompositeComponentOutput values. +// You can construct a concrete instance of `EntityCompositeComponentInput` via: +// +// EntityCompositeComponentArgs{...} +type EntityCompositeComponentInput interface { + pulumi.Input + + ToEntityCompositeComponentOutput() EntityCompositeComponentOutput + ToEntityCompositeComponentOutputWithContext(context.Context) EntityCompositeComponentOutput +} + +type EntityCompositeComponentArgs struct { + // The name of the component. + ComponentName pulumi.StringPtrInput `pulumi:"componentName"` + // The path of the component. + ComponentPath pulumi.StringPtrInput `pulumi:"componentPath"` + // The ID of the component type. + ComponentTypeId pulumi.StringPtrInput `pulumi:"componentTypeId"` + // The description of the component. + Description pulumi.StringPtrInput `pulumi:"description"` + // 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. + Properties EntityPropertyMapInput `pulumi:"properties"` + // 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. + PropertyGroups EntityPropertyGroupMapInput `pulumi:"propertyGroups"` + // The current status of the component. + Status EntityStatusPtrInput `pulumi:"status"` +} + +func (EntityCompositeComponentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityCompositeComponent)(nil)).Elem() +} + +func (i EntityCompositeComponentArgs) ToEntityCompositeComponentOutput() EntityCompositeComponentOutput { + return i.ToEntityCompositeComponentOutputWithContext(context.Background()) +} + +func (i EntityCompositeComponentArgs) ToEntityCompositeComponentOutputWithContext(ctx context.Context) EntityCompositeComponentOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityCompositeComponentOutput) +} + +// EntityCompositeComponentMapInput is an input type that accepts EntityCompositeComponentMap and EntityCompositeComponentMapOutput values. +// You can construct a concrete instance of `EntityCompositeComponentMapInput` via: +// +// EntityCompositeComponentMap{ "key": EntityCompositeComponentArgs{...} } +type EntityCompositeComponentMapInput interface { + pulumi.Input + + ToEntityCompositeComponentMapOutput() EntityCompositeComponentMapOutput + ToEntityCompositeComponentMapOutputWithContext(context.Context) EntityCompositeComponentMapOutput +} + +type EntityCompositeComponentMap map[string]EntityCompositeComponentInput + +func (EntityCompositeComponentMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EntityCompositeComponent)(nil)).Elem() +} + +func (i EntityCompositeComponentMap) ToEntityCompositeComponentMapOutput() EntityCompositeComponentMapOutput { + return i.ToEntityCompositeComponentMapOutputWithContext(context.Background()) +} + +func (i EntityCompositeComponentMap) ToEntityCompositeComponentMapOutputWithContext(ctx context.Context) EntityCompositeComponentMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityCompositeComponentMapOutput) +} + +type EntityCompositeComponentOutput struct{ *pulumi.OutputState } + +func (EntityCompositeComponentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityCompositeComponent)(nil)).Elem() +} + +func (o EntityCompositeComponentOutput) ToEntityCompositeComponentOutput() EntityCompositeComponentOutput { + return o +} + +func (o EntityCompositeComponentOutput) ToEntityCompositeComponentOutputWithContext(ctx context.Context) EntityCompositeComponentOutput { + return o +} + +// The name of the component. +func (o EntityCompositeComponentOutput) ComponentName() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityCompositeComponent) *string { return v.ComponentName }).(pulumi.StringPtrOutput) +} + +// The path of the component. +func (o EntityCompositeComponentOutput) ComponentPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityCompositeComponent) *string { return v.ComponentPath }).(pulumi.StringPtrOutput) +} + +// The ID of the component type. +func (o EntityCompositeComponentOutput) ComponentTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityCompositeComponent) *string { return v.ComponentTypeId }).(pulumi.StringPtrOutput) +} + +// The description of the component. +func (o EntityCompositeComponentOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityCompositeComponent) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// 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. +func (o EntityCompositeComponentOutput) Properties() EntityPropertyMapOutput { + return o.ApplyT(func(v EntityCompositeComponent) map[string]EntityProperty { return v.Properties }).(EntityPropertyMapOutput) +} + +// 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. +func (o EntityCompositeComponentOutput) PropertyGroups() EntityPropertyGroupMapOutput { + return o.ApplyT(func(v EntityCompositeComponent) map[string]EntityPropertyGroup { return v.PropertyGroups }).(EntityPropertyGroupMapOutput) +} + +// The current status of the component. +func (o EntityCompositeComponentOutput) Status() EntityStatusPtrOutput { + return o.ApplyT(func(v EntityCompositeComponent) *EntityStatus { return v.Status }).(EntityStatusPtrOutput) +} + +type EntityCompositeComponentMapOutput struct{ *pulumi.OutputState } + +func (EntityCompositeComponentMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EntityCompositeComponent)(nil)).Elem() +} + +func (o EntityCompositeComponentMapOutput) ToEntityCompositeComponentMapOutput() EntityCompositeComponentMapOutput { + return o +} + +func (o EntityCompositeComponentMapOutput) ToEntityCompositeComponentMapOutputWithContext(ctx context.Context) EntityCompositeComponentMapOutput { + return o +} + +func (o EntityCompositeComponentMapOutput) MapIndex(k pulumi.StringInput) EntityCompositeComponentOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) EntityCompositeComponent { + return vs[0].(map[string]EntityCompositeComponent)[vs[1].(string)] + }).(EntityCompositeComponentOutput) +} + +// An object that specifies the data type of a property. +type EntityDataType struct { + // The allowed values for this data type. + AllowedValues []EntityDataValue `pulumi:"allowedValues"` + // The nested type in the data type. + NestedType *EntityDataType `pulumi:"nestedType"` + // A relationship that associates a component with another component. + Relationship *EntityRelationship `pulumi:"relationship"` + // The underlying type of the data type. + Type *EntityDataTypeType `pulumi:"type"` + // The unit of measure used in this data type. + UnitOfMeasure *string `pulumi:"unitOfMeasure"` +} + +// EntityDataTypeInput is an input type that accepts EntityDataTypeArgs and EntityDataTypeOutput values. +// You can construct a concrete instance of `EntityDataTypeInput` via: +// +// EntityDataTypeArgs{...} +type EntityDataTypeInput interface { + pulumi.Input + + ToEntityDataTypeOutput() EntityDataTypeOutput + ToEntityDataTypeOutputWithContext(context.Context) EntityDataTypeOutput +} + +// An object that specifies the data type of a property. +type EntityDataTypeArgs struct { + // The allowed values for this data type. + AllowedValues EntityDataValueArrayInput `pulumi:"allowedValues"` + // The nested type in the data type. + NestedType EntityDataTypePtrInput `pulumi:"nestedType"` + // A relationship that associates a component with another component. + Relationship EntityRelationshipPtrInput `pulumi:"relationship"` + // The underlying type of the data type. + Type EntityDataTypeTypePtrInput `pulumi:"type"` + // The unit of measure used in this data type. + UnitOfMeasure pulumi.StringPtrInput `pulumi:"unitOfMeasure"` +} + +func (EntityDataTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityDataType)(nil)).Elem() +} + +func (i EntityDataTypeArgs) ToEntityDataTypeOutput() EntityDataTypeOutput { + return i.ToEntityDataTypeOutputWithContext(context.Background()) +} + +func (i EntityDataTypeArgs) ToEntityDataTypeOutputWithContext(ctx context.Context) EntityDataTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityDataTypeOutput) +} + +func (i EntityDataTypeArgs) ToEntityDataTypePtrOutput() EntityDataTypePtrOutput { + return i.ToEntityDataTypePtrOutputWithContext(context.Background()) +} + +func (i EntityDataTypeArgs) ToEntityDataTypePtrOutputWithContext(ctx context.Context) EntityDataTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityDataTypeOutput).ToEntityDataTypePtrOutputWithContext(ctx) +} + +// EntityDataTypePtrInput is an input type that accepts EntityDataTypeArgs, EntityDataTypePtr and EntityDataTypePtrOutput values. +// You can construct a concrete instance of `EntityDataTypePtrInput` via: +// +// EntityDataTypeArgs{...} +// +// or: +// +// nil +type EntityDataTypePtrInput interface { + pulumi.Input + + ToEntityDataTypePtrOutput() EntityDataTypePtrOutput + ToEntityDataTypePtrOutputWithContext(context.Context) EntityDataTypePtrOutput +} + +type entityDataTypePtrType EntityDataTypeArgs + +func EntityDataTypePtr(v *EntityDataTypeArgs) EntityDataTypePtrInput { + return (*entityDataTypePtrType)(v) +} + +func (*entityDataTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EntityDataType)(nil)).Elem() +} + +func (i *entityDataTypePtrType) ToEntityDataTypePtrOutput() EntityDataTypePtrOutput { + return i.ToEntityDataTypePtrOutputWithContext(context.Background()) +} + +func (i *entityDataTypePtrType) ToEntityDataTypePtrOutputWithContext(ctx context.Context) EntityDataTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityDataTypePtrOutput) +} + +// An object that specifies the data type of a property. +type EntityDataTypeOutput struct{ *pulumi.OutputState } + +func (EntityDataTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityDataType)(nil)).Elem() +} + +func (o EntityDataTypeOutput) ToEntityDataTypeOutput() EntityDataTypeOutput { + return o +} + +func (o EntityDataTypeOutput) ToEntityDataTypeOutputWithContext(ctx context.Context) EntityDataTypeOutput { + return o +} + +func (o EntityDataTypeOutput) ToEntityDataTypePtrOutput() EntityDataTypePtrOutput { + return o.ToEntityDataTypePtrOutputWithContext(context.Background()) +} + +func (o EntityDataTypeOutput) ToEntityDataTypePtrOutputWithContext(ctx context.Context) EntityDataTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntityDataType) *EntityDataType { + return &v + }).(EntityDataTypePtrOutput) +} + +// The allowed values for this data type. +func (o EntityDataTypeOutput) AllowedValues() EntityDataValueArrayOutput { + return o.ApplyT(func(v EntityDataType) []EntityDataValue { return v.AllowedValues }).(EntityDataValueArrayOutput) +} + +// The nested type in the data type. +func (o EntityDataTypeOutput) NestedType() EntityDataTypePtrOutput { + return o.ApplyT(func(v EntityDataType) *EntityDataType { return v.NestedType }).(EntityDataTypePtrOutput) +} + +// A relationship that associates a component with another component. +func (o EntityDataTypeOutput) Relationship() EntityRelationshipPtrOutput { + return o.ApplyT(func(v EntityDataType) *EntityRelationship { return v.Relationship }).(EntityRelationshipPtrOutput) +} + +// The underlying type of the data type. +func (o EntityDataTypeOutput) Type() EntityDataTypeTypePtrOutput { + return o.ApplyT(func(v EntityDataType) *EntityDataTypeType { return v.Type }).(EntityDataTypeTypePtrOutput) +} + +// The unit of measure used in this data type. +func (o EntityDataTypeOutput) UnitOfMeasure() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityDataType) *string { return v.UnitOfMeasure }).(pulumi.StringPtrOutput) +} + +type EntityDataTypePtrOutput struct{ *pulumi.OutputState } + +func (EntityDataTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EntityDataType)(nil)).Elem() +} + +func (o EntityDataTypePtrOutput) ToEntityDataTypePtrOutput() EntityDataTypePtrOutput { + return o +} + +func (o EntityDataTypePtrOutput) ToEntityDataTypePtrOutputWithContext(ctx context.Context) EntityDataTypePtrOutput { + return o +} + +func (o EntityDataTypePtrOutput) Elem() EntityDataTypeOutput { + return o.ApplyT(func(v *EntityDataType) EntityDataType { + if v != nil { + return *v + } + var ret EntityDataType + return ret + }).(EntityDataTypeOutput) +} + +// The allowed values for this data type. +func (o EntityDataTypePtrOutput) AllowedValues() EntityDataValueArrayOutput { + return o.ApplyT(func(v *EntityDataType) []EntityDataValue { + if v == nil { + return nil + } + return v.AllowedValues + }).(EntityDataValueArrayOutput) +} + +// The nested type in the data type. +func (o EntityDataTypePtrOutput) NestedType() EntityDataTypePtrOutput { + return o.ApplyT(func(v *EntityDataType) *EntityDataType { + if v == nil { + return nil + } + return v.NestedType + }).(EntityDataTypePtrOutput) +} + +// A relationship that associates a component with another component. +func (o EntityDataTypePtrOutput) Relationship() EntityRelationshipPtrOutput { + return o.ApplyT(func(v *EntityDataType) *EntityRelationship { + if v == nil { + return nil + } + return v.Relationship + }).(EntityRelationshipPtrOutput) +} + +// The underlying type of the data type. +func (o EntityDataTypePtrOutput) Type() EntityDataTypeTypePtrOutput { + return o.ApplyT(func(v *EntityDataType) *EntityDataTypeType { + if v == nil { + return nil + } + return v.Type + }).(EntityDataTypeTypePtrOutput) +} + +// The unit of measure used in this data type. +func (o EntityDataTypePtrOutput) UnitOfMeasure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EntityDataType) *string { + if v == nil { + return nil + } + return v.UnitOfMeasure + }).(pulumi.StringPtrOutput) +} + +// An object that specifies a value for a property. +type EntityDataValue struct { + // A Boolean value. + BooleanValue *bool `pulumi:"booleanValue"` + // A double value. + DoubleValue *float64 `pulumi:"doubleValue"` + // An expression that produces the value. + Expression *string `pulumi:"expression"` + // An integer value. + IntegerValue *int `pulumi:"integerValue"` + // A list of multiple values. + ListValue []EntityDataValue `pulumi:"listValue"` + // A long value. + LongValue *float64 `pulumi:"longValue"` + // An object that maps strings to multiple DataValue objects. + MapValue map[string]EntityDataValue `pulumi:"mapValue"` + // A value that relates a component to another component. + RelationshipValue *EntityDataValueRelationshipValueProperties `pulumi:"relationshipValue"` + // A string value. + StringValue *string `pulumi:"stringValue"` +} + +// EntityDataValueInput is an input type that accepts EntityDataValueArgs and EntityDataValueOutput values. +// You can construct a concrete instance of `EntityDataValueInput` via: +// +// EntityDataValueArgs{...} +type EntityDataValueInput interface { + pulumi.Input + + ToEntityDataValueOutput() EntityDataValueOutput + ToEntityDataValueOutputWithContext(context.Context) EntityDataValueOutput +} + +// An object that specifies a value for a property. +type EntityDataValueArgs struct { + // A Boolean value. + BooleanValue pulumi.BoolPtrInput `pulumi:"booleanValue"` + // A double value. + DoubleValue pulumi.Float64PtrInput `pulumi:"doubleValue"` + // An expression that produces the value. + Expression pulumi.StringPtrInput `pulumi:"expression"` + // An integer value. + IntegerValue pulumi.IntPtrInput `pulumi:"integerValue"` + // A list of multiple values. + ListValue EntityDataValueArrayInput `pulumi:"listValue"` + // A long value. + LongValue pulumi.Float64PtrInput `pulumi:"longValue"` + // An object that maps strings to multiple DataValue objects. + MapValue EntityDataValueMapInput `pulumi:"mapValue"` + // A value that relates a component to another component. + RelationshipValue EntityDataValueRelationshipValuePropertiesPtrInput `pulumi:"relationshipValue"` + // A string value. + StringValue pulumi.StringPtrInput `pulumi:"stringValue"` +} + +func (EntityDataValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityDataValue)(nil)).Elem() +} + +func (i EntityDataValueArgs) ToEntityDataValueOutput() EntityDataValueOutput { + return i.ToEntityDataValueOutputWithContext(context.Background()) +} + +func (i EntityDataValueArgs) ToEntityDataValueOutputWithContext(ctx context.Context) EntityDataValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityDataValueOutput) +} + +func (i EntityDataValueArgs) ToEntityDataValuePtrOutput() EntityDataValuePtrOutput { + return i.ToEntityDataValuePtrOutputWithContext(context.Background()) +} + +func (i EntityDataValueArgs) ToEntityDataValuePtrOutputWithContext(ctx context.Context) EntityDataValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityDataValueOutput).ToEntityDataValuePtrOutputWithContext(ctx) +} + +// EntityDataValuePtrInput is an input type that accepts EntityDataValueArgs, EntityDataValuePtr and EntityDataValuePtrOutput values. +// You can construct a concrete instance of `EntityDataValuePtrInput` via: +// +// EntityDataValueArgs{...} +// +// or: +// +// nil +type EntityDataValuePtrInput interface { + pulumi.Input + + ToEntityDataValuePtrOutput() EntityDataValuePtrOutput + ToEntityDataValuePtrOutputWithContext(context.Context) EntityDataValuePtrOutput +} + +type entityDataValuePtrType EntityDataValueArgs + +func EntityDataValuePtr(v *EntityDataValueArgs) EntityDataValuePtrInput { + return (*entityDataValuePtrType)(v) +} + +func (*entityDataValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EntityDataValue)(nil)).Elem() +} + +func (i *entityDataValuePtrType) ToEntityDataValuePtrOutput() EntityDataValuePtrOutput { + return i.ToEntityDataValuePtrOutputWithContext(context.Background()) +} + +func (i *entityDataValuePtrType) ToEntityDataValuePtrOutputWithContext(ctx context.Context) EntityDataValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityDataValuePtrOutput) +} + +// EntityDataValueArrayInput is an input type that accepts EntityDataValueArray and EntityDataValueArrayOutput values. +// You can construct a concrete instance of `EntityDataValueArrayInput` via: +// +// EntityDataValueArray{ EntityDataValueArgs{...} } +type EntityDataValueArrayInput interface { + pulumi.Input + + ToEntityDataValueArrayOutput() EntityDataValueArrayOutput + ToEntityDataValueArrayOutputWithContext(context.Context) EntityDataValueArrayOutput +} + +type EntityDataValueArray []EntityDataValueInput + +func (EntityDataValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]EntityDataValue)(nil)).Elem() +} + +func (i EntityDataValueArray) ToEntityDataValueArrayOutput() EntityDataValueArrayOutput { + return i.ToEntityDataValueArrayOutputWithContext(context.Background()) +} + +func (i EntityDataValueArray) ToEntityDataValueArrayOutputWithContext(ctx context.Context) EntityDataValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityDataValueArrayOutput) +} + +// EntityDataValueMapInput is an input type that accepts EntityDataValueMap and EntityDataValueMapOutput values. +// You can construct a concrete instance of `EntityDataValueMapInput` via: +// +// EntityDataValueMap{ "key": EntityDataValueArgs{...} } +type EntityDataValueMapInput interface { + pulumi.Input + + ToEntityDataValueMapOutput() EntityDataValueMapOutput + ToEntityDataValueMapOutputWithContext(context.Context) EntityDataValueMapOutput +} + +type EntityDataValueMap map[string]EntityDataValueInput + +func (EntityDataValueMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EntityDataValue)(nil)).Elem() +} + +func (i EntityDataValueMap) ToEntityDataValueMapOutput() EntityDataValueMapOutput { + return i.ToEntityDataValueMapOutputWithContext(context.Background()) +} + +func (i EntityDataValueMap) ToEntityDataValueMapOutputWithContext(ctx context.Context) EntityDataValueMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityDataValueMapOutput) +} + +// An object that specifies a value for a property. +type EntityDataValueOutput struct{ *pulumi.OutputState } + +func (EntityDataValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityDataValue)(nil)).Elem() +} + +func (o EntityDataValueOutput) ToEntityDataValueOutput() EntityDataValueOutput { + return o +} + +func (o EntityDataValueOutput) ToEntityDataValueOutputWithContext(ctx context.Context) EntityDataValueOutput { + return o +} + +func (o EntityDataValueOutput) ToEntityDataValuePtrOutput() EntityDataValuePtrOutput { + return o.ToEntityDataValuePtrOutputWithContext(context.Background()) +} + +func (o EntityDataValueOutput) ToEntityDataValuePtrOutputWithContext(ctx context.Context) EntityDataValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntityDataValue) *EntityDataValue { + return &v + }).(EntityDataValuePtrOutput) +} + +// A Boolean value. +func (o EntityDataValueOutput) BooleanValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v EntityDataValue) *bool { return v.BooleanValue }).(pulumi.BoolPtrOutput) +} + +// A double value. +func (o EntityDataValueOutput) DoubleValue() pulumi.Float64PtrOutput { + return o.ApplyT(func(v EntityDataValue) *float64 { return v.DoubleValue }).(pulumi.Float64PtrOutput) +} + +// An expression that produces the value. +func (o EntityDataValueOutput) Expression() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityDataValue) *string { return v.Expression }).(pulumi.StringPtrOutput) +} + +// An integer value. +func (o EntityDataValueOutput) IntegerValue() pulumi.IntPtrOutput { + return o.ApplyT(func(v EntityDataValue) *int { return v.IntegerValue }).(pulumi.IntPtrOutput) +} + +// A list of multiple values. +func (o EntityDataValueOutput) ListValue() EntityDataValueArrayOutput { + return o.ApplyT(func(v EntityDataValue) []EntityDataValue { return v.ListValue }).(EntityDataValueArrayOutput) +} + +// A long value. +func (o EntityDataValueOutput) LongValue() pulumi.Float64PtrOutput { + return o.ApplyT(func(v EntityDataValue) *float64 { return v.LongValue }).(pulumi.Float64PtrOutput) +} + +// An object that maps strings to multiple DataValue objects. +func (o EntityDataValueOutput) MapValue() EntityDataValueMapOutput { + return o.ApplyT(func(v EntityDataValue) map[string]EntityDataValue { return v.MapValue }).(EntityDataValueMapOutput) +} + +// A value that relates a component to another component. +func (o EntityDataValueOutput) RelationshipValue() EntityDataValueRelationshipValuePropertiesPtrOutput { + return o.ApplyT(func(v EntityDataValue) *EntityDataValueRelationshipValueProperties { return v.RelationshipValue }).(EntityDataValueRelationshipValuePropertiesPtrOutput) +} + +// A string value. +func (o EntityDataValueOutput) StringValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityDataValue) *string { return v.StringValue }).(pulumi.StringPtrOutput) +} + +type EntityDataValuePtrOutput struct{ *pulumi.OutputState } + +func (EntityDataValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EntityDataValue)(nil)).Elem() +} + +func (o EntityDataValuePtrOutput) ToEntityDataValuePtrOutput() EntityDataValuePtrOutput { + return o +} + +func (o EntityDataValuePtrOutput) ToEntityDataValuePtrOutputWithContext(ctx context.Context) EntityDataValuePtrOutput { + return o +} + +func (o EntityDataValuePtrOutput) Elem() EntityDataValueOutput { + return o.ApplyT(func(v *EntityDataValue) EntityDataValue { + if v != nil { + return *v + } + var ret EntityDataValue + return ret + }).(EntityDataValueOutput) +} + +// A Boolean value. +func (o EntityDataValuePtrOutput) BooleanValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EntityDataValue) *bool { + if v == nil { + return nil + } + return v.BooleanValue + }).(pulumi.BoolPtrOutput) +} + +// A double value. +func (o EntityDataValuePtrOutput) DoubleValue() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *EntityDataValue) *float64 { + if v == nil { + return nil + } + return v.DoubleValue + }).(pulumi.Float64PtrOutput) +} + +// An expression that produces the value. +func (o EntityDataValuePtrOutput) Expression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EntityDataValue) *string { + if v == nil { + return nil + } + return v.Expression + }).(pulumi.StringPtrOutput) +} + +// An integer value. +func (o EntityDataValuePtrOutput) IntegerValue() pulumi.IntPtrOutput { + return o.ApplyT(func(v *EntityDataValue) *int { + if v == nil { + return nil + } + return v.IntegerValue + }).(pulumi.IntPtrOutput) +} + +// A list of multiple values. +func (o EntityDataValuePtrOutput) ListValue() EntityDataValueArrayOutput { + return o.ApplyT(func(v *EntityDataValue) []EntityDataValue { + if v == nil { + return nil + } + return v.ListValue + }).(EntityDataValueArrayOutput) +} + +// A long value. +func (o EntityDataValuePtrOutput) LongValue() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *EntityDataValue) *float64 { + if v == nil { + return nil + } + return v.LongValue + }).(pulumi.Float64PtrOutput) +} + +// An object that maps strings to multiple DataValue objects. +func (o EntityDataValuePtrOutput) MapValue() EntityDataValueMapOutput { + return o.ApplyT(func(v *EntityDataValue) map[string]EntityDataValue { + if v == nil { + return nil + } + return v.MapValue + }).(EntityDataValueMapOutput) +} + +// A value that relates a component to another component. +func (o EntityDataValuePtrOutput) RelationshipValue() EntityDataValueRelationshipValuePropertiesPtrOutput { + return o.ApplyT(func(v *EntityDataValue) *EntityDataValueRelationshipValueProperties { + if v == nil { + return nil + } + return v.RelationshipValue + }).(EntityDataValueRelationshipValuePropertiesPtrOutput) +} + +// A string value. +func (o EntityDataValuePtrOutput) StringValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EntityDataValue) *string { + if v == nil { + return nil + } + return v.StringValue + }).(pulumi.StringPtrOutput) +} + +type EntityDataValueArrayOutput struct{ *pulumi.OutputState } + +func (EntityDataValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EntityDataValue)(nil)).Elem() +} + +func (o EntityDataValueArrayOutput) ToEntityDataValueArrayOutput() EntityDataValueArrayOutput { + return o +} + +func (o EntityDataValueArrayOutput) ToEntityDataValueArrayOutputWithContext(ctx context.Context) EntityDataValueArrayOutput { + return o +} + +func (o EntityDataValueArrayOutput) Index(i pulumi.IntInput) EntityDataValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EntityDataValue { + return vs[0].([]EntityDataValue)[vs[1].(int)] + }).(EntityDataValueOutput) +} + +type EntityDataValueMapOutput struct{ *pulumi.OutputState } + +func (EntityDataValueMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EntityDataValue)(nil)).Elem() +} + +func (o EntityDataValueMapOutput) ToEntityDataValueMapOutput() EntityDataValueMapOutput { + return o +} + +func (o EntityDataValueMapOutput) ToEntityDataValueMapOutputWithContext(ctx context.Context) EntityDataValueMapOutput { + return o +} + +func (o EntityDataValueMapOutput) MapIndex(k pulumi.StringInput) EntityDataValueOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) EntityDataValue { + return vs[0].(map[string]EntityDataValue)[vs[1].(string)] + }).(EntityDataValueOutput) +} + +// A value that relates a component to another component. +type EntityDataValueRelationshipValueProperties struct { + TargetComponentName *string `pulumi:"targetComponentName"` + TargetEntityId *string `pulumi:"targetEntityId"` +} + +// EntityDataValueRelationshipValuePropertiesInput is an input type that accepts EntityDataValueRelationshipValuePropertiesArgs and EntityDataValueRelationshipValuePropertiesOutput values. +// You can construct a concrete instance of `EntityDataValueRelationshipValuePropertiesInput` via: +// +// EntityDataValueRelationshipValuePropertiesArgs{...} +type EntityDataValueRelationshipValuePropertiesInput interface { + pulumi.Input + + ToEntityDataValueRelationshipValuePropertiesOutput() EntityDataValueRelationshipValuePropertiesOutput + ToEntityDataValueRelationshipValuePropertiesOutputWithContext(context.Context) EntityDataValueRelationshipValuePropertiesOutput +} + +// A value that relates a component to another component. +type EntityDataValueRelationshipValuePropertiesArgs struct { + TargetComponentName pulumi.StringPtrInput `pulumi:"targetComponentName"` + TargetEntityId pulumi.StringPtrInput `pulumi:"targetEntityId"` +} + +func (EntityDataValueRelationshipValuePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityDataValueRelationshipValueProperties)(nil)).Elem() +} + +func (i EntityDataValueRelationshipValuePropertiesArgs) ToEntityDataValueRelationshipValuePropertiesOutput() EntityDataValueRelationshipValuePropertiesOutput { + return i.ToEntityDataValueRelationshipValuePropertiesOutputWithContext(context.Background()) +} + +func (i EntityDataValueRelationshipValuePropertiesArgs) ToEntityDataValueRelationshipValuePropertiesOutputWithContext(ctx context.Context) EntityDataValueRelationshipValuePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityDataValueRelationshipValuePropertiesOutput) +} + +func (i EntityDataValueRelationshipValuePropertiesArgs) ToEntityDataValueRelationshipValuePropertiesPtrOutput() EntityDataValueRelationshipValuePropertiesPtrOutput { + return i.ToEntityDataValueRelationshipValuePropertiesPtrOutputWithContext(context.Background()) +} + +func (i EntityDataValueRelationshipValuePropertiesArgs) ToEntityDataValueRelationshipValuePropertiesPtrOutputWithContext(ctx context.Context) EntityDataValueRelationshipValuePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityDataValueRelationshipValuePropertiesOutput).ToEntityDataValueRelationshipValuePropertiesPtrOutputWithContext(ctx) +} + +// EntityDataValueRelationshipValuePropertiesPtrInput is an input type that accepts EntityDataValueRelationshipValuePropertiesArgs, EntityDataValueRelationshipValuePropertiesPtr and EntityDataValueRelationshipValuePropertiesPtrOutput values. +// You can construct a concrete instance of `EntityDataValueRelationshipValuePropertiesPtrInput` via: +// +// EntityDataValueRelationshipValuePropertiesArgs{...} +// +// or: +// +// nil +type EntityDataValueRelationshipValuePropertiesPtrInput interface { + pulumi.Input + + ToEntityDataValueRelationshipValuePropertiesPtrOutput() EntityDataValueRelationshipValuePropertiesPtrOutput + ToEntityDataValueRelationshipValuePropertiesPtrOutputWithContext(context.Context) EntityDataValueRelationshipValuePropertiesPtrOutput +} + +type entityDataValueRelationshipValuePropertiesPtrType EntityDataValueRelationshipValuePropertiesArgs + +func EntityDataValueRelationshipValuePropertiesPtr(v *EntityDataValueRelationshipValuePropertiesArgs) EntityDataValueRelationshipValuePropertiesPtrInput { + return (*entityDataValueRelationshipValuePropertiesPtrType)(v) +} + +func (*entityDataValueRelationshipValuePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EntityDataValueRelationshipValueProperties)(nil)).Elem() +} + +func (i *entityDataValueRelationshipValuePropertiesPtrType) ToEntityDataValueRelationshipValuePropertiesPtrOutput() EntityDataValueRelationshipValuePropertiesPtrOutput { + return i.ToEntityDataValueRelationshipValuePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *entityDataValueRelationshipValuePropertiesPtrType) ToEntityDataValueRelationshipValuePropertiesPtrOutputWithContext(ctx context.Context) EntityDataValueRelationshipValuePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityDataValueRelationshipValuePropertiesPtrOutput) +} + +// A value that relates a component to another component. +type EntityDataValueRelationshipValuePropertiesOutput struct{ *pulumi.OutputState } + +func (EntityDataValueRelationshipValuePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityDataValueRelationshipValueProperties)(nil)).Elem() +} + +func (o EntityDataValueRelationshipValuePropertiesOutput) ToEntityDataValueRelationshipValuePropertiesOutput() EntityDataValueRelationshipValuePropertiesOutput { + return o +} + +func (o EntityDataValueRelationshipValuePropertiesOutput) ToEntityDataValueRelationshipValuePropertiesOutputWithContext(ctx context.Context) EntityDataValueRelationshipValuePropertiesOutput { + return o +} + +func (o EntityDataValueRelationshipValuePropertiesOutput) ToEntityDataValueRelationshipValuePropertiesPtrOutput() EntityDataValueRelationshipValuePropertiesPtrOutput { + return o.ToEntityDataValueRelationshipValuePropertiesPtrOutputWithContext(context.Background()) +} + +func (o EntityDataValueRelationshipValuePropertiesOutput) ToEntityDataValueRelationshipValuePropertiesPtrOutputWithContext(ctx context.Context) EntityDataValueRelationshipValuePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntityDataValueRelationshipValueProperties) *EntityDataValueRelationshipValueProperties { + return &v + }).(EntityDataValueRelationshipValuePropertiesPtrOutput) +} + +func (o EntityDataValueRelationshipValuePropertiesOutput) TargetComponentName() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityDataValueRelationshipValueProperties) *string { return v.TargetComponentName }).(pulumi.StringPtrOutput) +} + +func (o EntityDataValueRelationshipValuePropertiesOutput) TargetEntityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityDataValueRelationshipValueProperties) *string { return v.TargetEntityId }).(pulumi.StringPtrOutput) +} + +type EntityDataValueRelationshipValuePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (EntityDataValueRelationshipValuePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EntityDataValueRelationshipValueProperties)(nil)).Elem() +} + +func (o EntityDataValueRelationshipValuePropertiesPtrOutput) ToEntityDataValueRelationshipValuePropertiesPtrOutput() EntityDataValueRelationshipValuePropertiesPtrOutput { + return o +} + +func (o EntityDataValueRelationshipValuePropertiesPtrOutput) ToEntityDataValueRelationshipValuePropertiesPtrOutputWithContext(ctx context.Context) EntityDataValueRelationshipValuePropertiesPtrOutput { + return o +} + +func (o EntityDataValueRelationshipValuePropertiesPtrOutput) Elem() EntityDataValueRelationshipValuePropertiesOutput { + return o.ApplyT(func(v *EntityDataValueRelationshipValueProperties) EntityDataValueRelationshipValueProperties { + if v != nil { + return *v + } + var ret EntityDataValueRelationshipValueProperties + return ret + }).(EntityDataValueRelationshipValuePropertiesOutput) +} + +func (o EntityDataValueRelationshipValuePropertiesPtrOutput) TargetComponentName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EntityDataValueRelationshipValueProperties) *string { + if v == nil { + return nil + } + return v.TargetComponentName + }).(pulumi.StringPtrOutput) +} + +func (o EntityDataValueRelationshipValuePropertiesPtrOutput) TargetEntityId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EntityDataValueRelationshipValueProperties) *string { + if v == nil { + return nil + } + return v.TargetEntityId + }).(pulumi.StringPtrOutput) +} + +type EntityProperty struct { + // An object that specifies information about a property. + Definition *EntityPropertyDefinitionProperties `pulumi:"definition"` + // The value of the property. + Value *EntityDataValue `pulumi:"value"` +} + +// EntityPropertyInput is an input type that accepts EntityPropertyArgs and EntityPropertyOutput values. +// You can construct a concrete instance of `EntityPropertyInput` via: +// +// EntityPropertyArgs{...} +type EntityPropertyInput interface { + pulumi.Input + + ToEntityPropertyOutput() EntityPropertyOutput + ToEntityPropertyOutputWithContext(context.Context) EntityPropertyOutput +} + +type EntityPropertyArgs struct { + // An object that specifies information about a property. + Definition EntityPropertyDefinitionPropertiesPtrInput `pulumi:"definition"` + // The value of the property. + Value EntityDataValuePtrInput `pulumi:"value"` +} + +func (EntityPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityProperty)(nil)).Elem() +} + +func (i EntityPropertyArgs) ToEntityPropertyOutput() EntityPropertyOutput { + return i.ToEntityPropertyOutputWithContext(context.Background()) +} + +func (i EntityPropertyArgs) ToEntityPropertyOutputWithContext(ctx context.Context) EntityPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityPropertyOutput) +} + +// EntityPropertyMapInput is an input type that accepts EntityPropertyMap and EntityPropertyMapOutput values. +// You can construct a concrete instance of `EntityPropertyMapInput` via: +// +// EntityPropertyMap{ "key": EntityPropertyArgs{...} } +type EntityPropertyMapInput interface { + pulumi.Input + + ToEntityPropertyMapOutput() EntityPropertyMapOutput + ToEntityPropertyMapOutputWithContext(context.Context) EntityPropertyMapOutput +} + +type EntityPropertyMap map[string]EntityPropertyInput + +func (EntityPropertyMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EntityProperty)(nil)).Elem() +} + +func (i EntityPropertyMap) ToEntityPropertyMapOutput() EntityPropertyMapOutput { + return i.ToEntityPropertyMapOutputWithContext(context.Background()) +} + +func (i EntityPropertyMap) ToEntityPropertyMapOutputWithContext(ctx context.Context) EntityPropertyMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityPropertyMapOutput) +} + +type EntityPropertyOutput struct{ *pulumi.OutputState } + +func (EntityPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityProperty)(nil)).Elem() +} + +func (o EntityPropertyOutput) ToEntityPropertyOutput() EntityPropertyOutput { + return o +} + +func (o EntityPropertyOutput) ToEntityPropertyOutputWithContext(ctx context.Context) EntityPropertyOutput { + return o +} + +// An object that specifies information about a property. +func (o EntityPropertyOutput) Definition() EntityPropertyDefinitionPropertiesPtrOutput { + return o.ApplyT(func(v EntityProperty) *EntityPropertyDefinitionProperties { return v.Definition }).(EntityPropertyDefinitionPropertiesPtrOutput) +} + +// The value of the property. +func (o EntityPropertyOutput) Value() EntityDataValuePtrOutput { + return o.ApplyT(func(v EntityProperty) *EntityDataValue { return v.Value }).(EntityDataValuePtrOutput) +} + +type EntityPropertyMapOutput struct{ *pulumi.OutputState } + +func (EntityPropertyMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EntityProperty)(nil)).Elem() +} + +func (o EntityPropertyMapOutput) ToEntityPropertyMapOutput() EntityPropertyMapOutput { + return o +} + +func (o EntityPropertyMapOutput) ToEntityPropertyMapOutputWithContext(ctx context.Context) EntityPropertyMapOutput { + return o +} + +func (o EntityPropertyMapOutput) MapIndex(k pulumi.StringInput) EntityPropertyOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) EntityProperty { + return vs[0].(map[string]EntityProperty)[vs[1].(string)] + }).(EntityPropertyOutput) +} + +// An object that specifies information about a property. +type EntityPropertyDefinitionConfiguration struct { +} + +// EntityPropertyDefinitionConfigurationInput is an input type that accepts EntityPropertyDefinitionConfigurationArgs and EntityPropertyDefinitionConfigurationOutput values. +// You can construct a concrete instance of `EntityPropertyDefinitionConfigurationInput` via: +// +// EntityPropertyDefinitionConfigurationArgs{...} +type EntityPropertyDefinitionConfigurationInput interface { + pulumi.Input + + ToEntityPropertyDefinitionConfigurationOutput() EntityPropertyDefinitionConfigurationOutput + ToEntityPropertyDefinitionConfigurationOutputWithContext(context.Context) EntityPropertyDefinitionConfigurationOutput +} + +// An object that specifies information about a property. +type EntityPropertyDefinitionConfigurationArgs struct { +} + +func (EntityPropertyDefinitionConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityPropertyDefinitionConfiguration)(nil)).Elem() +} + +func (i EntityPropertyDefinitionConfigurationArgs) ToEntityPropertyDefinitionConfigurationOutput() EntityPropertyDefinitionConfigurationOutput { + return i.ToEntityPropertyDefinitionConfigurationOutputWithContext(context.Background()) +} + +func (i EntityPropertyDefinitionConfigurationArgs) ToEntityPropertyDefinitionConfigurationOutputWithContext(ctx context.Context) EntityPropertyDefinitionConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityPropertyDefinitionConfigurationOutput) +} + +func (i EntityPropertyDefinitionConfigurationArgs) ToEntityPropertyDefinitionConfigurationPtrOutput() EntityPropertyDefinitionConfigurationPtrOutput { + return i.ToEntityPropertyDefinitionConfigurationPtrOutputWithContext(context.Background()) +} + +func (i EntityPropertyDefinitionConfigurationArgs) ToEntityPropertyDefinitionConfigurationPtrOutputWithContext(ctx context.Context) EntityPropertyDefinitionConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityPropertyDefinitionConfigurationOutput).ToEntityPropertyDefinitionConfigurationPtrOutputWithContext(ctx) +} + +// EntityPropertyDefinitionConfigurationPtrInput is an input type that accepts EntityPropertyDefinitionConfigurationArgs, EntityPropertyDefinitionConfigurationPtr and EntityPropertyDefinitionConfigurationPtrOutput values. +// You can construct a concrete instance of `EntityPropertyDefinitionConfigurationPtrInput` via: +// +// EntityPropertyDefinitionConfigurationArgs{...} +// +// or: +// +// nil +type EntityPropertyDefinitionConfigurationPtrInput interface { + pulumi.Input + + ToEntityPropertyDefinitionConfigurationPtrOutput() EntityPropertyDefinitionConfigurationPtrOutput + ToEntityPropertyDefinitionConfigurationPtrOutputWithContext(context.Context) EntityPropertyDefinitionConfigurationPtrOutput +} + +type entityPropertyDefinitionConfigurationPtrType EntityPropertyDefinitionConfigurationArgs + +func EntityPropertyDefinitionConfigurationPtr(v *EntityPropertyDefinitionConfigurationArgs) EntityPropertyDefinitionConfigurationPtrInput { + return (*entityPropertyDefinitionConfigurationPtrType)(v) +} + +func (*entityPropertyDefinitionConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EntityPropertyDefinitionConfiguration)(nil)).Elem() +} + +func (i *entityPropertyDefinitionConfigurationPtrType) ToEntityPropertyDefinitionConfigurationPtrOutput() EntityPropertyDefinitionConfigurationPtrOutput { + return i.ToEntityPropertyDefinitionConfigurationPtrOutputWithContext(context.Background()) +} + +func (i *entityPropertyDefinitionConfigurationPtrType) ToEntityPropertyDefinitionConfigurationPtrOutputWithContext(ctx context.Context) EntityPropertyDefinitionConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityPropertyDefinitionConfigurationPtrOutput) +} + +// An object that specifies information about a property. +type EntityPropertyDefinitionConfigurationOutput struct{ *pulumi.OutputState } + +func (EntityPropertyDefinitionConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityPropertyDefinitionConfiguration)(nil)).Elem() +} + +func (o EntityPropertyDefinitionConfigurationOutput) ToEntityPropertyDefinitionConfigurationOutput() EntityPropertyDefinitionConfigurationOutput { + return o +} + +func (o EntityPropertyDefinitionConfigurationOutput) ToEntityPropertyDefinitionConfigurationOutputWithContext(ctx context.Context) EntityPropertyDefinitionConfigurationOutput { + return o +} + +func (o EntityPropertyDefinitionConfigurationOutput) ToEntityPropertyDefinitionConfigurationPtrOutput() EntityPropertyDefinitionConfigurationPtrOutput { + return o.ToEntityPropertyDefinitionConfigurationPtrOutputWithContext(context.Background()) +} + +func (o EntityPropertyDefinitionConfigurationOutput) ToEntityPropertyDefinitionConfigurationPtrOutputWithContext(ctx context.Context) EntityPropertyDefinitionConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntityPropertyDefinitionConfiguration) *EntityPropertyDefinitionConfiguration { + return &v + }).(EntityPropertyDefinitionConfigurationPtrOutput) +} + +type EntityPropertyDefinitionConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (EntityPropertyDefinitionConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EntityPropertyDefinitionConfiguration)(nil)).Elem() +} + +func (o EntityPropertyDefinitionConfigurationPtrOutput) ToEntityPropertyDefinitionConfigurationPtrOutput() EntityPropertyDefinitionConfigurationPtrOutput { + return o +} + +func (o EntityPropertyDefinitionConfigurationPtrOutput) ToEntityPropertyDefinitionConfigurationPtrOutputWithContext(ctx context.Context) EntityPropertyDefinitionConfigurationPtrOutput { + return o +} + +func (o EntityPropertyDefinitionConfigurationPtrOutput) Elem() EntityPropertyDefinitionConfigurationOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionConfiguration) EntityPropertyDefinitionConfiguration { + if v != nil { + return *v + } + var ret EntityPropertyDefinitionConfiguration + return ret + }).(EntityPropertyDefinitionConfigurationOutput) +} + +// An object that specifies information about a property. +type EntityPropertyDefinitionProperties struct { + // An object that specifies information about a property. + Configuration *EntityPropertyDefinitionConfiguration `pulumi:"configuration"` + // An object that contains information about the data type. + DataType *EntityDataType `pulumi:"dataType"` + // An object that contains the default value. + DefaultValue *EntityDataValue `pulumi:"defaultValue"` + // A Boolean value that specifies whether the property ID comes from an external data store. + IsExternalId *bool `pulumi:"isExternalId"` + // A Boolean value that specifies whether the property definition can be updated. + IsFinal *bool `pulumi:"isFinal"` + // A Boolean value that specifies whether the property definition is imported from an external data store. + IsImported *bool `pulumi:"isImported"` + // A Boolean value that specifies whether the property definition is inherited from a parent entity. + IsInherited *bool `pulumi:"isInherited"` + // A Boolean value that specifies whether the property is required. + IsRequiredInEntity *bool `pulumi:"isRequiredInEntity"` + // A Boolean value that specifies whether the property is stored externally. + IsStoredExternally *bool `pulumi:"isStoredExternally"` + // A Boolean value that specifies whether the property consists of time series data. + IsTimeSeries *bool `pulumi:"isTimeSeries"` +} + +// EntityPropertyDefinitionPropertiesInput is an input type that accepts EntityPropertyDefinitionPropertiesArgs and EntityPropertyDefinitionPropertiesOutput values. +// You can construct a concrete instance of `EntityPropertyDefinitionPropertiesInput` via: +// +// EntityPropertyDefinitionPropertiesArgs{...} +type EntityPropertyDefinitionPropertiesInput interface { + pulumi.Input + + ToEntityPropertyDefinitionPropertiesOutput() EntityPropertyDefinitionPropertiesOutput + ToEntityPropertyDefinitionPropertiesOutputWithContext(context.Context) EntityPropertyDefinitionPropertiesOutput +} + +// An object that specifies information about a property. +type EntityPropertyDefinitionPropertiesArgs struct { + // An object that specifies information about a property. + Configuration EntityPropertyDefinitionConfigurationPtrInput `pulumi:"configuration"` + // An object that contains information about the data type. + DataType EntityDataTypePtrInput `pulumi:"dataType"` + // An object that contains the default value. + DefaultValue EntityDataValuePtrInput `pulumi:"defaultValue"` + // A Boolean value that specifies whether the property ID comes from an external data store. + IsExternalId pulumi.BoolPtrInput `pulumi:"isExternalId"` + // A Boolean value that specifies whether the property definition can be updated. + IsFinal pulumi.BoolPtrInput `pulumi:"isFinal"` + // A Boolean value that specifies whether the property definition is imported from an external data store. + IsImported pulumi.BoolPtrInput `pulumi:"isImported"` + // A Boolean value that specifies whether the property definition is inherited from a parent entity. + IsInherited pulumi.BoolPtrInput `pulumi:"isInherited"` + // A Boolean value that specifies whether the property is required. + IsRequiredInEntity pulumi.BoolPtrInput `pulumi:"isRequiredInEntity"` + // A Boolean value that specifies whether the property is stored externally. + IsStoredExternally pulumi.BoolPtrInput `pulumi:"isStoredExternally"` + // A Boolean value that specifies whether the property consists of time series data. + IsTimeSeries pulumi.BoolPtrInput `pulumi:"isTimeSeries"` +} + +func (EntityPropertyDefinitionPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityPropertyDefinitionProperties)(nil)).Elem() +} + +func (i EntityPropertyDefinitionPropertiesArgs) ToEntityPropertyDefinitionPropertiesOutput() EntityPropertyDefinitionPropertiesOutput { + return i.ToEntityPropertyDefinitionPropertiesOutputWithContext(context.Background()) +} + +func (i EntityPropertyDefinitionPropertiesArgs) ToEntityPropertyDefinitionPropertiesOutputWithContext(ctx context.Context) EntityPropertyDefinitionPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityPropertyDefinitionPropertiesOutput) +} + +func (i EntityPropertyDefinitionPropertiesArgs) ToEntityPropertyDefinitionPropertiesPtrOutput() EntityPropertyDefinitionPropertiesPtrOutput { + return i.ToEntityPropertyDefinitionPropertiesPtrOutputWithContext(context.Background()) +} + +func (i EntityPropertyDefinitionPropertiesArgs) ToEntityPropertyDefinitionPropertiesPtrOutputWithContext(ctx context.Context) EntityPropertyDefinitionPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityPropertyDefinitionPropertiesOutput).ToEntityPropertyDefinitionPropertiesPtrOutputWithContext(ctx) +} + +// EntityPropertyDefinitionPropertiesPtrInput is an input type that accepts EntityPropertyDefinitionPropertiesArgs, EntityPropertyDefinitionPropertiesPtr and EntityPropertyDefinitionPropertiesPtrOutput values. +// You can construct a concrete instance of `EntityPropertyDefinitionPropertiesPtrInput` via: +// +// EntityPropertyDefinitionPropertiesArgs{...} +// +// or: +// +// nil +type EntityPropertyDefinitionPropertiesPtrInput interface { + pulumi.Input + + ToEntityPropertyDefinitionPropertiesPtrOutput() EntityPropertyDefinitionPropertiesPtrOutput + ToEntityPropertyDefinitionPropertiesPtrOutputWithContext(context.Context) EntityPropertyDefinitionPropertiesPtrOutput +} + +type entityPropertyDefinitionPropertiesPtrType EntityPropertyDefinitionPropertiesArgs + +func EntityPropertyDefinitionPropertiesPtr(v *EntityPropertyDefinitionPropertiesArgs) EntityPropertyDefinitionPropertiesPtrInput { + return (*entityPropertyDefinitionPropertiesPtrType)(v) +} + +func (*entityPropertyDefinitionPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EntityPropertyDefinitionProperties)(nil)).Elem() +} + +func (i *entityPropertyDefinitionPropertiesPtrType) ToEntityPropertyDefinitionPropertiesPtrOutput() EntityPropertyDefinitionPropertiesPtrOutput { + return i.ToEntityPropertyDefinitionPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *entityPropertyDefinitionPropertiesPtrType) ToEntityPropertyDefinitionPropertiesPtrOutputWithContext(ctx context.Context) EntityPropertyDefinitionPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityPropertyDefinitionPropertiesPtrOutput) +} + +// An object that specifies information about a property. +type EntityPropertyDefinitionPropertiesOutput struct{ *pulumi.OutputState } + +func (EntityPropertyDefinitionPropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityPropertyDefinitionProperties)(nil)).Elem() +} + +func (o EntityPropertyDefinitionPropertiesOutput) ToEntityPropertyDefinitionPropertiesOutput() EntityPropertyDefinitionPropertiesOutput { + return o +} + +func (o EntityPropertyDefinitionPropertiesOutput) ToEntityPropertyDefinitionPropertiesOutputWithContext(ctx context.Context) EntityPropertyDefinitionPropertiesOutput { + return o +} + +func (o EntityPropertyDefinitionPropertiesOutput) ToEntityPropertyDefinitionPropertiesPtrOutput() EntityPropertyDefinitionPropertiesPtrOutput { + return o.ToEntityPropertyDefinitionPropertiesPtrOutputWithContext(context.Background()) +} + +func (o EntityPropertyDefinitionPropertiesOutput) ToEntityPropertyDefinitionPropertiesPtrOutputWithContext(ctx context.Context) EntityPropertyDefinitionPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntityPropertyDefinitionProperties) *EntityPropertyDefinitionProperties { + return &v + }).(EntityPropertyDefinitionPropertiesPtrOutput) +} + +// An object that specifies information about a property. +func (o EntityPropertyDefinitionPropertiesOutput) Configuration() EntityPropertyDefinitionConfigurationPtrOutput { + return o.ApplyT(func(v EntityPropertyDefinitionProperties) *EntityPropertyDefinitionConfiguration { + return v.Configuration + }).(EntityPropertyDefinitionConfigurationPtrOutput) +} -func (ComponentTypeStatusOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ComponentTypeStatus)(nil)).Elem() +// An object that contains information about the data type. +func (o EntityPropertyDefinitionPropertiesOutput) DataType() EntityDataTypePtrOutput { + return o.ApplyT(func(v EntityPropertyDefinitionProperties) *EntityDataType { return v.DataType }).(EntityDataTypePtrOutput) } -func (o ComponentTypeStatusOutput) ToComponentTypeStatusOutput() ComponentTypeStatusOutput { - return o +// An object that contains the default value. +func (o EntityPropertyDefinitionPropertiesOutput) DefaultValue() EntityDataValuePtrOutput { + return o.ApplyT(func(v EntityPropertyDefinitionProperties) *EntityDataValue { return v.DefaultValue }).(EntityDataValuePtrOutput) } -func (o ComponentTypeStatusOutput) ToComponentTypeStatusOutputWithContext(ctx context.Context) ComponentTypeStatusOutput { - return o +// A Boolean value that specifies whether the property ID comes from an external data store. +func (o EntityPropertyDefinitionPropertiesOutput) IsExternalId() pulumi.BoolPtrOutput { + return o.ApplyT(func(v EntityPropertyDefinitionProperties) *bool { return v.IsExternalId }).(pulumi.BoolPtrOutput) } -func (o ComponentTypeStatusOutput) Error() pulumi.AnyOutput { - return o.ApplyT(func(v ComponentTypeStatus) interface{} { return v.Error }).(pulumi.AnyOutput) +// A Boolean value that specifies whether the property definition can be updated. +func (o EntityPropertyDefinitionPropertiesOutput) IsFinal() pulumi.BoolPtrOutput { + return o.ApplyT(func(v EntityPropertyDefinitionProperties) *bool { return v.IsFinal }).(pulumi.BoolPtrOutput) } -func (o ComponentTypeStatusOutput) State() ComponentTypeStatusStatePtrOutput { - return o.ApplyT(func(v ComponentTypeStatus) *ComponentTypeStatusState { return v.State }).(ComponentTypeStatusStatePtrOutput) +// A Boolean value that specifies whether the property definition is imported from an external data store. +func (o EntityPropertyDefinitionPropertiesOutput) IsImported() pulumi.BoolPtrOutput { + return o.ApplyT(func(v EntityPropertyDefinitionProperties) *bool { return v.IsImported }).(pulumi.BoolPtrOutput) } -type ComponentTypeStatusPtrOutput struct{ *pulumi.OutputState } +// A Boolean value that specifies whether the property definition is inherited from a parent entity. +func (o EntityPropertyDefinitionPropertiesOutput) IsInherited() pulumi.BoolPtrOutput { + return o.ApplyT(func(v EntityPropertyDefinitionProperties) *bool { return v.IsInherited }).(pulumi.BoolPtrOutput) +} -func (ComponentTypeStatusPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ComponentTypeStatus)(nil)).Elem() +// A Boolean value that specifies whether the property is required. +func (o EntityPropertyDefinitionPropertiesOutput) IsRequiredInEntity() pulumi.BoolPtrOutput { + return o.ApplyT(func(v EntityPropertyDefinitionProperties) *bool { return v.IsRequiredInEntity }).(pulumi.BoolPtrOutput) } -func (o ComponentTypeStatusPtrOutput) ToComponentTypeStatusPtrOutput() ComponentTypeStatusPtrOutput { +// A Boolean value that specifies whether the property is stored externally. +func (o EntityPropertyDefinitionPropertiesOutput) IsStoredExternally() pulumi.BoolPtrOutput { + return o.ApplyT(func(v EntityPropertyDefinitionProperties) *bool { return v.IsStoredExternally }).(pulumi.BoolPtrOutput) +} + +// A Boolean value that specifies whether the property consists of time series data. +func (o EntityPropertyDefinitionPropertiesOutput) IsTimeSeries() pulumi.BoolPtrOutput { + return o.ApplyT(func(v EntityPropertyDefinitionProperties) *bool { return v.IsTimeSeries }).(pulumi.BoolPtrOutput) +} + +type EntityPropertyDefinitionPropertiesPtrOutput struct{ *pulumi.OutputState } + +func (EntityPropertyDefinitionPropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EntityPropertyDefinitionProperties)(nil)).Elem() +} + +func (o EntityPropertyDefinitionPropertiesPtrOutput) ToEntityPropertyDefinitionPropertiesPtrOutput() EntityPropertyDefinitionPropertiesPtrOutput { return o } -func (o ComponentTypeStatusPtrOutput) ToComponentTypeStatusPtrOutputWithContext(ctx context.Context) ComponentTypeStatusPtrOutput { +func (o EntityPropertyDefinitionPropertiesPtrOutput) ToEntityPropertyDefinitionPropertiesPtrOutputWithContext(ctx context.Context) EntityPropertyDefinitionPropertiesPtrOutput { return o } -func (o ComponentTypeStatusPtrOutput) Elem() ComponentTypeStatusOutput { - return o.ApplyT(func(v *ComponentTypeStatus) ComponentTypeStatus { +func (o EntityPropertyDefinitionPropertiesPtrOutput) Elem() EntityPropertyDefinitionPropertiesOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionProperties) EntityPropertyDefinitionProperties { if v != nil { return *v } - var ret ComponentTypeStatus + var ret EntityPropertyDefinitionProperties return ret - }).(ComponentTypeStatusOutput) + }).(EntityPropertyDefinitionPropertiesOutput) } -func (o ComponentTypeStatusPtrOutput) Error() pulumi.AnyOutput { - return o.ApplyT(func(v *ComponentTypeStatus) interface{} { +// An object that specifies information about a property. +func (o EntityPropertyDefinitionPropertiesPtrOutput) Configuration() EntityPropertyDefinitionConfigurationPtrOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionProperties) *EntityPropertyDefinitionConfiguration { if v == nil { return nil } - return v.Error - }).(pulumi.AnyOutput) + return v.Configuration + }).(EntityPropertyDefinitionConfigurationPtrOutput) } -func (o ComponentTypeStatusPtrOutput) State() ComponentTypeStatusStatePtrOutput { - return o.ApplyT(func(v *ComponentTypeStatus) *ComponentTypeStatusState { +// An object that contains information about the data type. +func (o EntityPropertyDefinitionPropertiesPtrOutput) DataType() EntityDataTypePtrOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionProperties) *EntityDataType { if v == nil { return nil } - return v.State - }).(ComponentTypeStatusStatePtrOutput) + return v.DataType + }).(EntityDataTypePtrOutput) } -// Error object with Message and Code. -type ComponentTypeStatusError1Properties struct { - Code *ComponentTypeStatusError1PropertiesCode `pulumi:"code"` - Message *string `pulumi:"message"` +// An object that contains the default value. +func (o EntityPropertyDefinitionPropertiesPtrOutput) DefaultValue() EntityDataValuePtrOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionProperties) *EntityDataValue { + if v == nil { + return nil + } + return v.DefaultValue + }).(EntityDataValuePtrOutput) } -// Error object with Message and Code. -type ComponentTypeStatusErrorProperties struct { - Code *ComponentTypeStatusErrorPropertiesCode `pulumi:"code"` - Message *string `pulumi:"message"` +// A Boolean value that specifies whether the property ID comes from an external data store. +func (o EntityPropertyDefinitionPropertiesPtrOutput) IsExternalId() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionProperties) *bool { + if v == nil { + return nil + } + return v.IsExternalId + }).(pulumi.BoolPtrOutput) } -// Error object with Message and Code. -type ComponentTypeStatusErrorPropertiesOutput struct{ *pulumi.OutputState } +// A Boolean value that specifies whether the property definition can be updated. +func (o EntityPropertyDefinitionPropertiesPtrOutput) IsFinal() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionProperties) *bool { + if v == nil { + return nil + } + return v.IsFinal + }).(pulumi.BoolPtrOutput) +} -func (ComponentTypeStatusErrorPropertiesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ComponentTypeStatusErrorProperties)(nil)).Elem() +// A Boolean value that specifies whether the property definition is imported from an external data store. +func (o EntityPropertyDefinitionPropertiesPtrOutput) IsImported() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionProperties) *bool { + if v == nil { + return nil + } + return v.IsImported + }).(pulumi.BoolPtrOutput) } -func (o ComponentTypeStatusErrorPropertiesOutput) ToComponentTypeStatusErrorPropertiesOutput() ComponentTypeStatusErrorPropertiesOutput { +// A Boolean value that specifies whether the property definition is inherited from a parent entity. +func (o EntityPropertyDefinitionPropertiesPtrOutput) IsInherited() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionProperties) *bool { + if v == nil { + return nil + } + return v.IsInherited + }).(pulumi.BoolPtrOutput) +} + +// A Boolean value that specifies whether the property is required. +func (o EntityPropertyDefinitionPropertiesPtrOutput) IsRequiredInEntity() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionProperties) *bool { + if v == nil { + return nil + } + return v.IsRequiredInEntity + }).(pulumi.BoolPtrOutput) +} + +// A Boolean value that specifies whether the property is stored externally. +func (o EntityPropertyDefinitionPropertiesPtrOutput) IsStoredExternally() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionProperties) *bool { + if v == nil { + return nil + } + return v.IsStoredExternally + }).(pulumi.BoolPtrOutput) +} + +// A Boolean value that specifies whether the property consists of time series data. +func (o EntityPropertyDefinitionPropertiesPtrOutput) IsTimeSeries() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EntityPropertyDefinitionProperties) *bool { + if v == nil { + return nil + } + return v.IsTimeSeries + }).(pulumi.BoolPtrOutput) +} + +// An object that specifies information about a property group. +type EntityPropertyGroup struct { + // The type of property group. + GroupType *EntityPropertyGroupGroupType `pulumi:"groupType"` + // The list of property names in the property group. + PropertyNames []string `pulumi:"propertyNames"` +} + +// EntityPropertyGroupInput is an input type that accepts EntityPropertyGroupArgs and EntityPropertyGroupOutput values. +// You can construct a concrete instance of `EntityPropertyGroupInput` via: +// +// EntityPropertyGroupArgs{...} +type EntityPropertyGroupInput interface { + pulumi.Input + + ToEntityPropertyGroupOutput() EntityPropertyGroupOutput + ToEntityPropertyGroupOutputWithContext(context.Context) EntityPropertyGroupOutput +} + +// An object that specifies information about a property group. +type EntityPropertyGroupArgs struct { + // The type of property group. + GroupType EntityPropertyGroupGroupTypePtrInput `pulumi:"groupType"` + // The list of property names in the property group. + PropertyNames pulumi.StringArrayInput `pulumi:"propertyNames"` +} + +func (EntityPropertyGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityPropertyGroup)(nil)).Elem() +} + +func (i EntityPropertyGroupArgs) ToEntityPropertyGroupOutput() EntityPropertyGroupOutput { + return i.ToEntityPropertyGroupOutputWithContext(context.Background()) +} + +func (i EntityPropertyGroupArgs) ToEntityPropertyGroupOutputWithContext(ctx context.Context) EntityPropertyGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityPropertyGroupOutput) +} + +// EntityPropertyGroupMapInput is an input type that accepts EntityPropertyGroupMap and EntityPropertyGroupMapOutput values. +// You can construct a concrete instance of `EntityPropertyGroupMapInput` via: +// +// EntityPropertyGroupMap{ "key": EntityPropertyGroupArgs{...} } +type EntityPropertyGroupMapInput interface { + pulumi.Input + + ToEntityPropertyGroupMapOutput() EntityPropertyGroupMapOutput + ToEntityPropertyGroupMapOutputWithContext(context.Context) EntityPropertyGroupMapOutput +} + +type EntityPropertyGroupMap map[string]EntityPropertyGroupInput + +func (EntityPropertyGroupMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EntityPropertyGroup)(nil)).Elem() +} + +func (i EntityPropertyGroupMap) ToEntityPropertyGroupMapOutput() EntityPropertyGroupMapOutput { + return i.ToEntityPropertyGroupMapOutputWithContext(context.Background()) +} + +func (i EntityPropertyGroupMap) ToEntityPropertyGroupMapOutputWithContext(ctx context.Context) EntityPropertyGroupMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityPropertyGroupMapOutput) +} + +// An object that specifies information about a property group. +type EntityPropertyGroupOutput struct{ *pulumi.OutputState } + +func (EntityPropertyGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityPropertyGroup)(nil)).Elem() +} + +func (o EntityPropertyGroupOutput) ToEntityPropertyGroupOutput() EntityPropertyGroupOutput { return o } -func (o ComponentTypeStatusErrorPropertiesOutput) ToComponentTypeStatusErrorPropertiesOutputWithContext(ctx context.Context) ComponentTypeStatusErrorPropertiesOutput { +func (o EntityPropertyGroupOutput) ToEntityPropertyGroupOutputWithContext(ctx context.Context) EntityPropertyGroupOutput { return o } -func (o ComponentTypeStatusErrorPropertiesOutput) Code() ComponentTypeStatusErrorPropertiesCodePtrOutput { - return o.ApplyT(func(v ComponentTypeStatusErrorProperties) *ComponentTypeStatusErrorPropertiesCode { return v.Code }).(ComponentTypeStatusErrorPropertiesCodePtrOutput) +// The type of property group. +func (o EntityPropertyGroupOutput) GroupType() EntityPropertyGroupGroupTypePtrOutput { + return o.ApplyT(func(v EntityPropertyGroup) *EntityPropertyGroupGroupType { return v.GroupType }).(EntityPropertyGroupGroupTypePtrOutput) } -func (o ComponentTypeStatusErrorPropertiesOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v ComponentTypeStatusErrorProperties) *string { return v.Message }).(pulumi.StringPtrOutput) +// The list of property names in the property group. +func (o EntityPropertyGroupOutput) PropertyNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v EntityPropertyGroup) []string { return v.PropertyNames }).(pulumi.StringArrayOutput) } -type ComponentTypeStatusErrorPropertiesPtrOutput struct{ *pulumi.OutputState } +type EntityPropertyGroupMapOutput struct{ *pulumi.OutputState } -func (ComponentTypeStatusErrorPropertiesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ComponentTypeStatusErrorProperties)(nil)).Elem() +func (EntityPropertyGroupMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]EntityPropertyGroup)(nil)).Elem() } -func (o ComponentTypeStatusErrorPropertiesPtrOutput) ToComponentTypeStatusErrorPropertiesPtrOutput() ComponentTypeStatusErrorPropertiesPtrOutput { +func (o EntityPropertyGroupMapOutput) ToEntityPropertyGroupMapOutput() EntityPropertyGroupMapOutput { return o } -func (o ComponentTypeStatusErrorPropertiesPtrOutput) ToComponentTypeStatusErrorPropertiesPtrOutputWithContext(ctx context.Context) ComponentTypeStatusErrorPropertiesPtrOutput { +func (o EntityPropertyGroupMapOutput) ToEntityPropertyGroupMapOutputWithContext(ctx context.Context) EntityPropertyGroupMapOutput { return o } -func (o ComponentTypeStatusErrorPropertiesPtrOutput) Elem() ComponentTypeStatusErrorPropertiesOutput { - return o.ApplyT(func(v *ComponentTypeStatusErrorProperties) ComponentTypeStatusErrorProperties { +func (o EntityPropertyGroupMapOutput) MapIndex(k pulumi.StringInput) EntityPropertyGroupOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) EntityPropertyGroup { + return vs[0].(map[string]EntityPropertyGroup)[vs[1].(string)] + }).(EntityPropertyGroupOutput) +} + +// The type of the relationship. +type EntityRelationship struct { + // The type of the relationship. + RelationshipType *string `pulumi:"relationshipType"` + // The ID of the target component type associated with this relationship. + TargetComponentTypeId *string `pulumi:"targetComponentTypeId"` +} + +// EntityRelationshipInput is an input type that accepts EntityRelationshipArgs and EntityRelationshipOutput values. +// You can construct a concrete instance of `EntityRelationshipInput` via: +// +// EntityRelationshipArgs{...} +type EntityRelationshipInput interface { + pulumi.Input + + ToEntityRelationshipOutput() EntityRelationshipOutput + ToEntityRelationshipOutputWithContext(context.Context) EntityRelationshipOutput +} + +// The type of the relationship. +type EntityRelationshipArgs struct { + // The type of the relationship. + RelationshipType pulumi.StringPtrInput `pulumi:"relationshipType"` + // The ID of the target component type associated with this relationship. + TargetComponentTypeId pulumi.StringPtrInput `pulumi:"targetComponentTypeId"` +} + +func (EntityRelationshipArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityRelationship)(nil)).Elem() +} + +func (i EntityRelationshipArgs) ToEntityRelationshipOutput() EntityRelationshipOutput { + return i.ToEntityRelationshipOutputWithContext(context.Background()) +} + +func (i EntityRelationshipArgs) ToEntityRelationshipOutputWithContext(ctx context.Context) EntityRelationshipOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityRelationshipOutput) +} + +func (i EntityRelationshipArgs) ToEntityRelationshipPtrOutput() EntityRelationshipPtrOutput { + return i.ToEntityRelationshipPtrOutputWithContext(context.Background()) +} + +func (i EntityRelationshipArgs) ToEntityRelationshipPtrOutputWithContext(ctx context.Context) EntityRelationshipPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityRelationshipOutput).ToEntityRelationshipPtrOutputWithContext(ctx) +} + +// EntityRelationshipPtrInput is an input type that accepts EntityRelationshipArgs, EntityRelationshipPtr and EntityRelationshipPtrOutput values. +// You can construct a concrete instance of `EntityRelationshipPtrInput` via: +// +// EntityRelationshipArgs{...} +// +// or: +// +// nil +type EntityRelationshipPtrInput interface { + pulumi.Input + + ToEntityRelationshipPtrOutput() EntityRelationshipPtrOutput + ToEntityRelationshipPtrOutputWithContext(context.Context) EntityRelationshipPtrOutput +} + +type entityRelationshipPtrType EntityRelationshipArgs + +func EntityRelationshipPtr(v *EntityRelationshipArgs) EntityRelationshipPtrInput { + return (*entityRelationshipPtrType)(v) +} + +func (*entityRelationshipPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EntityRelationship)(nil)).Elem() +} + +func (i *entityRelationshipPtrType) ToEntityRelationshipPtrOutput() EntityRelationshipPtrOutput { + return i.ToEntityRelationshipPtrOutputWithContext(context.Background()) +} + +func (i *entityRelationshipPtrType) ToEntityRelationshipPtrOutputWithContext(ctx context.Context) EntityRelationshipPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityRelationshipPtrOutput) +} + +// The type of the relationship. +type EntityRelationshipOutput struct{ *pulumi.OutputState } + +func (EntityRelationshipOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntityRelationship)(nil)).Elem() +} + +func (o EntityRelationshipOutput) ToEntityRelationshipOutput() EntityRelationshipOutput { + return o +} + +func (o EntityRelationshipOutput) ToEntityRelationshipOutputWithContext(ctx context.Context) EntityRelationshipOutput { + return o +} + +func (o EntityRelationshipOutput) ToEntityRelationshipPtrOutput() EntityRelationshipPtrOutput { + return o.ToEntityRelationshipPtrOutputWithContext(context.Background()) +} + +func (o EntityRelationshipOutput) ToEntityRelationshipPtrOutputWithContext(ctx context.Context) EntityRelationshipPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntityRelationship) *EntityRelationship { + return &v + }).(EntityRelationshipPtrOutput) +} + +// The type of the relationship. +func (o EntityRelationshipOutput) RelationshipType() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityRelationship) *string { return v.RelationshipType }).(pulumi.StringPtrOutput) +} + +// The ID of the target component type associated with this relationship. +func (o EntityRelationshipOutput) TargetComponentTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntityRelationship) *string { return v.TargetComponentTypeId }).(pulumi.StringPtrOutput) +} + +type EntityRelationshipPtrOutput struct{ *pulumi.OutputState } + +func (EntityRelationshipPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EntityRelationship)(nil)).Elem() +} + +func (o EntityRelationshipPtrOutput) ToEntityRelationshipPtrOutput() EntityRelationshipPtrOutput { + return o +} + +func (o EntityRelationshipPtrOutput) ToEntityRelationshipPtrOutputWithContext(ctx context.Context) EntityRelationshipPtrOutput { + return o +} + +func (o EntityRelationshipPtrOutput) Elem() EntityRelationshipOutput { + return o.ApplyT(func(v *EntityRelationship) EntityRelationship { if v != nil { return *v } - var ret ComponentTypeStatusErrorProperties + var ret EntityRelationship return ret - }).(ComponentTypeStatusErrorPropertiesOutput) + }).(EntityRelationshipOutput) } -func (o ComponentTypeStatusErrorPropertiesPtrOutput) Code() ComponentTypeStatusErrorPropertiesCodePtrOutput { - return o.ApplyT(func(v *ComponentTypeStatusErrorProperties) *ComponentTypeStatusErrorPropertiesCode { +// The type of the relationship. +func (o EntityRelationshipPtrOutput) RelationshipType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EntityRelationship) *string { if v == nil { return nil } - return v.Code - }).(ComponentTypeStatusErrorPropertiesCodePtrOutput) + return v.RelationshipType + }).(pulumi.StringPtrOutput) } -func (o ComponentTypeStatusErrorPropertiesPtrOutput) Message() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ComponentTypeStatusErrorProperties) *string { +// The ID of the target component type associated with this relationship. +func (o EntityRelationshipPtrOutput) TargetComponentTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EntityRelationship) *string { if v == nil { return nil } - return v.Message + return v.TargetComponentTypeId }).(pulumi.StringPtrOutput) } @@ -164,6 +3706,75 @@ type EntityStatus struct { State *EntityStatusState `pulumi:"state"` } +// EntityStatusInput is an input type that accepts EntityStatusArgs and EntityStatusOutput values. +// You can construct a concrete instance of `EntityStatusInput` via: +// +// EntityStatusArgs{...} +type EntityStatusInput interface { + pulumi.Input + + ToEntityStatusOutput() EntityStatusOutput + ToEntityStatusOutputWithContext(context.Context) EntityStatusOutput +} + +type EntityStatusArgs struct { + Error pulumi.Input `pulumi:"error"` + State EntityStatusStatePtrInput `pulumi:"state"` +} + +func (EntityStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityStatus)(nil)).Elem() +} + +func (i EntityStatusArgs) ToEntityStatusOutput() EntityStatusOutput { + return i.ToEntityStatusOutputWithContext(context.Background()) +} + +func (i EntityStatusArgs) ToEntityStatusOutputWithContext(ctx context.Context) EntityStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityStatusOutput) +} + +func (i EntityStatusArgs) ToEntityStatusPtrOutput() EntityStatusPtrOutput { + return i.ToEntityStatusPtrOutputWithContext(context.Background()) +} + +func (i EntityStatusArgs) ToEntityStatusPtrOutputWithContext(ctx context.Context) EntityStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityStatusOutput).ToEntityStatusPtrOutputWithContext(ctx) +} + +// EntityStatusPtrInput is an input type that accepts EntityStatusArgs, EntityStatusPtr and EntityStatusPtrOutput values. +// You can construct a concrete instance of `EntityStatusPtrInput` via: +// +// EntityStatusArgs{...} +// +// or: +// +// nil +type EntityStatusPtrInput interface { + pulumi.Input + + ToEntityStatusPtrOutput() EntityStatusPtrOutput + ToEntityStatusPtrOutputWithContext(context.Context) EntityStatusPtrOutput +} + +type entityStatusPtrType EntityStatusArgs + +func EntityStatusPtr(v *EntityStatusArgs) EntityStatusPtrInput { + return (*entityStatusPtrType)(v) +} + +func (*entityStatusPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EntityStatus)(nil)).Elem() +} + +func (i *entityStatusPtrType) ToEntityStatusPtrOutput() EntityStatusPtrOutput { + return i.ToEntityStatusPtrOutputWithContext(context.Background()) +} + +func (i *entityStatusPtrType) ToEntityStatusPtrOutputWithContext(ctx context.Context) EntityStatusPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityStatusPtrOutput) +} + type EntityStatusOutput struct{ *pulumi.OutputState } func (EntityStatusOutput) ElementType() reflect.Type { @@ -178,6 +3789,16 @@ func (o EntityStatusOutput) ToEntityStatusOutputWithContext(ctx context.Context) return o } +func (o EntityStatusOutput) ToEntityStatusPtrOutput() EntityStatusPtrOutput { + return o.ToEntityStatusPtrOutputWithContext(context.Background()) +} + +func (o EntityStatusOutput) ToEntityStatusPtrOutputWithContext(ctx context.Context) EntityStatusPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntityStatus) *EntityStatus { + return &v + }).(EntityStatusPtrOutput) +} + func (o EntityStatusOutput) Error() pulumi.AnyOutput { return o.ApplyT(func(v EntityStatus) interface{} { return v.Error }).(pulumi.AnyOutput) } @@ -240,6 +3861,76 @@ type EntityStatusErrorProperties struct { Message *string `pulumi:"message"` } +// EntityStatusErrorPropertiesInput is an input type that accepts EntityStatusErrorPropertiesArgs and EntityStatusErrorPropertiesOutput values. +// You can construct a concrete instance of `EntityStatusErrorPropertiesInput` via: +// +// EntityStatusErrorPropertiesArgs{...} +type EntityStatusErrorPropertiesInput interface { + pulumi.Input + + ToEntityStatusErrorPropertiesOutput() EntityStatusErrorPropertiesOutput + ToEntityStatusErrorPropertiesOutputWithContext(context.Context) EntityStatusErrorPropertiesOutput +} + +// Error object with Message and Code. +type EntityStatusErrorPropertiesArgs struct { + Code EntityStatusErrorPropertiesCodePtrInput `pulumi:"code"` + Message pulumi.StringPtrInput `pulumi:"message"` +} + +func (EntityStatusErrorPropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntityStatusErrorProperties)(nil)).Elem() +} + +func (i EntityStatusErrorPropertiesArgs) ToEntityStatusErrorPropertiesOutput() EntityStatusErrorPropertiesOutput { + return i.ToEntityStatusErrorPropertiesOutputWithContext(context.Background()) +} + +func (i EntityStatusErrorPropertiesArgs) ToEntityStatusErrorPropertiesOutputWithContext(ctx context.Context) EntityStatusErrorPropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityStatusErrorPropertiesOutput) +} + +func (i EntityStatusErrorPropertiesArgs) ToEntityStatusErrorPropertiesPtrOutput() EntityStatusErrorPropertiesPtrOutput { + return i.ToEntityStatusErrorPropertiesPtrOutputWithContext(context.Background()) +} + +func (i EntityStatusErrorPropertiesArgs) ToEntityStatusErrorPropertiesPtrOutputWithContext(ctx context.Context) EntityStatusErrorPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityStatusErrorPropertiesOutput).ToEntityStatusErrorPropertiesPtrOutputWithContext(ctx) +} + +// EntityStatusErrorPropertiesPtrInput is an input type that accepts EntityStatusErrorPropertiesArgs, EntityStatusErrorPropertiesPtr and EntityStatusErrorPropertiesPtrOutput values. +// You can construct a concrete instance of `EntityStatusErrorPropertiesPtrInput` via: +// +// EntityStatusErrorPropertiesArgs{...} +// +// or: +// +// nil +type EntityStatusErrorPropertiesPtrInput interface { + pulumi.Input + + ToEntityStatusErrorPropertiesPtrOutput() EntityStatusErrorPropertiesPtrOutput + ToEntityStatusErrorPropertiesPtrOutputWithContext(context.Context) EntityStatusErrorPropertiesPtrOutput +} + +type entityStatusErrorPropertiesPtrType EntityStatusErrorPropertiesArgs + +func EntityStatusErrorPropertiesPtr(v *EntityStatusErrorPropertiesArgs) EntityStatusErrorPropertiesPtrInput { + return (*entityStatusErrorPropertiesPtrType)(v) +} + +func (*entityStatusErrorPropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EntityStatusErrorProperties)(nil)).Elem() +} + +func (i *entityStatusErrorPropertiesPtrType) ToEntityStatusErrorPropertiesPtrOutput() EntityStatusErrorPropertiesPtrOutput { + return i.ToEntityStatusErrorPropertiesPtrOutputWithContext(context.Background()) +} + +func (i *entityStatusErrorPropertiesPtrType) ToEntityStatusErrorPropertiesPtrOutputWithContext(ctx context.Context) EntityStatusErrorPropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntityStatusErrorPropertiesPtrOutput) +} + // Error object with Message and Code. type EntityStatusErrorPropertiesOutput struct{ *pulumi.OutputState } @@ -255,6 +3946,16 @@ func (o EntityStatusErrorPropertiesOutput) ToEntityStatusErrorPropertiesOutputWi return o } +func (o EntityStatusErrorPropertiesOutput) ToEntityStatusErrorPropertiesPtrOutput() EntityStatusErrorPropertiesPtrOutput { + return o.ToEntityStatusErrorPropertiesPtrOutputWithContext(context.Background()) +} + +func (o EntityStatusErrorPropertiesOutput) ToEntityStatusErrorPropertiesPtrOutputWithContext(ctx context.Context) EntityStatusErrorPropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntityStatusErrorProperties) *EntityStatusErrorProperties { + return &v + }).(EntityStatusErrorPropertiesPtrOutput) +} + func (o EntityStatusErrorPropertiesOutput) Code() EntityStatusErrorPropertiesCodePtrOutput { return o.ApplyT(func(v EntityStatusErrorProperties) *EntityStatusErrorPropertiesCode { return v.Code }).(EntityStatusErrorPropertiesCodePtrOutput) } @@ -306,10 +4007,102 @@ func (o EntityStatusErrorPropertiesPtrOutput) Message() pulumi.StringPtrOutput { } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeCompositeComponentTypeInput)(nil)).Elem(), ComponentTypeCompositeComponentTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeCompositeComponentTypeMapInput)(nil)).Elem(), ComponentTypeCompositeComponentTypeMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataConnectorInput)(nil)).Elem(), ComponentTypeDataConnectorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataConnectorPtrInput)(nil)).Elem(), ComponentTypeDataConnectorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataTypeInput)(nil)).Elem(), ComponentTypeDataTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataTypePtrInput)(nil)).Elem(), ComponentTypeDataTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataValueInput)(nil)).Elem(), ComponentTypeDataValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataValuePtrInput)(nil)).Elem(), ComponentTypeDataValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataValueArrayInput)(nil)).Elem(), ComponentTypeDataValueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataValueMapInput)(nil)).Elem(), ComponentTypeDataValueMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataValueRelationshipValuePropertiesInput)(nil)).Elem(), ComponentTypeDataValueRelationshipValuePropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeDataValueRelationshipValuePropertiesPtrInput)(nil)).Elem(), ComponentTypeDataValueRelationshipValuePropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeFunctionInput)(nil)).Elem(), ComponentTypeFunctionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeFunctionMapInput)(nil)).Elem(), ComponentTypeFunctionMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeLambdaFunctionInput)(nil)).Elem(), ComponentTypeLambdaFunctionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeLambdaFunctionPtrInput)(nil)).Elem(), ComponentTypeLambdaFunctionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypePropertyDefinitionInput)(nil)).Elem(), ComponentTypePropertyDefinitionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypePropertyDefinitionMapInput)(nil)).Elem(), ComponentTypePropertyDefinitionMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypePropertyGroupInput)(nil)).Elem(), ComponentTypePropertyGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypePropertyGroupMapInput)(nil)).Elem(), ComponentTypePropertyGroupMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeRelationshipInput)(nil)).Elem(), ComponentTypeRelationshipArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ComponentTypeRelationshipPtrInput)(nil)).Elem(), ComponentTypeRelationshipArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityComponentInput)(nil)).Elem(), EntityComponentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityComponentMapInput)(nil)).Elem(), EntityComponentMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityCompositeComponentInput)(nil)).Elem(), EntityCompositeComponentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityCompositeComponentMapInput)(nil)).Elem(), EntityCompositeComponentMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityDataTypeInput)(nil)).Elem(), EntityDataTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityDataTypePtrInput)(nil)).Elem(), EntityDataTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityDataValueInput)(nil)).Elem(), EntityDataValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityDataValuePtrInput)(nil)).Elem(), EntityDataValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityDataValueArrayInput)(nil)).Elem(), EntityDataValueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityDataValueMapInput)(nil)).Elem(), EntityDataValueMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityDataValueRelationshipValuePropertiesInput)(nil)).Elem(), EntityDataValueRelationshipValuePropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityDataValueRelationshipValuePropertiesPtrInput)(nil)).Elem(), EntityDataValueRelationshipValuePropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityPropertyInput)(nil)).Elem(), EntityPropertyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityPropertyMapInput)(nil)).Elem(), EntityPropertyMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityPropertyDefinitionConfigurationInput)(nil)).Elem(), EntityPropertyDefinitionConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityPropertyDefinitionConfigurationPtrInput)(nil)).Elem(), EntityPropertyDefinitionConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityPropertyDefinitionPropertiesInput)(nil)).Elem(), EntityPropertyDefinitionPropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityPropertyDefinitionPropertiesPtrInput)(nil)).Elem(), EntityPropertyDefinitionPropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityPropertyGroupInput)(nil)).Elem(), EntityPropertyGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityPropertyGroupMapInput)(nil)).Elem(), EntityPropertyGroupMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityRelationshipInput)(nil)).Elem(), EntityRelationshipArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityRelationshipPtrInput)(nil)).Elem(), EntityRelationshipArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityStatusInput)(nil)).Elem(), EntityStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityStatusPtrInput)(nil)).Elem(), EntityStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityStatusErrorPropertiesInput)(nil)).Elem(), EntityStatusErrorPropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*EntityStatusErrorPropertiesPtrInput)(nil)).Elem(), EntityStatusErrorPropertiesArgs{}) + pulumi.RegisterOutputType(ComponentTypeCompositeComponentTypeOutput{}) + pulumi.RegisterOutputType(ComponentTypeCompositeComponentTypeMapOutput{}) + pulumi.RegisterOutputType(ComponentTypeDataConnectorOutput{}) + pulumi.RegisterOutputType(ComponentTypeDataConnectorPtrOutput{}) + pulumi.RegisterOutputType(ComponentTypeDataTypeOutput{}) + pulumi.RegisterOutputType(ComponentTypeDataTypePtrOutput{}) + pulumi.RegisterOutputType(ComponentTypeDataValueOutput{}) + pulumi.RegisterOutputType(ComponentTypeDataValuePtrOutput{}) + pulumi.RegisterOutputType(ComponentTypeDataValueArrayOutput{}) + pulumi.RegisterOutputType(ComponentTypeDataValueMapOutput{}) + pulumi.RegisterOutputType(ComponentTypeDataValueRelationshipValuePropertiesOutput{}) + pulumi.RegisterOutputType(ComponentTypeDataValueRelationshipValuePropertiesPtrOutput{}) + pulumi.RegisterOutputType(ComponentTypeFunctionOutput{}) + pulumi.RegisterOutputType(ComponentTypeFunctionMapOutput{}) + pulumi.RegisterOutputType(ComponentTypeLambdaFunctionOutput{}) + pulumi.RegisterOutputType(ComponentTypeLambdaFunctionPtrOutput{}) + pulumi.RegisterOutputType(ComponentTypePropertyDefinitionOutput{}) + pulumi.RegisterOutputType(ComponentTypePropertyDefinitionMapOutput{}) + pulumi.RegisterOutputType(ComponentTypePropertyGroupOutput{}) + pulumi.RegisterOutputType(ComponentTypePropertyGroupMapOutput{}) + pulumi.RegisterOutputType(ComponentTypeRelationshipOutput{}) + pulumi.RegisterOutputType(ComponentTypeRelationshipPtrOutput{}) pulumi.RegisterOutputType(ComponentTypeStatusOutput{}) pulumi.RegisterOutputType(ComponentTypeStatusPtrOutput{}) pulumi.RegisterOutputType(ComponentTypeStatusErrorPropertiesOutput{}) pulumi.RegisterOutputType(ComponentTypeStatusErrorPropertiesPtrOutput{}) + pulumi.RegisterOutputType(EntityComponentOutput{}) + pulumi.RegisterOutputType(EntityComponentMapOutput{}) + pulumi.RegisterOutputType(EntityCompositeComponentOutput{}) + pulumi.RegisterOutputType(EntityCompositeComponentMapOutput{}) + pulumi.RegisterOutputType(EntityDataTypeOutput{}) + pulumi.RegisterOutputType(EntityDataTypePtrOutput{}) + pulumi.RegisterOutputType(EntityDataValueOutput{}) + pulumi.RegisterOutputType(EntityDataValuePtrOutput{}) + pulumi.RegisterOutputType(EntityDataValueArrayOutput{}) + pulumi.RegisterOutputType(EntityDataValueMapOutput{}) + pulumi.RegisterOutputType(EntityDataValueRelationshipValuePropertiesOutput{}) + pulumi.RegisterOutputType(EntityDataValueRelationshipValuePropertiesPtrOutput{}) + pulumi.RegisterOutputType(EntityPropertyOutput{}) + pulumi.RegisterOutputType(EntityPropertyMapOutput{}) + pulumi.RegisterOutputType(EntityPropertyDefinitionConfigurationOutput{}) + pulumi.RegisterOutputType(EntityPropertyDefinitionConfigurationPtrOutput{}) + pulumi.RegisterOutputType(EntityPropertyDefinitionPropertiesOutput{}) + pulumi.RegisterOutputType(EntityPropertyDefinitionPropertiesPtrOutput{}) + pulumi.RegisterOutputType(EntityPropertyGroupOutput{}) + pulumi.RegisterOutputType(EntityPropertyGroupMapOutput{}) + pulumi.RegisterOutputType(EntityRelationshipOutput{}) + pulumi.RegisterOutputType(EntityRelationshipPtrOutput{}) pulumi.RegisterOutputType(EntityStatusOutput{}) pulumi.RegisterOutputType(EntityStatusPtrOutput{}) pulumi.RegisterOutputType(EntityStatusErrorPropertiesOutput{}) diff --git a/sdk/go/aws/iottwinmaker/scene.go b/sdk/go/aws/iottwinmaker/scene.go index 2f0de74b9c..1f48110792 100644 --- a/sdk/go/aws/iottwinmaker/scene.go +++ b/sdk/go/aws/iottwinmaker/scene.go @@ -27,13 +27,13 @@ type Scene struct { // The description of the scene. Description pulumi.StringPtrOutput `pulumi:"description"` // A key-value pair of generated scene metadata for the scene. - GeneratedSceneMetadata pulumi.AnyOutput `pulumi:"generatedSceneMetadata"` + GeneratedSceneMetadata pulumi.StringMapOutput `pulumi:"generatedSceneMetadata"` // The ID of the scene. SceneId pulumi.StringOutput `pulumi:"sceneId"` // A key-value pair of scene metadata for the scene. - SceneMetadata pulumi.AnyOutput `pulumi:"sceneMetadata"` + SceneMetadata pulumi.StringMapOutput `pulumi:"sceneMetadata"` // A key-value pair to associate with a resource. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The date and time of the current update. UpdateDateTime pulumi.StringOutput `pulumi:"updateDateTime"` // The ID of the scene. @@ -103,9 +103,9 @@ type sceneArgs struct { // The ID of the scene. SceneId string `pulumi:"sceneId"` // A key-value pair of scene metadata for the scene. - SceneMetadata interface{} `pulumi:"sceneMetadata"` + SceneMetadata map[string]string `pulumi:"sceneMetadata"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The ID of the scene. WorkspaceId string `pulumi:"workspaceId"` } @@ -121,9 +121,9 @@ type SceneArgs struct { // The ID of the scene. SceneId pulumi.StringInput // A key-value pair of scene metadata for the scene. - SceneMetadata pulumi.Input + SceneMetadata pulumi.StringMapInput // A key-value pair to associate with a resource. - Tags pulumi.Input + Tags pulumi.StringMapInput // The ID of the scene. WorkspaceId pulumi.StringInput } @@ -191,8 +191,8 @@ func (o SceneOutput) Description() pulumi.StringPtrOutput { } // A key-value pair of generated scene metadata for the scene. -func (o SceneOutput) GeneratedSceneMetadata() pulumi.AnyOutput { - return o.ApplyT(func(v *Scene) pulumi.AnyOutput { return v.GeneratedSceneMetadata }).(pulumi.AnyOutput) +func (o SceneOutput) GeneratedSceneMetadata() pulumi.StringMapOutput { + return o.ApplyT(func(v *Scene) pulumi.StringMapOutput { return v.GeneratedSceneMetadata }).(pulumi.StringMapOutput) } // The ID of the scene. @@ -201,13 +201,13 @@ func (o SceneOutput) SceneId() pulumi.StringOutput { } // A key-value pair of scene metadata for the scene. -func (o SceneOutput) SceneMetadata() pulumi.AnyOutput { - return o.ApplyT(func(v *Scene) pulumi.AnyOutput { return v.SceneMetadata }).(pulumi.AnyOutput) +func (o SceneOutput) SceneMetadata() pulumi.StringMapOutput { + return o.ApplyT(func(v *Scene) pulumi.StringMapOutput { return v.SceneMetadata }).(pulumi.StringMapOutput) } // A key-value pair to associate with a resource. -func (o SceneOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *Scene) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o SceneOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Scene) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The date and time of the current update. diff --git a/sdk/go/aws/iottwinmaker/syncJob.go b/sdk/go/aws/iottwinmaker/syncJob.go index c0905b6209..07f5a65aab 100644 --- a/sdk/go/aws/iottwinmaker/syncJob.go +++ b/sdk/go/aws/iottwinmaker/syncJob.go @@ -27,7 +27,7 @@ type SyncJob struct { // The source of the SyncJob. SyncSource pulumi.StringOutput `pulumi:"syncSource"` // A key-value pair to associate with a resource. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The date and time when the sync job was updated. UpdateDateTime pulumi.StringOutput `pulumi:"updateDateTime"` // The ID of the workspace. @@ -53,7 +53,7 @@ func NewSyncJob(ctx *pulumi.Context, replaceOnChanges := pulumi.ReplaceOnChanges([]string{ "syncRole", "syncSource", - "tags", + "tags.*", "workspaceId", }) opts = append(opts, replaceOnChanges) @@ -95,7 +95,7 @@ type syncJobArgs struct { // The source of the SyncJob. SyncSource string `pulumi:"syncSource"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The ID of the workspace. WorkspaceId string `pulumi:"workspaceId"` } @@ -107,7 +107,7 @@ type SyncJobArgs struct { // The source of the SyncJob. SyncSource pulumi.StringInput // A key-value pair to associate with a resource. - Tags pulumi.Input + Tags pulumi.StringMapInput // The ID of the workspace. WorkspaceId pulumi.StringInput } @@ -175,8 +175,8 @@ func (o SyncJobOutput) SyncSource() pulumi.StringOutput { } // A key-value pair to associate with a resource. -func (o SyncJobOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *SyncJob) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o SyncJobOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *SyncJob) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The date and time when the sync job was updated. diff --git a/sdk/go/aws/iottwinmaker/workspace.go b/sdk/go/aws/iottwinmaker/workspace.go index da2d2b80ff..ef910f2d7a 100644 --- a/sdk/go/aws/iottwinmaker/workspace.go +++ b/sdk/go/aws/iottwinmaker/workspace.go @@ -27,7 +27,7 @@ type Workspace struct { // The ARN of the S3 bucket where resources associated with the workspace are stored. S3Location pulumi.StringOutput `pulumi:"s3Location"` // A map of key-value pairs to associate with a resource. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The date and time of the current update. UpdateDateTime pulumi.StringOutput `pulumi:"updateDateTime"` // The ID of the workspace. @@ -94,7 +94,7 @@ type workspaceArgs struct { // The ARN of the S3 bucket where resources associated with the workspace are stored. S3Location string `pulumi:"s3Location"` // A map of key-value pairs to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The ID of the workspace. WorkspaceId string `pulumi:"workspaceId"` } @@ -108,7 +108,7 @@ type WorkspaceArgs struct { // The ARN of the S3 bucket where resources associated with the workspace are stored. S3Location pulumi.StringInput // A map of key-value pairs to associate with a resource. - Tags pulumi.Input + Tags pulumi.StringMapInput // The ID of the workspace. WorkspaceId pulumi.StringInput } @@ -176,8 +176,8 @@ func (o WorkspaceOutput) S3Location() pulumi.StringOutput { } // A map of key-value pairs to associate with a resource. -func (o WorkspaceOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *Workspace) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o WorkspaceOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Workspace) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The date and time of the current update. diff --git a/sdk/go/aws/kafkaconnect/connector.go b/sdk/go/aws/kafkaconnect/connector.go index 3e6ed4ae69..330b34aabb 100644 --- a/sdk/go/aws/kafkaconnect/connector.go +++ b/sdk/go/aws/kafkaconnect/connector.go @@ -20,7 +20,7 @@ type Connector struct { // Amazon Resource Name for the created Connector. ConnectorArn pulumi.StringOutput `pulumi:"connectorArn"` // The configuration for the connector. - ConnectorConfiguration pulumi.AnyOutput `pulumi:"connectorConfiguration"` + ConnectorConfiguration pulumi.StringMapOutput `pulumi:"connectorConfiguration"` // A summary description of the connector. ConnectorDescription pulumi.StringPtrOutput `pulumi:"connectorDescription"` // The name of the connector. @@ -70,7 +70,7 @@ func NewConnector(ctx *pulumi.Context, return nil, errors.New("invalid value for required argument 'ServiceExecutionRoleArn'") } replaceOnChanges := pulumi.ReplaceOnChanges([]string{ - "connectorConfiguration", + "connectorConfiguration.*", "connectorDescription", "connectorName", "kafkaCluster", @@ -118,7 +118,7 @@ func (ConnectorState) ElementType() reflect.Type { type connectorArgs struct { Capacity ConnectorCapacity `pulumi:"capacity"` // The configuration for the connector. - ConnectorConfiguration interface{} `pulumi:"connectorConfiguration"` + ConnectorConfiguration map[string]string `pulumi:"connectorConfiguration"` // A summary description of the connector. ConnectorDescription *string `pulumi:"connectorDescription"` // The name of the connector. @@ -140,7 +140,7 @@ type connectorArgs struct { type ConnectorArgs struct { Capacity ConnectorCapacityInput // The configuration for the connector. - ConnectorConfiguration pulumi.Input + ConnectorConfiguration pulumi.StringMapInput // A summary description of the connector. ConnectorDescription pulumi.StringPtrInput // The name of the connector. @@ -205,8 +205,8 @@ func (o ConnectorOutput) ConnectorArn() pulumi.StringOutput { } // The configuration for the connector. -func (o ConnectorOutput) ConnectorConfiguration() pulumi.AnyOutput { - return o.ApplyT(func(v *Connector) pulumi.AnyOutput { return v.ConnectorConfiguration }).(pulumi.AnyOutput) +func (o ConnectorOutput) ConnectorConfiguration() pulumi.StringMapOutput { + return o.ApplyT(func(v *Connector) pulumi.StringMapOutput { return v.ConnectorConfiguration }).(pulumi.StringMapOutput) } // A summary description of the connector. diff --git a/sdk/go/aws/lambda/pulumiTypes.go b/sdk/go/aws/lambda/pulumiTypes.go index 07707403ce..4a1a4e55c3 100644 --- a/sdk/go/aws/lambda/pulumiTypes.go +++ b/sdk/go/aws/lambda/pulumiTypes.go @@ -2783,7 +2783,7 @@ func (o FunctionDeadLetterConfigPtrOutput) TargetArn() pulumi.StringPtrOutput { // A function's environment variable settings. type FunctionEnvironment struct { // Environment variable key-value pairs. - Variables interface{} `pulumi:"variables"` + Variables map[string]string `pulumi:"variables"` } // FunctionEnvironmentInput is an input type that accepts FunctionEnvironmentArgs and FunctionEnvironmentOutput values. @@ -2800,7 +2800,7 @@ type FunctionEnvironmentInput interface { // A function's environment variable settings. type FunctionEnvironmentArgs struct { // Environment variable key-value pairs. - Variables pulumi.Input `pulumi:"variables"` + Variables pulumi.StringMapInput `pulumi:"variables"` } func (FunctionEnvironmentArgs) ElementType() reflect.Type { @@ -2882,8 +2882,8 @@ func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx } // Environment variable key-value pairs. -func (o FunctionEnvironmentOutput) Variables() pulumi.AnyOutput { - return o.ApplyT(func(v FunctionEnvironment) interface{} { return v.Variables }).(pulumi.AnyOutput) +func (o FunctionEnvironmentOutput) Variables() pulumi.StringMapOutput { + return o.ApplyT(func(v FunctionEnvironment) map[string]string { return v.Variables }).(pulumi.StringMapOutput) } type FunctionEnvironmentPtrOutput struct{ *pulumi.OutputState } @@ -2911,13 +2911,13 @@ func (o FunctionEnvironmentPtrOutput) Elem() FunctionEnvironmentOutput { } // Environment variable key-value pairs. -func (o FunctionEnvironmentPtrOutput) Variables() pulumi.AnyOutput { - return o.ApplyT(func(v *FunctionEnvironment) interface{} { +func (o FunctionEnvironmentPtrOutput) Variables() pulumi.StringMapOutput { + return o.ApplyT(func(v *FunctionEnvironment) map[string]string { if v == nil { return nil } return v.Variables - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // A function's ephemeral storage settings. diff --git a/sdk/go/aws/lex/pulumiTypes.go b/sdk/go/aws/lex/pulumiTypes.go index 902df6bd7f..c8ffab4e74 100644 --- a/sdk/go/aws/lex/pulumiTypes.go +++ b/sdk/go/aws/lex/pulumiTypes.go @@ -1315,6 +1315,240 @@ func (o BotAliasTextLogSettingArrayOutput) Index(i pulumi.IntInput) BotAliasText }).(BotAliasTextLogSettingOutput) } +// Specifies the allowed input types. +type BotAllowedInputTypes struct { + // Indicates whether audio input is allowed. + AllowAudioInput bool `pulumi:"allowAudioInput"` + // Indicates whether DTMF input is allowed. + AllowDtmfInput bool `pulumi:"allowDtmfInput"` +} + +// BotAllowedInputTypesInput is an input type that accepts BotAllowedInputTypesArgs and BotAllowedInputTypesOutput values. +// You can construct a concrete instance of `BotAllowedInputTypesInput` via: +// +// BotAllowedInputTypesArgs{...} +type BotAllowedInputTypesInput interface { + pulumi.Input + + ToBotAllowedInputTypesOutput() BotAllowedInputTypesOutput + ToBotAllowedInputTypesOutputWithContext(context.Context) BotAllowedInputTypesOutput +} + +// Specifies the allowed input types. +type BotAllowedInputTypesArgs struct { + // Indicates whether audio input is allowed. + AllowAudioInput pulumi.BoolInput `pulumi:"allowAudioInput"` + // Indicates whether DTMF input is allowed. + AllowDtmfInput pulumi.BoolInput `pulumi:"allowDtmfInput"` +} + +func (BotAllowedInputTypesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BotAllowedInputTypes)(nil)).Elem() +} + +func (i BotAllowedInputTypesArgs) ToBotAllowedInputTypesOutput() BotAllowedInputTypesOutput { + return i.ToBotAllowedInputTypesOutputWithContext(context.Background()) +} + +func (i BotAllowedInputTypesArgs) ToBotAllowedInputTypesOutputWithContext(ctx context.Context) BotAllowedInputTypesOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotAllowedInputTypesOutput) +} + +// Specifies the allowed input types. +type BotAllowedInputTypesOutput struct{ *pulumi.OutputState } + +func (BotAllowedInputTypesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BotAllowedInputTypes)(nil)).Elem() +} + +func (o BotAllowedInputTypesOutput) ToBotAllowedInputTypesOutput() BotAllowedInputTypesOutput { + return o +} + +func (o BotAllowedInputTypesOutput) ToBotAllowedInputTypesOutputWithContext(ctx context.Context) BotAllowedInputTypesOutput { + return o +} + +// Indicates whether audio input is allowed. +func (o BotAllowedInputTypesOutput) AllowAudioInput() pulumi.BoolOutput { + return o.ApplyT(func(v BotAllowedInputTypes) bool { return v.AllowAudioInput }).(pulumi.BoolOutput) +} + +// Indicates whether DTMF input is allowed. +func (o BotAllowedInputTypesOutput) AllowDtmfInput() pulumi.BoolOutput { + return o.ApplyT(func(v BotAllowedInputTypes) bool { return v.AllowDtmfInput }).(pulumi.BoolOutput) +} + +// Specifies the audio and DTMF input specification. +type BotAudioAndDtmfInputSpecification struct { + AudioSpecification *BotAudioSpecification `pulumi:"audioSpecification"` + DtmfSpecification *BotDtmfSpecification `pulumi:"dtmfSpecification"` + // 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. + StartTimeoutMs int `pulumi:"startTimeoutMs"` +} + +// BotAudioAndDtmfInputSpecificationInput is an input type that accepts BotAudioAndDtmfInputSpecificationArgs and BotAudioAndDtmfInputSpecificationOutput values. +// You can construct a concrete instance of `BotAudioAndDtmfInputSpecificationInput` via: +// +// BotAudioAndDtmfInputSpecificationArgs{...} +type BotAudioAndDtmfInputSpecificationInput interface { + pulumi.Input + + ToBotAudioAndDtmfInputSpecificationOutput() BotAudioAndDtmfInputSpecificationOutput + ToBotAudioAndDtmfInputSpecificationOutputWithContext(context.Context) BotAudioAndDtmfInputSpecificationOutput +} + +// Specifies the audio and DTMF input specification. +type BotAudioAndDtmfInputSpecificationArgs struct { + AudioSpecification BotAudioSpecificationPtrInput `pulumi:"audioSpecification"` + DtmfSpecification BotDtmfSpecificationPtrInput `pulumi:"dtmfSpecification"` + // 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. + StartTimeoutMs pulumi.IntInput `pulumi:"startTimeoutMs"` +} + +func (BotAudioAndDtmfInputSpecificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BotAudioAndDtmfInputSpecification)(nil)).Elem() +} + +func (i BotAudioAndDtmfInputSpecificationArgs) ToBotAudioAndDtmfInputSpecificationOutput() BotAudioAndDtmfInputSpecificationOutput { + return i.ToBotAudioAndDtmfInputSpecificationOutputWithContext(context.Background()) +} + +func (i BotAudioAndDtmfInputSpecificationArgs) ToBotAudioAndDtmfInputSpecificationOutputWithContext(ctx context.Context) BotAudioAndDtmfInputSpecificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotAudioAndDtmfInputSpecificationOutput) +} + +func (i BotAudioAndDtmfInputSpecificationArgs) ToBotAudioAndDtmfInputSpecificationPtrOutput() BotAudioAndDtmfInputSpecificationPtrOutput { + return i.ToBotAudioAndDtmfInputSpecificationPtrOutputWithContext(context.Background()) +} + +func (i BotAudioAndDtmfInputSpecificationArgs) ToBotAudioAndDtmfInputSpecificationPtrOutputWithContext(ctx context.Context) BotAudioAndDtmfInputSpecificationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotAudioAndDtmfInputSpecificationOutput).ToBotAudioAndDtmfInputSpecificationPtrOutputWithContext(ctx) +} + +// BotAudioAndDtmfInputSpecificationPtrInput is an input type that accepts BotAudioAndDtmfInputSpecificationArgs, BotAudioAndDtmfInputSpecificationPtr and BotAudioAndDtmfInputSpecificationPtrOutput values. +// You can construct a concrete instance of `BotAudioAndDtmfInputSpecificationPtrInput` via: +// +// BotAudioAndDtmfInputSpecificationArgs{...} +// +// or: +// +// nil +type BotAudioAndDtmfInputSpecificationPtrInput interface { + pulumi.Input + + ToBotAudioAndDtmfInputSpecificationPtrOutput() BotAudioAndDtmfInputSpecificationPtrOutput + ToBotAudioAndDtmfInputSpecificationPtrOutputWithContext(context.Context) BotAudioAndDtmfInputSpecificationPtrOutput +} + +type botAudioAndDtmfInputSpecificationPtrType BotAudioAndDtmfInputSpecificationArgs + +func BotAudioAndDtmfInputSpecificationPtr(v *BotAudioAndDtmfInputSpecificationArgs) BotAudioAndDtmfInputSpecificationPtrInput { + return (*botAudioAndDtmfInputSpecificationPtrType)(v) +} + +func (*botAudioAndDtmfInputSpecificationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BotAudioAndDtmfInputSpecification)(nil)).Elem() +} + +func (i *botAudioAndDtmfInputSpecificationPtrType) ToBotAudioAndDtmfInputSpecificationPtrOutput() BotAudioAndDtmfInputSpecificationPtrOutput { + return i.ToBotAudioAndDtmfInputSpecificationPtrOutputWithContext(context.Background()) +} + +func (i *botAudioAndDtmfInputSpecificationPtrType) ToBotAudioAndDtmfInputSpecificationPtrOutputWithContext(ctx context.Context) BotAudioAndDtmfInputSpecificationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotAudioAndDtmfInputSpecificationPtrOutput) +} + +// Specifies the audio and DTMF input specification. +type BotAudioAndDtmfInputSpecificationOutput struct{ *pulumi.OutputState } + +func (BotAudioAndDtmfInputSpecificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BotAudioAndDtmfInputSpecification)(nil)).Elem() +} + +func (o BotAudioAndDtmfInputSpecificationOutput) ToBotAudioAndDtmfInputSpecificationOutput() BotAudioAndDtmfInputSpecificationOutput { + return o +} + +func (o BotAudioAndDtmfInputSpecificationOutput) ToBotAudioAndDtmfInputSpecificationOutputWithContext(ctx context.Context) BotAudioAndDtmfInputSpecificationOutput { + return o +} + +func (o BotAudioAndDtmfInputSpecificationOutput) ToBotAudioAndDtmfInputSpecificationPtrOutput() BotAudioAndDtmfInputSpecificationPtrOutput { + return o.ToBotAudioAndDtmfInputSpecificationPtrOutputWithContext(context.Background()) +} + +func (o BotAudioAndDtmfInputSpecificationOutput) ToBotAudioAndDtmfInputSpecificationPtrOutputWithContext(ctx context.Context) BotAudioAndDtmfInputSpecificationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BotAudioAndDtmfInputSpecification) *BotAudioAndDtmfInputSpecification { + return &v + }).(BotAudioAndDtmfInputSpecificationPtrOutput) +} + +func (o BotAudioAndDtmfInputSpecificationOutput) AudioSpecification() BotAudioSpecificationPtrOutput { + return o.ApplyT(func(v BotAudioAndDtmfInputSpecification) *BotAudioSpecification { return v.AudioSpecification }).(BotAudioSpecificationPtrOutput) +} + +func (o BotAudioAndDtmfInputSpecificationOutput) DtmfSpecification() BotDtmfSpecificationPtrOutput { + return o.ApplyT(func(v BotAudioAndDtmfInputSpecification) *BotDtmfSpecification { return v.DtmfSpecification }).(BotDtmfSpecificationPtrOutput) +} + +// 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. +func (o BotAudioAndDtmfInputSpecificationOutput) StartTimeoutMs() pulumi.IntOutput { + return o.ApplyT(func(v BotAudioAndDtmfInputSpecification) int { return v.StartTimeoutMs }).(pulumi.IntOutput) +} + +type BotAudioAndDtmfInputSpecificationPtrOutput struct{ *pulumi.OutputState } + +func (BotAudioAndDtmfInputSpecificationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BotAudioAndDtmfInputSpecification)(nil)).Elem() +} + +func (o BotAudioAndDtmfInputSpecificationPtrOutput) ToBotAudioAndDtmfInputSpecificationPtrOutput() BotAudioAndDtmfInputSpecificationPtrOutput { + return o +} + +func (o BotAudioAndDtmfInputSpecificationPtrOutput) ToBotAudioAndDtmfInputSpecificationPtrOutputWithContext(ctx context.Context) BotAudioAndDtmfInputSpecificationPtrOutput { + return o +} + +func (o BotAudioAndDtmfInputSpecificationPtrOutput) Elem() BotAudioAndDtmfInputSpecificationOutput { + return o.ApplyT(func(v *BotAudioAndDtmfInputSpecification) BotAudioAndDtmfInputSpecification { + if v != nil { + return *v + } + var ret BotAudioAndDtmfInputSpecification + return ret + }).(BotAudioAndDtmfInputSpecificationOutput) +} + +func (o BotAudioAndDtmfInputSpecificationPtrOutput) AudioSpecification() BotAudioSpecificationPtrOutput { + return o.ApplyT(func(v *BotAudioAndDtmfInputSpecification) *BotAudioSpecification { + if v == nil { + return nil + } + return v.AudioSpecification + }).(BotAudioSpecificationPtrOutput) +} + +func (o BotAudioAndDtmfInputSpecificationPtrOutput) DtmfSpecification() BotDtmfSpecificationPtrOutput { + return o.ApplyT(func(v *BotAudioAndDtmfInputSpecification) *BotDtmfSpecification { + if v == nil { + return nil + } + return v.DtmfSpecification + }).(BotDtmfSpecificationPtrOutput) +} + +// 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. +func (o BotAudioAndDtmfInputSpecificationPtrOutput) StartTimeoutMs() pulumi.IntPtrOutput { + return o.ApplyT(func(v *BotAudioAndDtmfInputSpecification) *int { + if v == nil { + return nil + } + return &v.StartTimeoutMs + }).(pulumi.IntPtrOutput) +} + // The location of audio log files collected when conversation logging is enabled for a bot. type BotAudioLogDestination struct { S3Bucket BotS3BucketLogDestination `pulumi:"s3Bucket"` @@ -1470,6 +1704,165 @@ func (o BotAudioLogSettingArrayOutput) Index(i pulumi.IntInput) BotAudioLogSetti }).(BotAudioLogSettingOutput) } +// Specifies the audio input specifications. +type BotAudioSpecification struct { + // Time for which a bot waits after the customer stops speaking to assume the utterance is finished. + EndTimeoutMs int `pulumi:"endTimeoutMs"` + // Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. + MaxLengthMs int `pulumi:"maxLengthMs"` +} + +// BotAudioSpecificationInput is an input type that accepts BotAudioSpecificationArgs and BotAudioSpecificationOutput values. +// You can construct a concrete instance of `BotAudioSpecificationInput` via: +// +// BotAudioSpecificationArgs{...} +type BotAudioSpecificationInput interface { + pulumi.Input + + ToBotAudioSpecificationOutput() BotAudioSpecificationOutput + ToBotAudioSpecificationOutputWithContext(context.Context) BotAudioSpecificationOutput +} + +// Specifies the audio input specifications. +type BotAudioSpecificationArgs struct { + // Time for which a bot waits after the customer stops speaking to assume the utterance is finished. + EndTimeoutMs pulumi.IntInput `pulumi:"endTimeoutMs"` + // Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. + MaxLengthMs pulumi.IntInput `pulumi:"maxLengthMs"` +} + +func (BotAudioSpecificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BotAudioSpecification)(nil)).Elem() +} + +func (i BotAudioSpecificationArgs) ToBotAudioSpecificationOutput() BotAudioSpecificationOutput { + return i.ToBotAudioSpecificationOutputWithContext(context.Background()) +} + +func (i BotAudioSpecificationArgs) ToBotAudioSpecificationOutputWithContext(ctx context.Context) BotAudioSpecificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotAudioSpecificationOutput) +} + +func (i BotAudioSpecificationArgs) ToBotAudioSpecificationPtrOutput() BotAudioSpecificationPtrOutput { + return i.ToBotAudioSpecificationPtrOutputWithContext(context.Background()) +} + +func (i BotAudioSpecificationArgs) ToBotAudioSpecificationPtrOutputWithContext(ctx context.Context) BotAudioSpecificationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotAudioSpecificationOutput).ToBotAudioSpecificationPtrOutputWithContext(ctx) +} + +// BotAudioSpecificationPtrInput is an input type that accepts BotAudioSpecificationArgs, BotAudioSpecificationPtr and BotAudioSpecificationPtrOutput values. +// You can construct a concrete instance of `BotAudioSpecificationPtrInput` via: +// +// BotAudioSpecificationArgs{...} +// +// or: +// +// nil +type BotAudioSpecificationPtrInput interface { + pulumi.Input + + ToBotAudioSpecificationPtrOutput() BotAudioSpecificationPtrOutput + ToBotAudioSpecificationPtrOutputWithContext(context.Context) BotAudioSpecificationPtrOutput +} + +type botAudioSpecificationPtrType BotAudioSpecificationArgs + +func BotAudioSpecificationPtr(v *BotAudioSpecificationArgs) BotAudioSpecificationPtrInput { + return (*botAudioSpecificationPtrType)(v) +} + +func (*botAudioSpecificationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BotAudioSpecification)(nil)).Elem() +} + +func (i *botAudioSpecificationPtrType) ToBotAudioSpecificationPtrOutput() BotAudioSpecificationPtrOutput { + return i.ToBotAudioSpecificationPtrOutputWithContext(context.Background()) +} + +func (i *botAudioSpecificationPtrType) ToBotAudioSpecificationPtrOutputWithContext(ctx context.Context) BotAudioSpecificationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotAudioSpecificationPtrOutput) +} + +// Specifies the audio input specifications. +type BotAudioSpecificationOutput struct{ *pulumi.OutputState } + +func (BotAudioSpecificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BotAudioSpecification)(nil)).Elem() +} + +func (o BotAudioSpecificationOutput) ToBotAudioSpecificationOutput() BotAudioSpecificationOutput { + return o +} + +func (o BotAudioSpecificationOutput) ToBotAudioSpecificationOutputWithContext(ctx context.Context) BotAudioSpecificationOutput { + return o +} + +func (o BotAudioSpecificationOutput) ToBotAudioSpecificationPtrOutput() BotAudioSpecificationPtrOutput { + return o.ToBotAudioSpecificationPtrOutputWithContext(context.Background()) +} + +func (o BotAudioSpecificationOutput) ToBotAudioSpecificationPtrOutputWithContext(ctx context.Context) BotAudioSpecificationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BotAudioSpecification) *BotAudioSpecification { + return &v + }).(BotAudioSpecificationPtrOutput) +} + +// Time for which a bot waits after the customer stops speaking to assume the utterance is finished. +func (o BotAudioSpecificationOutput) EndTimeoutMs() pulumi.IntOutput { + return o.ApplyT(func(v BotAudioSpecification) int { return v.EndTimeoutMs }).(pulumi.IntOutput) +} + +// Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. +func (o BotAudioSpecificationOutput) MaxLengthMs() pulumi.IntOutput { + return o.ApplyT(func(v BotAudioSpecification) int { return v.MaxLengthMs }).(pulumi.IntOutput) +} + +type BotAudioSpecificationPtrOutput struct{ *pulumi.OutputState } + +func (BotAudioSpecificationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BotAudioSpecification)(nil)).Elem() +} + +func (o BotAudioSpecificationPtrOutput) ToBotAudioSpecificationPtrOutput() BotAudioSpecificationPtrOutput { + return o +} + +func (o BotAudioSpecificationPtrOutput) ToBotAudioSpecificationPtrOutputWithContext(ctx context.Context) BotAudioSpecificationPtrOutput { + return o +} + +func (o BotAudioSpecificationPtrOutput) Elem() BotAudioSpecificationOutput { + return o.ApplyT(func(v *BotAudioSpecification) BotAudioSpecification { + if v != nil { + return *v + } + var ret BotAudioSpecification + return ret + }).(BotAudioSpecificationOutput) +} + +// Time for which a bot waits after the customer stops speaking to assume the utterance is finished. +func (o BotAudioSpecificationPtrOutput) EndTimeoutMs() pulumi.IntPtrOutput { + return o.ApplyT(func(v *BotAudioSpecification) *int { + if v == nil { + return nil + } + return &v.EndTimeoutMs + }).(pulumi.IntPtrOutput) +} + +// Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. +func (o BotAudioSpecificationPtrOutput) MaxLengthMs() pulumi.IntPtrOutput { + return o.ApplyT(func(v *BotAudioSpecification) *int { + if v == nil { + return nil + } + return &v.MaxLengthMs + }).(pulumi.IntPtrOutput) +} + // A button to use on a response card used to gather slot values from a user. type BotButton struct { // The text that appears on the button. @@ -3400,6 +3793,203 @@ func (o BotDialogStatePtrOutput) SessionAttributes() BotSessionAttributeArrayOut }).(BotSessionAttributeArrayOutput) } +// Specifies the settings on DTMF input. +type BotDtmfSpecification struct { + // The DTMF character that clears the accumulated DTMF digits and immediately ends the input. + DeletionCharacter string `pulumi:"deletionCharacter"` + // The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. + EndCharacter string `pulumi:"endCharacter"` + // How long the bot should wait after the last DTMF character input before assuming that the input has concluded. + EndTimeoutMs int `pulumi:"endTimeoutMs"` + // The maximum number of DTMF digits allowed in an utterance. + MaxLength int `pulumi:"maxLength"` +} + +// BotDtmfSpecificationInput is an input type that accepts BotDtmfSpecificationArgs and BotDtmfSpecificationOutput values. +// You can construct a concrete instance of `BotDtmfSpecificationInput` via: +// +// BotDtmfSpecificationArgs{...} +type BotDtmfSpecificationInput interface { + pulumi.Input + + ToBotDtmfSpecificationOutput() BotDtmfSpecificationOutput + ToBotDtmfSpecificationOutputWithContext(context.Context) BotDtmfSpecificationOutput +} + +// Specifies the settings on DTMF input. +type BotDtmfSpecificationArgs struct { + // The DTMF character that clears the accumulated DTMF digits and immediately ends the input. + DeletionCharacter pulumi.StringInput `pulumi:"deletionCharacter"` + // The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. + EndCharacter pulumi.StringInput `pulumi:"endCharacter"` + // How long the bot should wait after the last DTMF character input before assuming that the input has concluded. + EndTimeoutMs pulumi.IntInput `pulumi:"endTimeoutMs"` + // The maximum number of DTMF digits allowed in an utterance. + MaxLength pulumi.IntInput `pulumi:"maxLength"` +} + +func (BotDtmfSpecificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BotDtmfSpecification)(nil)).Elem() +} + +func (i BotDtmfSpecificationArgs) ToBotDtmfSpecificationOutput() BotDtmfSpecificationOutput { + return i.ToBotDtmfSpecificationOutputWithContext(context.Background()) +} + +func (i BotDtmfSpecificationArgs) ToBotDtmfSpecificationOutputWithContext(ctx context.Context) BotDtmfSpecificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotDtmfSpecificationOutput) +} + +func (i BotDtmfSpecificationArgs) ToBotDtmfSpecificationPtrOutput() BotDtmfSpecificationPtrOutput { + return i.ToBotDtmfSpecificationPtrOutputWithContext(context.Background()) +} + +func (i BotDtmfSpecificationArgs) ToBotDtmfSpecificationPtrOutputWithContext(ctx context.Context) BotDtmfSpecificationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotDtmfSpecificationOutput).ToBotDtmfSpecificationPtrOutputWithContext(ctx) +} + +// BotDtmfSpecificationPtrInput is an input type that accepts BotDtmfSpecificationArgs, BotDtmfSpecificationPtr and BotDtmfSpecificationPtrOutput values. +// You can construct a concrete instance of `BotDtmfSpecificationPtrInput` via: +// +// BotDtmfSpecificationArgs{...} +// +// or: +// +// nil +type BotDtmfSpecificationPtrInput interface { + pulumi.Input + + ToBotDtmfSpecificationPtrOutput() BotDtmfSpecificationPtrOutput + ToBotDtmfSpecificationPtrOutputWithContext(context.Context) BotDtmfSpecificationPtrOutput +} + +type botDtmfSpecificationPtrType BotDtmfSpecificationArgs + +func BotDtmfSpecificationPtr(v *BotDtmfSpecificationArgs) BotDtmfSpecificationPtrInput { + return (*botDtmfSpecificationPtrType)(v) +} + +func (*botDtmfSpecificationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BotDtmfSpecification)(nil)).Elem() +} + +func (i *botDtmfSpecificationPtrType) ToBotDtmfSpecificationPtrOutput() BotDtmfSpecificationPtrOutput { + return i.ToBotDtmfSpecificationPtrOutputWithContext(context.Background()) +} + +func (i *botDtmfSpecificationPtrType) ToBotDtmfSpecificationPtrOutputWithContext(ctx context.Context) BotDtmfSpecificationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotDtmfSpecificationPtrOutput) +} + +// Specifies the settings on DTMF input. +type BotDtmfSpecificationOutput struct{ *pulumi.OutputState } + +func (BotDtmfSpecificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BotDtmfSpecification)(nil)).Elem() +} + +func (o BotDtmfSpecificationOutput) ToBotDtmfSpecificationOutput() BotDtmfSpecificationOutput { + return o +} + +func (o BotDtmfSpecificationOutput) ToBotDtmfSpecificationOutputWithContext(ctx context.Context) BotDtmfSpecificationOutput { + return o +} + +func (o BotDtmfSpecificationOutput) ToBotDtmfSpecificationPtrOutput() BotDtmfSpecificationPtrOutput { + return o.ToBotDtmfSpecificationPtrOutputWithContext(context.Background()) +} + +func (o BotDtmfSpecificationOutput) ToBotDtmfSpecificationPtrOutputWithContext(ctx context.Context) BotDtmfSpecificationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BotDtmfSpecification) *BotDtmfSpecification { + return &v + }).(BotDtmfSpecificationPtrOutput) +} + +// The DTMF character that clears the accumulated DTMF digits and immediately ends the input. +func (o BotDtmfSpecificationOutput) DeletionCharacter() pulumi.StringOutput { + return o.ApplyT(func(v BotDtmfSpecification) string { return v.DeletionCharacter }).(pulumi.StringOutput) +} + +// The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. +func (o BotDtmfSpecificationOutput) EndCharacter() pulumi.StringOutput { + return o.ApplyT(func(v BotDtmfSpecification) string { return v.EndCharacter }).(pulumi.StringOutput) +} + +// How long the bot should wait after the last DTMF character input before assuming that the input has concluded. +func (o BotDtmfSpecificationOutput) EndTimeoutMs() pulumi.IntOutput { + return o.ApplyT(func(v BotDtmfSpecification) int { return v.EndTimeoutMs }).(pulumi.IntOutput) +} + +// The maximum number of DTMF digits allowed in an utterance. +func (o BotDtmfSpecificationOutput) MaxLength() pulumi.IntOutput { + return o.ApplyT(func(v BotDtmfSpecification) int { return v.MaxLength }).(pulumi.IntOutput) +} + +type BotDtmfSpecificationPtrOutput struct{ *pulumi.OutputState } + +func (BotDtmfSpecificationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BotDtmfSpecification)(nil)).Elem() +} + +func (o BotDtmfSpecificationPtrOutput) ToBotDtmfSpecificationPtrOutput() BotDtmfSpecificationPtrOutput { + return o +} + +func (o BotDtmfSpecificationPtrOutput) ToBotDtmfSpecificationPtrOutputWithContext(ctx context.Context) BotDtmfSpecificationPtrOutput { + return o +} + +func (o BotDtmfSpecificationPtrOutput) Elem() BotDtmfSpecificationOutput { + return o.ApplyT(func(v *BotDtmfSpecification) BotDtmfSpecification { + if v != nil { + return *v + } + var ret BotDtmfSpecification + return ret + }).(BotDtmfSpecificationOutput) +} + +// The DTMF character that clears the accumulated DTMF digits and immediately ends the input. +func (o BotDtmfSpecificationPtrOutput) DeletionCharacter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BotDtmfSpecification) *string { + if v == nil { + return nil + } + return &v.DeletionCharacter + }).(pulumi.StringPtrOutput) +} + +// The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. +func (o BotDtmfSpecificationPtrOutput) EndCharacter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BotDtmfSpecification) *string { + if v == nil { + return nil + } + return &v.EndCharacter + }).(pulumi.StringPtrOutput) +} + +// How long the bot should wait after the last DTMF character input before assuming that the input has concluded. +func (o BotDtmfSpecificationPtrOutput) EndTimeoutMs() pulumi.IntPtrOutput { + return o.ApplyT(func(v *BotDtmfSpecification) *int { + if v == nil { + return nil + } + return &v.EndTimeoutMs + }).(pulumi.IntPtrOutput) +} + +// The maximum number of DTMF digits allowed in an utterance. +func (o BotDtmfSpecificationPtrOutput) MaxLength() pulumi.IntPtrOutput { + return o.ApplyT(func(v *BotDtmfSpecification) *int { + if v == nil { + return nil + } + return &v.MaxLength + }).(pulumi.IntPtrOutput) +} + // Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values. type BotElicitationCodeHookInvocationSetting struct { // Indicates whether a Lambda function should be invoked for the dialog. @@ -7816,6 +8406,126 @@ func (o BotPostFulfillmentStatusSpecificationPtrOutput) TimeoutResponse() BotRes }).(BotResponseSpecificationPtrOutput) } +// Specifies the settings on a prompt attempt. +type BotPromptAttemptSpecification struct { + // Indicates whether the user can interrupt a speech prompt attempt from the bot. + AllowInterrupt *bool `pulumi:"allowInterrupt"` + AllowedInputTypes BotAllowedInputTypes `pulumi:"allowedInputTypes"` + AudioAndDtmfInputSpecification *BotAudioAndDtmfInputSpecification `pulumi:"audioAndDtmfInputSpecification"` + TextInputSpecification *BotTextInputSpecification `pulumi:"textInputSpecification"` +} + +// BotPromptAttemptSpecificationInput is an input type that accepts BotPromptAttemptSpecificationArgs and BotPromptAttemptSpecificationOutput values. +// You can construct a concrete instance of `BotPromptAttemptSpecificationInput` via: +// +// BotPromptAttemptSpecificationArgs{...} +type BotPromptAttemptSpecificationInput interface { + pulumi.Input + + ToBotPromptAttemptSpecificationOutput() BotPromptAttemptSpecificationOutput + ToBotPromptAttemptSpecificationOutputWithContext(context.Context) BotPromptAttemptSpecificationOutput +} + +// Specifies the settings on a prompt attempt. +type BotPromptAttemptSpecificationArgs struct { + // Indicates whether the user can interrupt a speech prompt attempt from the bot. + AllowInterrupt pulumi.BoolPtrInput `pulumi:"allowInterrupt"` + AllowedInputTypes BotAllowedInputTypesInput `pulumi:"allowedInputTypes"` + AudioAndDtmfInputSpecification BotAudioAndDtmfInputSpecificationPtrInput `pulumi:"audioAndDtmfInputSpecification"` + TextInputSpecification BotTextInputSpecificationPtrInput `pulumi:"textInputSpecification"` +} + +func (BotPromptAttemptSpecificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BotPromptAttemptSpecification)(nil)).Elem() +} + +func (i BotPromptAttemptSpecificationArgs) ToBotPromptAttemptSpecificationOutput() BotPromptAttemptSpecificationOutput { + return i.ToBotPromptAttemptSpecificationOutputWithContext(context.Background()) +} + +func (i BotPromptAttemptSpecificationArgs) ToBotPromptAttemptSpecificationOutputWithContext(ctx context.Context) BotPromptAttemptSpecificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotPromptAttemptSpecificationOutput) +} + +// BotPromptAttemptSpecificationMapInput is an input type that accepts BotPromptAttemptSpecificationMap and BotPromptAttemptSpecificationMapOutput values. +// You can construct a concrete instance of `BotPromptAttemptSpecificationMapInput` via: +// +// BotPromptAttemptSpecificationMap{ "key": BotPromptAttemptSpecificationArgs{...} } +type BotPromptAttemptSpecificationMapInput interface { + pulumi.Input + + ToBotPromptAttemptSpecificationMapOutput() BotPromptAttemptSpecificationMapOutput + ToBotPromptAttemptSpecificationMapOutputWithContext(context.Context) BotPromptAttemptSpecificationMapOutput +} + +type BotPromptAttemptSpecificationMap map[string]BotPromptAttemptSpecificationInput + +func (BotPromptAttemptSpecificationMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]BotPromptAttemptSpecification)(nil)).Elem() +} + +func (i BotPromptAttemptSpecificationMap) ToBotPromptAttemptSpecificationMapOutput() BotPromptAttemptSpecificationMapOutput { + return i.ToBotPromptAttemptSpecificationMapOutputWithContext(context.Background()) +} + +func (i BotPromptAttemptSpecificationMap) ToBotPromptAttemptSpecificationMapOutputWithContext(ctx context.Context) BotPromptAttemptSpecificationMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotPromptAttemptSpecificationMapOutput) +} + +// Specifies the settings on a prompt attempt. +type BotPromptAttemptSpecificationOutput struct{ *pulumi.OutputState } + +func (BotPromptAttemptSpecificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BotPromptAttemptSpecification)(nil)).Elem() +} + +func (o BotPromptAttemptSpecificationOutput) ToBotPromptAttemptSpecificationOutput() BotPromptAttemptSpecificationOutput { + return o +} + +func (o BotPromptAttemptSpecificationOutput) ToBotPromptAttemptSpecificationOutputWithContext(ctx context.Context) BotPromptAttemptSpecificationOutput { + return o +} + +// Indicates whether the user can interrupt a speech prompt attempt from the bot. +func (o BotPromptAttemptSpecificationOutput) AllowInterrupt() pulumi.BoolPtrOutput { + return o.ApplyT(func(v BotPromptAttemptSpecification) *bool { return v.AllowInterrupt }).(pulumi.BoolPtrOutput) +} + +func (o BotPromptAttemptSpecificationOutput) AllowedInputTypes() BotAllowedInputTypesOutput { + return o.ApplyT(func(v BotPromptAttemptSpecification) BotAllowedInputTypes { return v.AllowedInputTypes }).(BotAllowedInputTypesOutput) +} + +func (o BotPromptAttemptSpecificationOutput) AudioAndDtmfInputSpecification() BotAudioAndDtmfInputSpecificationPtrOutput { + return o.ApplyT(func(v BotPromptAttemptSpecification) *BotAudioAndDtmfInputSpecification { + return v.AudioAndDtmfInputSpecification + }).(BotAudioAndDtmfInputSpecificationPtrOutput) +} + +func (o BotPromptAttemptSpecificationOutput) TextInputSpecification() BotTextInputSpecificationPtrOutput { + return o.ApplyT(func(v BotPromptAttemptSpecification) *BotTextInputSpecification { return v.TextInputSpecification }).(BotTextInputSpecificationPtrOutput) +} + +type BotPromptAttemptSpecificationMapOutput struct{ *pulumi.OutputState } + +func (BotPromptAttemptSpecificationMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]BotPromptAttemptSpecification)(nil)).Elem() +} + +func (o BotPromptAttemptSpecificationMapOutput) ToBotPromptAttemptSpecificationMapOutput() BotPromptAttemptSpecificationMapOutput { + return o +} + +func (o BotPromptAttemptSpecificationMapOutput) ToBotPromptAttemptSpecificationMapOutputWithContext(ctx context.Context) BotPromptAttemptSpecificationMapOutput { + return o +} + +func (o BotPromptAttemptSpecificationMapOutput) MapIndex(k pulumi.StringInput) BotPromptAttemptSpecificationOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) BotPromptAttemptSpecification { + return vs[0].(map[string]BotPromptAttemptSpecification)[vs[1].(string)] + }).(BotPromptAttemptSpecificationOutput) +} + // Prompts the user to confirm the intent. type BotPromptSpecification struct { // Indicates whether the user can interrupt a speech prompt from the bot. @@ -7824,7 +8534,7 @@ type BotPromptSpecification struct { MessageGroupsList []BotMessageGroup `pulumi:"messageGroupsList"` MessageSelectionStrategy *BotMessageSelectionStrategy `pulumi:"messageSelectionStrategy"` // Specifies the advanced settings on each attempt of the prompt. - PromptAttemptsSpecification interface{} `pulumi:"promptAttemptsSpecification"` + PromptAttemptsSpecification map[string]BotPromptAttemptSpecification `pulumi:"promptAttemptsSpecification"` } // BotPromptSpecificationInput is an input type that accepts BotPromptSpecificationArgs and BotPromptSpecificationOutput values. @@ -7846,7 +8556,7 @@ type BotPromptSpecificationArgs struct { MessageGroupsList BotMessageGroupArrayInput `pulumi:"messageGroupsList"` MessageSelectionStrategy BotMessageSelectionStrategyPtrInput `pulumi:"messageSelectionStrategy"` // Specifies the advanced settings on each attempt of the prompt. - PromptAttemptsSpecification pulumi.Input `pulumi:"promptAttemptsSpecification"` + PromptAttemptsSpecification BotPromptAttemptSpecificationMapInput `pulumi:"promptAttemptsSpecification"` } func (BotPromptSpecificationArgs) ElementType() reflect.Type { @@ -7945,8 +8655,10 @@ func (o BotPromptSpecificationOutput) MessageSelectionStrategy() BotMessageSelec } // Specifies the advanced settings on each attempt of the prompt. -func (o BotPromptSpecificationOutput) PromptAttemptsSpecification() pulumi.AnyOutput { - return o.ApplyT(func(v BotPromptSpecification) interface{} { return v.PromptAttemptsSpecification }).(pulumi.AnyOutput) +func (o BotPromptSpecificationOutput) PromptAttemptsSpecification() BotPromptAttemptSpecificationMapOutput { + return o.ApplyT(func(v BotPromptSpecification) map[string]BotPromptAttemptSpecification { + return v.PromptAttemptsSpecification + }).(BotPromptAttemptSpecificationMapOutput) } type BotPromptSpecificationPtrOutput struct{ *pulumi.OutputState } @@ -8011,13 +8723,13 @@ func (o BotPromptSpecificationPtrOutput) MessageSelectionStrategy() BotMessageSe } // Specifies the advanced settings on each attempt of the prompt. -func (o BotPromptSpecificationPtrOutput) PromptAttemptsSpecification() pulumi.AnyOutput { - return o.ApplyT(func(v *BotPromptSpecification) interface{} { +func (o BotPromptSpecificationPtrOutput) PromptAttemptsSpecification() BotPromptAttemptSpecificationMapOutput { + return o.ApplyT(func(v *BotPromptSpecification) map[string]BotPromptAttemptSpecification { if v == nil { return nil } return v.PromptAttemptsSpecification - }).(pulumi.AnyOutput) + }).(BotPromptAttemptSpecificationMapOutput) } // A list of message groups that Amazon Lex uses to respond the user input. @@ -11341,6 +12053,146 @@ func (o BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesPtrOutput) Det }).(pulumi.BoolPtrOutput) } +// Specifies the text input specifications. +type BotTextInputSpecification struct { + // Time for which a bot waits before re-prompting a customer for text input. + StartTimeoutMs int `pulumi:"startTimeoutMs"` +} + +// BotTextInputSpecificationInput is an input type that accepts BotTextInputSpecificationArgs and BotTextInputSpecificationOutput values. +// You can construct a concrete instance of `BotTextInputSpecificationInput` via: +// +// BotTextInputSpecificationArgs{...} +type BotTextInputSpecificationInput interface { + pulumi.Input + + ToBotTextInputSpecificationOutput() BotTextInputSpecificationOutput + ToBotTextInputSpecificationOutputWithContext(context.Context) BotTextInputSpecificationOutput +} + +// Specifies the text input specifications. +type BotTextInputSpecificationArgs struct { + // Time for which a bot waits before re-prompting a customer for text input. + StartTimeoutMs pulumi.IntInput `pulumi:"startTimeoutMs"` +} + +func (BotTextInputSpecificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*BotTextInputSpecification)(nil)).Elem() +} + +func (i BotTextInputSpecificationArgs) ToBotTextInputSpecificationOutput() BotTextInputSpecificationOutput { + return i.ToBotTextInputSpecificationOutputWithContext(context.Background()) +} + +func (i BotTextInputSpecificationArgs) ToBotTextInputSpecificationOutputWithContext(ctx context.Context) BotTextInputSpecificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotTextInputSpecificationOutput) +} + +func (i BotTextInputSpecificationArgs) ToBotTextInputSpecificationPtrOutput() BotTextInputSpecificationPtrOutput { + return i.ToBotTextInputSpecificationPtrOutputWithContext(context.Background()) +} + +func (i BotTextInputSpecificationArgs) ToBotTextInputSpecificationPtrOutputWithContext(ctx context.Context) BotTextInputSpecificationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotTextInputSpecificationOutput).ToBotTextInputSpecificationPtrOutputWithContext(ctx) +} + +// BotTextInputSpecificationPtrInput is an input type that accepts BotTextInputSpecificationArgs, BotTextInputSpecificationPtr and BotTextInputSpecificationPtrOutput values. +// You can construct a concrete instance of `BotTextInputSpecificationPtrInput` via: +// +// BotTextInputSpecificationArgs{...} +// +// or: +// +// nil +type BotTextInputSpecificationPtrInput interface { + pulumi.Input + + ToBotTextInputSpecificationPtrOutput() BotTextInputSpecificationPtrOutput + ToBotTextInputSpecificationPtrOutputWithContext(context.Context) BotTextInputSpecificationPtrOutput +} + +type botTextInputSpecificationPtrType BotTextInputSpecificationArgs + +func BotTextInputSpecificationPtr(v *BotTextInputSpecificationArgs) BotTextInputSpecificationPtrInput { + return (*botTextInputSpecificationPtrType)(v) +} + +func (*botTextInputSpecificationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**BotTextInputSpecification)(nil)).Elem() +} + +func (i *botTextInputSpecificationPtrType) ToBotTextInputSpecificationPtrOutput() BotTextInputSpecificationPtrOutput { + return i.ToBotTextInputSpecificationPtrOutputWithContext(context.Background()) +} + +func (i *botTextInputSpecificationPtrType) ToBotTextInputSpecificationPtrOutputWithContext(ctx context.Context) BotTextInputSpecificationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(BotTextInputSpecificationPtrOutput) +} + +// Specifies the text input specifications. +type BotTextInputSpecificationOutput struct{ *pulumi.OutputState } + +func (BotTextInputSpecificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*BotTextInputSpecification)(nil)).Elem() +} + +func (o BotTextInputSpecificationOutput) ToBotTextInputSpecificationOutput() BotTextInputSpecificationOutput { + return o +} + +func (o BotTextInputSpecificationOutput) ToBotTextInputSpecificationOutputWithContext(ctx context.Context) BotTextInputSpecificationOutput { + return o +} + +func (o BotTextInputSpecificationOutput) ToBotTextInputSpecificationPtrOutput() BotTextInputSpecificationPtrOutput { + return o.ToBotTextInputSpecificationPtrOutputWithContext(context.Background()) +} + +func (o BotTextInputSpecificationOutput) ToBotTextInputSpecificationPtrOutputWithContext(ctx context.Context) BotTextInputSpecificationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v BotTextInputSpecification) *BotTextInputSpecification { + return &v + }).(BotTextInputSpecificationPtrOutput) +} + +// Time for which a bot waits before re-prompting a customer for text input. +func (o BotTextInputSpecificationOutput) StartTimeoutMs() pulumi.IntOutput { + return o.ApplyT(func(v BotTextInputSpecification) int { return v.StartTimeoutMs }).(pulumi.IntOutput) +} + +type BotTextInputSpecificationPtrOutput struct{ *pulumi.OutputState } + +func (BotTextInputSpecificationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BotTextInputSpecification)(nil)).Elem() +} + +func (o BotTextInputSpecificationPtrOutput) ToBotTextInputSpecificationPtrOutput() BotTextInputSpecificationPtrOutput { + return o +} + +func (o BotTextInputSpecificationPtrOutput) ToBotTextInputSpecificationPtrOutputWithContext(ctx context.Context) BotTextInputSpecificationPtrOutput { + return o +} + +func (o BotTextInputSpecificationPtrOutput) Elem() BotTextInputSpecificationOutput { + return o.ApplyT(func(v *BotTextInputSpecification) BotTextInputSpecification { + if v != nil { + return *v + } + var ret BotTextInputSpecification + return ret + }).(BotTextInputSpecificationOutput) +} + +// Time for which a bot waits before re-prompting a customer for text input. +func (o BotTextInputSpecificationPtrOutput) StartTimeoutMs() pulumi.IntPtrOutput { + return o.ApplyT(func(v *BotTextInputSpecification) *int { + if v == nil { + return nil + } + return &v.StartTimeoutMs + }).(pulumi.IntPtrOutput) +} + // Defines the Amazon CloudWatch Logs destination log group for conversation text logs. type BotTextLogDestination struct { CloudWatch BotCloudWatchLogGroupLogDestination `pulumi:"cloudWatch"` @@ -12323,9 +13175,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*BotAliasTextLogDestinationInput)(nil)).Elem(), BotAliasTextLogDestinationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotAliasTextLogSettingInput)(nil)).Elem(), BotAliasTextLogSettingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotAliasTextLogSettingArrayInput)(nil)).Elem(), BotAliasTextLogSettingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*BotAllowedInputTypesInput)(nil)).Elem(), BotAllowedInputTypesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*BotAudioAndDtmfInputSpecificationInput)(nil)).Elem(), BotAudioAndDtmfInputSpecificationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*BotAudioAndDtmfInputSpecificationPtrInput)(nil)).Elem(), BotAudioAndDtmfInputSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotAudioLogDestinationInput)(nil)).Elem(), BotAudioLogDestinationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotAudioLogSettingInput)(nil)).Elem(), BotAudioLogSettingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotAudioLogSettingArrayInput)(nil)).Elem(), BotAudioLogSettingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*BotAudioSpecificationInput)(nil)).Elem(), BotAudioSpecificationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*BotAudioSpecificationPtrInput)(nil)).Elem(), BotAudioSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotButtonInput)(nil)).Elem(), BotButtonArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotButtonArrayInput)(nil)).Elem(), BotButtonArray{}) pulumi.RegisterInputType(reflect.TypeOf((*BotCloudWatchLogGroupLogDestinationInput)(nil)).Elem(), BotCloudWatchLogGroupLogDestinationArgs{}) @@ -12352,6 +13209,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*BotDialogCodeHookSettingPtrInput)(nil)).Elem(), BotDialogCodeHookSettingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotDialogStateInput)(nil)).Elem(), BotDialogStateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotDialogStatePtrInput)(nil)).Elem(), BotDialogStateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*BotDtmfSpecificationInput)(nil)).Elem(), BotDtmfSpecificationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*BotDtmfSpecificationPtrInput)(nil)).Elem(), BotDtmfSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotElicitationCodeHookInvocationSettingInput)(nil)).Elem(), BotElicitationCodeHookInvocationSettingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotElicitationCodeHookInvocationSettingPtrInput)(nil)).Elem(), BotElicitationCodeHookInvocationSettingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotExternalSourceSettingInput)(nil)).Elem(), BotExternalSourceSettingArgs{}) @@ -12402,6 +13261,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*BotPostDialogCodeHookInvocationSpecificationPtrInput)(nil)).Elem(), BotPostDialogCodeHookInvocationSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotPostFulfillmentStatusSpecificationInput)(nil)).Elem(), BotPostFulfillmentStatusSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotPostFulfillmentStatusSpecificationPtrInput)(nil)).Elem(), BotPostFulfillmentStatusSpecificationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*BotPromptAttemptSpecificationInput)(nil)).Elem(), BotPromptAttemptSpecificationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*BotPromptAttemptSpecificationMapInput)(nil)).Elem(), BotPromptAttemptSpecificationMap{}) pulumi.RegisterInputType(reflect.TypeOf((*BotPromptSpecificationInput)(nil)).Elem(), BotPromptSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotPromptSpecificationPtrInput)(nil)).Elem(), BotPromptSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotResponseSpecificationInput)(nil)).Elem(), BotResponseSpecificationArgs{}) @@ -12451,6 +13312,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*BotTestBotAliasSettingsPtrInput)(nil)).Elem(), BotTestBotAliasSettingsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesInput)(nil)).Elem(), BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesPtrInput)(nil)).Elem(), BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*BotTextInputSpecificationInput)(nil)).Elem(), BotTextInputSpecificationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*BotTextInputSpecificationPtrInput)(nil)).Elem(), BotTextInputSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotTextLogDestinationInput)(nil)).Elem(), BotTextLogDestinationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotTextLogSettingInput)(nil)).Elem(), BotTextLogSettingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*BotTextLogSettingArrayInput)(nil)).Elem(), BotTextLogSettingArray{}) @@ -12486,9 +13349,14 @@ func init() { pulumi.RegisterOutputType(BotAliasTextLogDestinationOutput{}) pulumi.RegisterOutputType(BotAliasTextLogSettingOutput{}) pulumi.RegisterOutputType(BotAliasTextLogSettingArrayOutput{}) + pulumi.RegisterOutputType(BotAllowedInputTypesOutput{}) + pulumi.RegisterOutputType(BotAudioAndDtmfInputSpecificationOutput{}) + pulumi.RegisterOutputType(BotAudioAndDtmfInputSpecificationPtrOutput{}) pulumi.RegisterOutputType(BotAudioLogDestinationOutput{}) pulumi.RegisterOutputType(BotAudioLogSettingOutput{}) pulumi.RegisterOutputType(BotAudioLogSettingArrayOutput{}) + pulumi.RegisterOutputType(BotAudioSpecificationOutput{}) + pulumi.RegisterOutputType(BotAudioSpecificationPtrOutput{}) pulumi.RegisterOutputType(BotButtonOutput{}) pulumi.RegisterOutputType(BotButtonArrayOutput{}) pulumi.RegisterOutputType(BotCloudWatchLogGroupLogDestinationOutput{}) @@ -12515,6 +13383,8 @@ func init() { pulumi.RegisterOutputType(BotDialogCodeHookSettingPtrOutput{}) pulumi.RegisterOutputType(BotDialogStateOutput{}) pulumi.RegisterOutputType(BotDialogStatePtrOutput{}) + pulumi.RegisterOutputType(BotDtmfSpecificationOutput{}) + pulumi.RegisterOutputType(BotDtmfSpecificationPtrOutput{}) pulumi.RegisterOutputType(BotElicitationCodeHookInvocationSettingOutput{}) pulumi.RegisterOutputType(BotElicitationCodeHookInvocationSettingPtrOutput{}) pulumi.RegisterOutputType(BotExternalSourceSettingOutput{}) @@ -12565,6 +13435,8 @@ func init() { pulumi.RegisterOutputType(BotPostDialogCodeHookInvocationSpecificationPtrOutput{}) pulumi.RegisterOutputType(BotPostFulfillmentStatusSpecificationOutput{}) pulumi.RegisterOutputType(BotPostFulfillmentStatusSpecificationPtrOutput{}) + pulumi.RegisterOutputType(BotPromptAttemptSpecificationOutput{}) + pulumi.RegisterOutputType(BotPromptAttemptSpecificationMapOutput{}) pulumi.RegisterOutputType(BotPromptSpecificationOutput{}) pulumi.RegisterOutputType(BotPromptSpecificationPtrOutput{}) pulumi.RegisterOutputType(BotResponseSpecificationOutput{}) @@ -12614,6 +13486,8 @@ func init() { pulumi.RegisterOutputType(BotTestBotAliasSettingsPtrOutput{}) pulumi.RegisterOutputType(BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesOutput{}) pulumi.RegisterOutputType(BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesPtrOutput{}) + pulumi.RegisterOutputType(BotTextInputSpecificationOutput{}) + pulumi.RegisterOutputType(BotTextInputSpecificationPtrOutput{}) pulumi.RegisterOutputType(BotTextLogDestinationOutput{}) pulumi.RegisterOutputType(BotTextLogSettingOutput{}) pulumi.RegisterOutputType(BotTextLogSettingArrayOutput{}) diff --git a/sdk/go/aws/msk/cluster.go b/sdk/go/aws/msk/cluster.go index f16be0a1c3..d1ca3fc50f 100644 --- a/sdk/go/aws/msk/cluster.go +++ b/sdk/go/aws/msk/cluster.go @@ -31,7 +31,7 @@ type Cluster struct { OpenMonitoring ClusterOpenMonitoringPtrOutput `pulumi:"openMonitoring"` StorageMode ClusterStorageModePtrOutput `pulumi:"storageMode"` // A key-value pair to associate with a resource. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` } // NewCluster registers a new resource with the given unique name, arguments, and options. @@ -106,7 +106,7 @@ type clusterArgs struct { OpenMonitoring *ClusterOpenMonitoring `pulumi:"openMonitoring"` StorageMode *ClusterStorageMode `pulumi:"storageMode"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` } // The set of arguments for constructing a Cluster resource. @@ -125,7 +125,7 @@ type ClusterArgs struct { OpenMonitoring ClusterOpenMonitoringPtrInput StorageMode ClusterStorageModePtrInput // A key-value pair to associate with a resource. - Tags pulumi.Input + Tags pulumi.StringMapInput } func (ClusterArgs) ElementType() reflect.Type { @@ -219,8 +219,8 @@ func (o ClusterOutput) StorageMode() ClusterStorageModePtrOutput { } // A key-value pair to associate with a resource. -func (o ClusterOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *Cluster) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ClusterOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/msk/getCluster.go b/sdk/go/aws/msk/getCluster.go index c3b67e6477..0191c89b90 100644 --- a/sdk/go/aws/msk/getCluster.go +++ b/sdk/go/aws/msk/getCluster.go @@ -41,7 +41,7 @@ type LookupClusterResult struct { OpenMonitoring *ClusterOpenMonitoring `pulumi:"openMonitoring"` StorageMode *ClusterStorageMode `pulumi:"storageMode"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` } func LookupClusterOutput(ctx *pulumi.Context, args LookupClusterOutputArgs, opts ...pulumi.InvokeOption) LookupClusterResultOutput { @@ -129,8 +129,8 @@ func (o LookupClusterResultOutput) StorageMode() ClusterStorageModePtrOutput { } // A key-value pair to associate with a resource. -func (o LookupClusterResultOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v LookupClusterResult) interface{} { return v.Tags }).(pulumi.AnyOutput) +func (o LookupClusterResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupClusterResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } func init() { diff --git a/sdk/go/aws/msk/serverlessCluster.go b/sdk/go/aws/msk/serverlessCluster.go index 004c4b8f3c..a7dd0c7f13 100644 --- a/sdk/go/aws/msk/serverlessCluster.go +++ b/sdk/go/aws/msk/serverlessCluster.go @@ -20,7 +20,7 @@ type ServerlessCluster struct { ClientAuthentication ServerlessClusterClientAuthenticationOutput `pulumi:"clientAuthentication"` ClusterName pulumi.StringOutput `pulumi:"clusterName"` // A key-value pair to associate with a resource. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` VpcConfigs ServerlessClusterVpcConfigArrayOutput `pulumi:"vpcConfigs"` } @@ -43,7 +43,7 @@ func NewServerlessCluster(ctx *pulumi.Context, replaceOnChanges := pulumi.ReplaceOnChanges([]string{ "clientAuthentication", "clusterName", - "tags", + "tags.*", "vpcConfigs[*]", }) opts = append(opts, replaceOnChanges) @@ -83,7 +83,7 @@ type serverlessClusterArgs struct { ClientAuthentication ServerlessClusterClientAuthentication `pulumi:"clientAuthentication"` ClusterName string `pulumi:"clusterName"` // A key-value pair to associate with a resource. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` VpcConfigs []ServerlessClusterVpcConfig `pulumi:"vpcConfigs"` } @@ -92,7 +92,7 @@ type ServerlessClusterArgs struct { ClientAuthentication ServerlessClusterClientAuthenticationInput ClusterName pulumi.StringInput // A key-value pair to associate with a resource. - Tags pulumi.Input + Tags pulumi.StringMapInput VpcConfigs ServerlessClusterVpcConfigArrayInput } @@ -146,8 +146,8 @@ func (o ServerlessClusterOutput) ClusterName() pulumi.StringOutput { } // A key-value pair to associate with a resource. -func (o ServerlessClusterOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *ServerlessCluster) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ServerlessClusterOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *ServerlessCluster) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } func (o ServerlessClusterOutput) VpcConfigs() ServerlessClusterVpcConfigArrayOutput { diff --git a/sdk/go/aws/networkfirewall/pulumiTypes.go b/sdk/go/aws/networkfirewall/pulumiTypes.go index 4df685d301..4d4736cc0d 100644 --- a/sdk/go/aws/networkfirewall/pulumiTypes.go +++ b/sdk/go/aws/networkfirewall/pulumiTypes.go @@ -1731,7 +1731,7 @@ func (o LoggingConfigurationTypePtrOutput) LogDestinationConfigs() LoggingConfig type LoggingConfigurationLogDestinationConfig struct { // A key-value pair to configure the logDestinations. - LogDestination interface{} `pulumi:"logDestination"` + LogDestination map[string]string `pulumi:"logDestination"` LogDestinationType LoggingConfigurationLogDestinationConfigLogDestinationType `pulumi:"logDestinationType"` LogType LoggingConfigurationLogDestinationConfigLogType `pulumi:"logType"` } @@ -1749,7 +1749,7 @@ type LoggingConfigurationLogDestinationConfigInput interface { type LoggingConfigurationLogDestinationConfigArgs struct { // A key-value pair to configure the logDestinations. - LogDestination pulumi.Input `pulumi:"logDestination"` + LogDestination pulumi.StringMapInput `pulumi:"logDestination"` LogDestinationType LoggingConfigurationLogDestinationConfigLogDestinationTypeInput `pulumi:"logDestinationType"` LogType LoggingConfigurationLogDestinationConfigLogTypeInput `pulumi:"logType"` } @@ -1806,8 +1806,8 @@ func (o LoggingConfigurationLogDestinationConfigOutput) ToLoggingConfigurationLo } // A key-value pair to configure the logDestinations. -func (o LoggingConfigurationLogDestinationConfigOutput) LogDestination() pulumi.AnyOutput { - return o.ApplyT(func(v LoggingConfigurationLogDestinationConfig) interface{} { return v.LogDestination }).(pulumi.AnyOutput) +func (o LoggingConfigurationLogDestinationConfigOutput) LogDestination() pulumi.StringMapOutput { + return o.ApplyT(func(v LoggingConfigurationLogDestinationConfig) map[string]string { return v.LogDestination }).(pulumi.StringMapOutput) } func (o LoggingConfigurationLogDestinationConfigOutput) LogDestinationType() LoggingConfigurationLogDestinationConfigLogDestinationTypeOutput { @@ -2436,6 +2436,194 @@ func (o RuleGroupHeaderOutput) SourcePort() pulumi.StringOutput { return o.ApplyT(func(v RuleGroupHeader) string { return v.SourcePort }).(pulumi.StringOutput) } +type RuleGroupIpSet struct { + Definition []string `pulumi:"definition"` +} + +// RuleGroupIpSetInput is an input type that accepts RuleGroupIpSetArgs and RuleGroupIpSetOutput values. +// You can construct a concrete instance of `RuleGroupIpSetInput` via: +// +// RuleGroupIpSetArgs{...} +type RuleGroupIpSetInput interface { + pulumi.Input + + ToRuleGroupIpSetOutput() RuleGroupIpSetOutput + ToRuleGroupIpSetOutputWithContext(context.Context) RuleGroupIpSetOutput +} + +type RuleGroupIpSetArgs struct { + Definition pulumi.StringArrayInput `pulumi:"definition"` +} + +func (RuleGroupIpSetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RuleGroupIpSet)(nil)).Elem() +} + +func (i RuleGroupIpSetArgs) ToRuleGroupIpSetOutput() RuleGroupIpSetOutput { + return i.ToRuleGroupIpSetOutputWithContext(context.Background()) +} + +func (i RuleGroupIpSetArgs) ToRuleGroupIpSetOutputWithContext(ctx context.Context) RuleGroupIpSetOutput { + return pulumi.ToOutputWithContext(ctx, i).(RuleGroupIpSetOutput) +} + +// RuleGroupIpSetMapInput is an input type that accepts RuleGroupIpSetMap and RuleGroupIpSetMapOutput values. +// You can construct a concrete instance of `RuleGroupIpSetMapInput` via: +// +// RuleGroupIpSetMap{ "key": RuleGroupIpSetArgs{...} } +type RuleGroupIpSetMapInput interface { + pulumi.Input + + ToRuleGroupIpSetMapOutput() RuleGroupIpSetMapOutput + ToRuleGroupIpSetMapOutputWithContext(context.Context) RuleGroupIpSetMapOutput +} + +type RuleGroupIpSetMap map[string]RuleGroupIpSetInput + +func (RuleGroupIpSetMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]RuleGroupIpSet)(nil)).Elem() +} + +func (i RuleGroupIpSetMap) ToRuleGroupIpSetMapOutput() RuleGroupIpSetMapOutput { + return i.ToRuleGroupIpSetMapOutputWithContext(context.Background()) +} + +func (i RuleGroupIpSetMap) ToRuleGroupIpSetMapOutputWithContext(ctx context.Context) RuleGroupIpSetMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(RuleGroupIpSetMapOutput) +} + +type RuleGroupIpSetOutput struct{ *pulumi.OutputState } + +func (RuleGroupIpSetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RuleGroupIpSet)(nil)).Elem() +} + +func (o RuleGroupIpSetOutput) ToRuleGroupIpSetOutput() RuleGroupIpSetOutput { + return o +} + +func (o RuleGroupIpSetOutput) ToRuleGroupIpSetOutputWithContext(ctx context.Context) RuleGroupIpSetOutput { + return o +} + +func (o RuleGroupIpSetOutput) Definition() pulumi.StringArrayOutput { + return o.ApplyT(func(v RuleGroupIpSet) []string { return v.Definition }).(pulumi.StringArrayOutput) +} + +type RuleGroupIpSetMapOutput struct{ *pulumi.OutputState } + +func (RuleGroupIpSetMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]RuleGroupIpSet)(nil)).Elem() +} + +func (o RuleGroupIpSetMapOutput) ToRuleGroupIpSetMapOutput() RuleGroupIpSetMapOutput { + return o +} + +func (o RuleGroupIpSetMapOutput) ToRuleGroupIpSetMapOutputWithContext(ctx context.Context) RuleGroupIpSetMapOutput { + return o +} + +func (o RuleGroupIpSetMapOutput) MapIndex(k pulumi.StringInput) RuleGroupIpSetOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) RuleGroupIpSet { + return vs[0].(map[string]RuleGroupIpSet)[vs[1].(string)] + }).(RuleGroupIpSetOutput) +} + +type RuleGroupIpSetReference struct { + ReferenceArn *string `pulumi:"referenceArn"` +} + +// RuleGroupIpSetReferenceInput is an input type that accepts RuleGroupIpSetReferenceArgs and RuleGroupIpSetReferenceOutput values. +// You can construct a concrete instance of `RuleGroupIpSetReferenceInput` via: +// +// RuleGroupIpSetReferenceArgs{...} +type RuleGroupIpSetReferenceInput interface { + pulumi.Input + + ToRuleGroupIpSetReferenceOutput() RuleGroupIpSetReferenceOutput + ToRuleGroupIpSetReferenceOutputWithContext(context.Context) RuleGroupIpSetReferenceOutput +} + +type RuleGroupIpSetReferenceArgs struct { + ReferenceArn pulumi.StringPtrInput `pulumi:"referenceArn"` +} + +func (RuleGroupIpSetReferenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RuleGroupIpSetReference)(nil)).Elem() +} + +func (i RuleGroupIpSetReferenceArgs) ToRuleGroupIpSetReferenceOutput() RuleGroupIpSetReferenceOutput { + return i.ToRuleGroupIpSetReferenceOutputWithContext(context.Background()) +} + +func (i RuleGroupIpSetReferenceArgs) ToRuleGroupIpSetReferenceOutputWithContext(ctx context.Context) RuleGroupIpSetReferenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(RuleGroupIpSetReferenceOutput) +} + +// RuleGroupIpSetReferenceMapInput is an input type that accepts RuleGroupIpSetReferenceMap and RuleGroupIpSetReferenceMapOutput values. +// You can construct a concrete instance of `RuleGroupIpSetReferenceMapInput` via: +// +// RuleGroupIpSetReferenceMap{ "key": RuleGroupIpSetReferenceArgs{...} } +type RuleGroupIpSetReferenceMapInput interface { + pulumi.Input + + ToRuleGroupIpSetReferenceMapOutput() RuleGroupIpSetReferenceMapOutput + ToRuleGroupIpSetReferenceMapOutputWithContext(context.Context) RuleGroupIpSetReferenceMapOutput +} + +type RuleGroupIpSetReferenceMap map[string]RuleGroupIpSetReferenceInput + +func (RuleGroupIpSetReferenceMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]RuleGroupIpSetReference)(nil)).Elem() +} + +func (i RuleGroupIpSetReferenceMap) ToRuleGroupIpSetReferenceMapOutput() RuleGroupIpSetReferenceMapOutput { + return i.ToRuleGroupIpSetReferenceMapOutputWithContext(context.Background()) +} + +func (i RuleGroupIpSetReferenceMap) ToRuleGroupIpSetReferenceMapOutputWithContext(ctx context.Context) RuleGroupIpSetReferenceMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(RuleGroupIpSetReferenceMapOutput) +} + +type RuleGroupIpSetReferenceOutput struct{ *pulumi.OutputState } + +func (RuleGroupIpSetReferenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RuleGroupIpSetReference)(nil)).Elem() +} + +func (o RuleGroupIpSetReferenceOutput) ToRuleGroupIpSetReferenceOutput() RuleGroupIpSetReferenceOutput { + return o +} + +func (o RuleGroupIpSetReferenceOutput) ToRuleGroupIpSetReferenceOutputWithContext(ctx context.Context) RuleGroupIpSetReferenceOutput { + return o +} + +func (o RuleGroupIpSetReferenceOutput) ReferenceArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v RuleGroupIpSetReference) *string { return v.ReferenceArn }).(pulumi.StringPtrOutput) +} + +type RuleGroupIpSetReferenceMapOutput struct{ *pulumi.OutputState } + +func (RuleGroupIpSetReferenceMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]RuleGroupIpSetReference)(nil)).Elem() +} + +func (o RuleGroupIpSetReferenceMapOutput) ToRuleGroupIpSetReferenceMapOutput() RuleGroupIpSetReferenceMapOutput { + return o +} + +func (o RuleGroupIpSetReferenceMapOutput) ToRuleGroupIpSetReferenceMapOutputWithContext(ctx context.Context) RuleGroupIpSetReferenceMapOutput { + return o +} + +func (o RuleGroupIpSetReferenceMapOutput) MapIndex(k pulumi.StringInput) RuleGroupIpSetReferenceOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) RuleGroupIpSetReference { + return vs[0].(map[string]RuleGroupIpSetReference)[vs[1].(string)] + }).(RuleGroupIpSetReferenceOutput) +} + type RuleGroupMatchAttributes struct { DestinationPorts []RuleGroupPortRange `pulumi:"destinationPorts"` Destinations []RuleGroupAddress `pulumi:"destinations"` @@ -2615,6 +2803,100 @@ func (o RuleGroupPortRangeArrayOutput) Index(i pulumi.IntInput) RuleGroupPortRan }).(RuleGroupPortRangeOutput) } +type RuleGroupPortSet struct { + Definition []string `pulumi:"definition"` +} + +// RuleGroupPortSetInput is an input type that accepts RuleGroupPortSetArgs and RuleGroupPortSetOutput values. +// You can construct a concrete instance of `RuleGroupPortSetInput` via: +// +// RuleGroupPortSetArgs{...} +type RuleGroupPortSetInput interface { + pulumi.Input + + ToRuleGroupPortSetOutput() RuleGroupPortSetOutput + ToRuleGroupPortSetOutputWithContext(context.Context) RuleGroupPortSetOutput +} + +type RuleGroupPortSetArgs struct { + Definition pulumi.StringArrayInput `pulumi:"definition"` +} + +func (RuleGroupPortSetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RuleGroupPortSet)(nil)).Elem() +} + +func (i RuleGroupPortSetArgs) ToRuleGroupPortSetOutput() RuleGroupPortSetOutput { + return i.ToRuleGroupPortSetOutputWithContext(context.Background()) +} + +func (i RuleGroupPortSetArgs) ToRuleGroupPortSetOutputWithContext(ctx context.Context) RuleGroupPortSetOutput { + return pulumi.ToOutputWithContext(ctx, i).(RuleGroupPortSetOutput) +} + +// RuleGroupPortSetMapInput is an input type that accepts RuleGroupPortSetMap and RuleGroupPortSetMapOutput values. +// You can construct a concrete instance of `RuleGroupPortSetMapInput` via: +// +// RuleGroupPortSetMap{ "key": RuleGroupPortSetArgs{...} } +type RuleGroupPortSetMapInput interface { + pulumi.Input + + ToRuleGroupPortSetMapOutput() RuleGroupPortSetMapOutput + ToRuleGroupPortSetMapOutputWithContext(context.Context) RuleGroupPortSetMapOutput +} + +type RuleGroupPortSetMap map[string]RuleGroupPortSetInput + +func (RuleGroupPortSetMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]RuleGroupPortSet)(nil)).Elem() +} + +func (i RuleGroupPortSetMap) ToRuleGroupPortSetMapOutput() RuleGroupPortSetMapOutput { + return i.ToRuleGroupPortSetMapOutputWithContext(context.Background()) +} + +func (i RuleGroupPortSetMap) ToRuleGroupPortSetMapOutputWithContext(ctx context.Context) RuleGroupPortSetMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(RuleGroupPortSetMapOutput) +} + +type RuleGroupPortSetOutput struct{ *pulumi.OutputState } + +func (RuleGroupPortSetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RuleGroupPortSet)(nil)).Elem() +} + +func (o RuleGroupPortSetOutput) ToRuleGroupPortSetOutput() RuleGroupPortSetOutput { + return o +} + +func (o RuleGroupPortSetOutput) ToRuleGroupPortSetOutputWithContext(ctx context.Context) RuleGroupPortSetOutput { + return o +} + +func (o RuleGroupPortSetOutput) Definition() pulumi.StringArrayOutput { + return o.ApplyT(func(v RuleGroupPortSet) []string { return v.Definition }).(pulumi.StringArrayOutput) +} + +type RuleGroupPortSetMapOutput struct{ *pulumi.OutputState } + +func (RuleGroupPortSetMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]RuleGroupPortSet)(nil)).Elem() +} + +func (o RuleGroupPortSetMapOutput) ToRuleGroupPortSetMapOutput() RuleGroupPortSetMapOutput { + return o +} + +func (o RuleGroupPortSetMapOutput) ToRuleGroupPortSetMapOutputWithContext(ctx context.Context) RuleGroupPortSetMapOutput { + return o +} + +func (o RuleGroupPortSetMapOutput) MapIndex(k pulumi.StringInput) RuleGroupPortSetOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) RuleGroupPortSet { + return vs[0].(map[string]RuleGroupPortSet)[vs[1].(string)] + }).(RuleGroupPortSetOutput) +} + type RuleGroupPublishMetricAction struct { Dimensions []RuleGroupDimension `pulumi:"dimensions"` } @@ -2749,7 +3031,7 @@ func (o RuleGroupPublishMetricActionPtrOutput) Dimensions() RuleGroupDimensionAr } type RuleGroupReferenceSets struct { - IpSetReferences interface{} `pulumi:"ipSetReferences"` + IpSetReferences map[string]RuleGroupIpSetReference `pulumi:"ipSetReferences"` } // RuleGroupReferenceSetsInput is an input type that accepts RuleGroupReferenceSetsArgs and RuleGroupReferenceSetsOutput values. @@ -2764,7 +3046,7 @@ type RuleGroupReferenceSetsInput interface { } type RuleGroupReferenceSetsArgs struct { - IpSetReferences pulumi.Input `pulumi:"ipSetReferences"` + IpSetReferences RuleGroupIpSetReferenceMapInput `pulumi:"ipSetReferences"` } func (RuleGroupReferenceSetsArgs) ElementType() reflect.Type { @@ -2844,8 +3126,8 @@ func (o RuleGroupReferenceSetsOutput) ToRuleGroupReferenceSetsPtrOutputWithConte }).(RuleGroupReferenceSetsPtrOutput) } -func (o RuleGroupReferenceSetsOutput) IpSetReferences() pulumi.AnyOutput { - return o.ApplyT(func(v RuleGroupReferenceSets) interface{} { return v.IpSetReferences }).(pulumi.AnyOutput) +func (o RuleGroupReferenceSetsOutput) IpSetReferences() RuleGroupIpSetReferenceMapOutput { + return o.ApplyT(func(v RuleGroupReferenceSets) map[string]RuleGroupIpSetReference { return v.IpSetReferences }).(RuleGroupIpSetReferenceMapOutput) } type RuleGroupReferenceSetsPtrOutput struct{ *pulumi.OutputState } @@ -2872,13 +3154,13 @@ func (o RuleGroupReferenceSetsPtrOutput) Elem() RuleGroupReferenceSetsOutput { }).(RuleGroupReferenceSetsOutput) } -func (o RuleGroupReferenceSetsPtrOutput) IpSetReferences() pulumi.AnyOutput { - return o.ApplyT(func(v *RuleGroupReferenceSets) interface{} { +func (o RuleGroupReferenceSetsPtrOutput) IpSetReferences() RuleGroupIpSetReferenceMapOutput { + return o.ApplyT(func(v *RuleGroupReferenceSets) map[string]RuleGroupIpSetReference { if v == nil { return nil } return v.IpSetReferences - }).(pulumi.AnyOutput) + }).(RuleGroupIpSetReferenceMapOutput) } type RuleGroupRuleDefinition struct { @@ -3037,8 +3319,8 @@ func (o RuleGroupRuleOptionArrayOutput) Index(i pulumi.IntInput) RuleGroupRuleOp } type RuleGroupRuleVariables struct { - IpSets interface{} `pulumi:"ipSets"` - PortSets interface{} `pulumi:"portSets"` + IpSets map[string]RuleGroupIpSet `pulumi:"ipSets"` + PortSets map[string]RuleGroupPortSet `pulumi:"portSets"` } // RuleGroupRuleVariablesInput is an input type that accepts RuleGroupRuleVariablesArgs and RuleGroupRuleVariablesOutput values. @@ -3053,8 +3335,8 @@ type RuleGroupRuleVariablesInput interface { } type RuleGroupRuleVariablesArgs struct { - IpSets pulumi.Input `pulumi:"ipSets"` - PortSets pulumi.Input `pulumi:"portSets"` + IpSets RuleGroupIpSetMapInput `pulumi:"ipSets"` + PortSets RuleGroupPortSetMapInput `pulumi:"portSets"` } func (RuleGroupRuleVariablesArgs) ElementType() reflect.Type { @@ -3134,12 +3416,12 @@ func (o RuleGroupRuleVariablesOutput) ToRuleGroupRuleVariablesPtrOutputWithConte }).(RuleGroupRuleVariablesPtrOutput) } -func (o RuleGroupRuleVariablesOutput) IpSets() pulumi.AnyOutput { - return o.ApplyT(func(v RuleGroupRuleVariables) interface{} { return v.IpSets }).(pulumi.AnyOutput) +func (o RuleGroupRuleVariablesOutput) IpSets() RuleGroupIpSetMapOutput { + return o.ApplyT(func(v RuleGroupRuleVariables) map[string]RuleGroupIpSet { return v.IpSets }).(RuleGroupIpSetMapOutput) } -func (o RuleGroupRuleVariablesOutput) PortSets() pulumi.AnyOutput { - return o.ApplyT(func(v RuleGroupRuleVariables) interface{} { return v.PortSets }).(pulumi.AnyOutput) +func (o RuleGroupRuleVariablesOutput) PortSets() RuleGroupPortSetMapOutput { + return o.ApplyT(func(v RuleGroupRuleVariables) map[string]RuleGroupPortSet { return v.PortSets }).(RuleGroupPortSetMapOutput) } type RuleGroupRuleVariablesPtrOutput struct{ *pulumi.OutputState } @@ -3166,22 +3448,22 @@ func (o RuleGroupRuleVariablesPtrOutput) Elem() RuleGroupRuleVariablesOutput { }).(RuleGroupRuleVariablesOutput) } -func (o RuleGroupRuleVariablesPtrOutput) IpSets() pulumi.AnyOutput { - return o.ApplyT(func(v *RuleGroupRuleVariables) interface{} { +func (o RuleGroupRuleVariablesPtrOutput) IpSets() RuleGroupIpSetMapOutput { + return o.ApplyT(func(v *RuleGroupRuleVariables) map[string]RuleGroupIpSet { if v == nil { return nil } return v.IpSets - }).(pulumi.AnyOutput) + }).(RuleGroupIpSetMapOutput) } -func (o RuleGroupRuleVariablesPtrOutput) PortSets() pulumi.AnyOutput { - return o.ApplyT(func(v *RuleGroupRuleVariables) interface{} { +func (o RuleGroupRuleVariablesPtrOutput) PortSets() RuleGroupPortSetMapOutput { + return o.ApplyT(func(v *RuleGroupRuleVariables) map[string]RuleGroupPortSet { if v == nil { return nil } return v.PortSets - }).(pulumi.AnyOutput) + }).(RuleGroupPortSetMapOutput) } type RuleGroupRulesSource struct { @@ -5124,9 +5406,15 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupDimensionInput)(nil)).Elem(), RuleGroupDimensionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupDimensionArrayInput)(nil)).Elem(), RuleGroupDimensionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupHeaderInput)(nil)).Elem(), RuleGroupHeaderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupIpSetInput)(nil)).Elem(), RuleGroupIpSetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupIpSetMapInput)(nil)).Elem(), RuleGroupIpSetMap{}) + pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupIpSetReferenceInput)(nil)).Elem(), RuleGroupIpSetReferenceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupIpSetReferenceMapInput)(nil)).Elem(), RuleGroupIpSetReferenceMap{}) pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupMatchAttributesInput)(nil)).Elem(), RuleGroupMatchAttributesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupPortRangeInput)(nil)).Elem(), RuleGroupPortRangeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupPortRangeArrayInput)(nil)).Elem(), RuleGroupPortRangeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupPortSetInput)(nil)).Elem(), RuleGroupPortSetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupPortSetMapInput)(nil)).Elem(), RuleGroupPortSetMap{}) pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupPublishMetricActionInput)(nil)).Elem(), RuleGroupPublishMetricActionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupPublishMetricActionPtrInput)(nil)).Elem(), RuleGroupPublishMetricActionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*RuleGroupReferenceSetsInput)(nil)).Elem(), RuleGroupReferenceSetsArgs{}) @@ -5208,9 +5496,15 @@ func init() { pulumi.RegisterOutputType(RuleGroupDimensionOutput{}) pulumi.RegisterOutputType(RuleGroupDimensionArrayOutput{}) pulumi.RegisterOutputType(RuleGroupHeaderOutput{}) + pulumi.RegisterOutputType(RuleGroupIpSetOutput{}) + pulumi.RegisterOutputType(RuleGroupIpSetMapOutput{}) + pulumi.RegisterOutputType(RuleGroupIpSetReferenceOutput{}) + pulumi.RegisterOutputType(RuleGroupIpSetReferenceMapOutput{}) pulumi.RegisterOutputType(RuleGroupMatchAttributesOutput{}) pulumi.RegisterOutputType(RuleGroupPortRangeOutput{}) pulumi.RegisterOutputType(RuleGroupPortRangeArrayOutput{}) + pulumi.RegisterOutputType(RuleGroupPortSetOutput{}) + pulumi.RegisterOutputType(RuleGroupPortSetMapOutput{}) pulumi.RegisterOutputType(RuleGroupPublishMetricActionOutput{}) pulumi.RegisterOutputType(RuleGroupPublishMetricActionPtrOutput{}) pulumi.RegisterOutputType(RuleGroupReferenceSetsOutput{}) diff --git a/sdk/go/aws/opensearchservice/domain.go b/sdk/go/aws/opensearchservice/domain.go index d1ccad0b28..4af6cae7b8 100644 --- a/sdk/go/aws/opensearchservice/domain.go +++ b/sdk/go/aws/opensearchservice/domain.go @@ -16,7 +16,7 @@ type Domain struct { pulumi.CustomResourceState AccessPolicies pulumi.AnyOutput `pulumi:"accessPolicies"` - AdvancedOptions pulumi.AnyOutput `pulumi:"advancedOptions"` + AdvancedOptions pulumi.StringMapOutput `pulumi:"advancedOptions"` AdvancedSecurityOptions DomainAdvancedSecurityOptionsInputPtrOutput `pulumi:"advancedSecurityOptions"` Arn pulumi.StringOutput `pulumi:"arn"` ClusterConfig DomainClusterConfigPtrOutput `pulumi:"clusterConfig"` @@ -25,13 +25,13 @@ type Domain struct { DomainEndpoint pulumi.StringOutput `pulumi:"domainEndpoint"` DomainEndpointOptions DomainEndpointOptionsPtrOutput `pulumi:"domainEndpointOptions"` DomainEndpointV2 pulumi.StringOutput `pulumi:"domainEndpointV2"` - DomainEndpoints pulumi.AnyOutput `pulumi:"domainEndpoints"` + DomainEndpoints pulumi.StringMapOutput `pulumi:"domainEndpoints"` DomainName pulumi.StringPtrOutput `pulumi:"domainName"` EbsOptions DomainEbsOptionsPtrOutput `pulumi:"ebsOptions"` EncryptionAtRestOptions DomainEncryptionAtRestOptionsPtrOutput `pulumi:"encryptionAtRestOptions"` EngineVersion pulumi.StringPtrOutput `pulumi:"engineVersion"` IpAddressType pulumi.StringPtrOutput `pulumi:"ipAddressType"` - LogPublishingOptions pulumi.AnyOutput `pulumi:"logPublishingOptions"` + LogPublishingOptions DomainLogPublishingOptionMapOutput `pulumi:"logPublishingOptions"` NodeToNodeEncryptionOptions DomainNodeToNodeEncryptionOptionsPtrOutput `pulumi:"nodeToNodeEncryptionOptions"` OffPeakWindowOptions DomainOffPeakWindowOptionsPtrOutput `pulumi:"offPeakWindowOptions"` ServiceSoftwareOptions DomainServiceSoftwareOptionsOutput `pulumi:"serviceSoftwareOptions"` @@ -86,22 +86,22 @@ func (DomainState) ElementType() reflect.Type { } type domainArgs struct { - AccessPolicies interface{} `pulumi:"accessPolicies"` - AdvancedOptions interface{} `pulumi:"advancedOptions"` - AdvancedSecurityOptions *DomainAdvancedSecurityOptionsInput `pulumi:"advancedSecurityOptions"` - ClusterConfig *DomainClusterConfig `pulumi:"clusterConfig"` - CognitoOptions *DomainCognitoOptions `pulumi:"cognitoOptions"` - DomainEndpointOptions *DomainEndpointOptions `pulumi:"domainEndpointOptions"` - DomainName *string `pulumi:"domainName"` - EbsOptions *DomainEbsOptions `pulumi:"ebsOptions"` - EncryptionAtRestOptions *DomainEncryptionAtRestOptions `pulumi:"encryptionAtRestOptions"` - EngineVersion *string `pulumi:"engineVersion"` - IpAddressType *string `pulumi:"ipAddressType"` - LogPublishingOptions interface{} `pulumi:"logPublishingOptions"` - NodeToNodeEncryptionOptions *DomainNodeToNodeEncryptionOptions `pulumi:"nodeToNodeEncryptionOptions"` - OffPeakWindowOptions *DomainOffPeakWindowOptions `pulumi:"offPeakWindowOptions"` - SnapshotOptions *DomainSnapshotOptions `pulumi:"snapshotOptions"` - SoftwareUpdateOptions *DomainSoftwareUpdateOptions `pulumi:"softwareUpdateOptions"` + AccessPolicies interface{} `pulumi:"accessPolicies"` + AdvancedOptions map[string]string `pulumi:"advancedOptions"` + AdvancedSecurityOptions *DomainAdvancedSecurityOptionsInput `pulumi:"advancedSecurityOptions"` + ClusterConfig *DomainClusterConfig `pulumi:"clusterConfig"` + CognitoOptions *DomainCognitoOptions `pulumi:"cognitoOptions"` + DomainEndpointOptions *DomainEndpointOptions `pulumi:"domainEndpointOptions"` + DomainName *string `pulumi:"domainName"` + EbsOptions *DomainEbsOptions `pulumi:"ebsOptions"` + EncryptionAtRestOptions *DomainEncryptionAtRestOptions `pulumi:"encryptionAtRestOptions"` + EngineVersion *string `pulumi:"engineVersion"` + IpAddressType *string `pulumi:"ipAddressType"` + LogPublishingOptions map[string]DomainLogPublishingOption `pulumi:"logPublishingOptions"` + NodeToNodeEncryptionOptions *DomainNodeToNodeEncryptionOptions `pulumi:"nodeToNodeEncryptionOptions"` + OffPeakWindowOptions *DomainOffPeakWindowOptions `pulumi:"offPeakWindowOptions"` + SnapshotOptions *DomainSnapshotOptions `pulumi:"snapshotOptions"` + SoftwareUpdateOptions *DomainSoftwareUpdateOptions `pulumi:"softwareUpdateOptions"` // An arbitrary set of tags (key-value pairs) for this Domain. Tags []DomainTag `pulumi:"tags"` VpcOptions *DomainVpcOptions `pulumi:"vpcOptions"` @@ -110,7 +110,7 @@ type domainArgs struct { // The set of arguments for constructing a Domain resource. type DomainArgs struct { AccessPolicies pulumi.Input - AdvancedOptions pulumi.Input + AdvancedOptions pulumi.StringMapInput AdvancedSecurityOptions DomainAdvancedSecurityOptionsInputPtrInput ClusterConfig DomainClusterConfigPtrInput CognitoOptions DomainCognitoOptionsPtrInput @@ -120,7 +120,7 @@ type DomainArgs struct { EncryptionAtRestOptions DomainEncryptionAtRestOptionsPtrInput EngineVersion pulumi.StringPtrInput IpAddressType pulumi.StringPtrInput - LogPublishingOptions pulumi.Input + LogPublishingOptions DomainLogPublishingOptionMapInput NodeToNodeEncryptionOptions DomainNodeToNodeEncryptionOptionsPtrInput OffPeakWindowOptions DomainOffPeakWindowOptionsPtrInput SnapshotOptions DomainSnapshotOptionsPtrInput @@ -171,8 +171,8 @@ func (o DomainOutput) AccessPolicies() pulumi.AnyOutput { return o.ApplyT(func(v *Domain) pulumi.AnyOutput { return v.AccessPolicies }).(pulumi.AnyOutput) } -func (o DomainOutput) AdvancedOptions() pulumi.AnyOutput { - return o.ApplyT(func(v *Domain) pulumi.AnyOutput { return v.AdvancedOptions }).(pulumi.AnyOutput) +func (o DomainOutput) AdvancedOptions() pulumi.StringMapOutput { + return o.ApplyT(func(v *Domain) pulumi.StringMapOutput { return v.AdvancedOptions }).(pulumi.StringMapOutput) } func (o DomainOutput) AdvancedSecurityOptions() DomainAdvancedSecurityOptionsInputPtrOutput { @@ -207,8 +207,8 @@ func (o DomainOutput) DomainEndpointV2() pulumi.StringOutput { return o.ApplyT(func(v *Domain) pulumi.StringOutput { return v.DomainEndpointV2 }).(pulumi.StringOutput) } -func (o DomainOutput) DomainEndpoints() pulumi.AnyOutput { - return o.ApplyT(func(v *Domain) pulumi.AnyOutput { return v.DomainEndpoints }).(pulumi.AnyOutput) +func (o DomainOutput) DomainEndpoints() pulumi.StringMapOutput { + return o.ApplyT(func(v *Domain) pulumi.StringMapOutput { return v.DomainEndpoints }).(pulumi.StringMapOutput) } func (o DomainOutput) DomainName() pulumi.StringPtrOutput { @@ -231,8 +231,8 @@ func (o DomainOutput) IpAddressType() pulumi.StringPtrOutput { return o.ApplyT(func(v *Domain) pulumi.StringPtrOutput { return v.IpAddressType }).(pulumi.StringPtrOutput) } -func (o DomainOutput) LogPublishingOptions() pulumi.AnyOutput { - return o.ApplyT(func(v *Domain) pulumi.AnyOutput { return v.LogPublishingOptions }).(pulumi.AnyOutput) +func (o DomainOutput) LogPublishingOptions() DomainLogPublishingOptionMapOutput { + return o.ApplyT(func(v *Domain) DomainLogPublishingOptionMapOutput { return v.LogPublishingOptions }).(DomainLogPublishingOptionMapOutput) } func (o DomainOutput) NodeToNodeEncryptionOptions() DomainNodeToNodeEncryptionOptionsPtrOutput { diff --git a/sdk/go/aws/opensearchservice/getDomain.go b/sdk/go/aws/opensearchservice/getDomain.go index d32e5671be..8496deda6a 100644 --- a/sdk/go/aws/opensearchservice/getDomain.go +++ b/sdk/go/aws/opensearchservice/getDomain.go @@ -27,28 +27,28 @@ type LookupDomainArgs struct { } type LookupDomainResult struct { - AccessPolicies interface{} `pulumi:"accessPolicies"` - AdvancedOptions interface{} `pulumi:"advancedOptions"` - AdvancedSecurityOptions *DomainAdvancedSecurityOptionsInput `pulumi:"advancedSecurityOptions"` - Arn *string `pulumi:"arn"` - ClusterConfig *DomainClusterConfig `pulumi:"clusterConfig"` - CognitoOptions *DomainCognitoOptions `pulumi:"cognitoOptions"` - DomainArn *string `pulumi:"domainArn"` - DomainEndpoint *string `pulumi:"domainEndpoint"` - DomainEndpointOptions *DomainEndpointOptions `pulumi:"domainEndpointOptions"` - DomainEndpointV2 *string `pulumi:"domainEndpointV2"` - DomainEndpoints interface{} `pulumi:"domainEndpoints"` - EbsOptions *DomainEbsOptions `pulumi:"ebsOptions"` - EncryptionAtRestOptions *DomainEncryptionAtRestOptions `pulumi:"encryptionAtRestOptions"` - EngineVersion *string `pulumi:"engineVersion"` - Id *string `pulumi:"id"` - IpAddressType *string `pulumi:"ipAddressType"` - LogPublishingOptions interface{} `pulumi:"logPublishingOptions"` - NodeToNodeEncryptionOptions *DomainNodeToNodeEncryptionOptions `pulumi:"nodeToNodeEncryptionOptions"` - OffPeakWindowOptions *DomainOffPeakWindowOptions `pulumi:"offPeakWindowOptions"` - ServiceSoftwareOptions *DomainServiceSoftwareOptions `pulumi:"serviceSoftwareOptions"` - SnapshotOptions *DomainSnapshotOptions `pulumi:"snapshotOptions"` - SoftwareUpdateOptions *DomainSoftwareUpdateOptions `pulumi:"softwareUpdateOptions"` + AccessPolicies interface{} `pulumi:"accessPolicies"` + AdvancedOptions map[string]string `pulumi:"advancedOptions"` + AdvancedSecurityOptions *DomainAdvancedSecurityOptionsInput `pulumi:"advancedSecurityOptions"` + Arn *string `pulumi:"arn"` + ClusterConfig *DomainClusterConfig `pulumi:"clusterConfig"` + CognitoOptions *DomainCognitoOptions `pulumi:"cognitoOptions"` + DomainArn *string `pulumi:"domainArn"` + DomainEndpoint *string `pulumi:"domainEndpoint"` + DomainEndpointOptions *DomainEndpointOptions `pulumi:"domainEndpointOptions"` + DomainEndpointV2 *string `pulumi:"domainEndpointV2"` + DomainEndpoints map[string]string `pulumi:"domainEndpoints"` + EbsOptions *DomainEbsOptions `pulumi:"ebsOptions"` + EncryptionAtRestOptions *DomainEncryptionAtRestOptions `pulumi:"encryptionAtRestOptions"` + EngineVersion *string `pulumi:"engineVersion"` + Id *string `pulumi:"id"` + IpAddressType *string `pulumi:"ipAddressType"` + LogPublishingOptions map[string]DomainLogPublishingOption `pulumi:"logPublishingOptions"` + NodeToNodeEncryptionOptions *DomainNodeToNodeEncryptionOptions `pulumi:"nodeToNodeEncryptionOptions"` + OffPeakWindowOptions *DomainOffPeakWindowOptions `pulumi:"offPeakWindowOptions"` + ServiceSoftwareOptions *DomainServiceSoftwareOptions `pulumi:"serviceSoftwareOptions"` + SnapshotOptions *DomainSnapshotOptions `pulumi:"snapshotOptions"` + SoftwareUpdateOptions *DomainSoftwareUpdateOptions `pulumi:"softwareUpdateOptions"` // An arbitrary set of tags (key-value pairs) for this Domain. Tags []DomainTag `pulumi:"tags"` VpcOptions *DomainVpcOptions `pulumi:"vpcOptions"` @@ -93,8 +93,8 @@ func (o LookupDomainResultOutput) AccessPolicies() pulumi.AnyOutput { return o.ApplyT(func(v LookupDomainResult) interface{} { return v.AccessPolicies }).(pulumi.AnyOutput) } -func (o LookupDomainResultOutput) AdvancedOptions() pulumi.AnyOutput { - return o.ApplyT(func(v LookupDomainResult) interface{} { return v.AdvancedOptions }).(pulumi.AnyOutput) +func (o LookupDomainResultOutput) AdvancedOptions() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDomainResult) map[string]string { return v.AdvancedOptions }).(pulumi.StringMapOutput) } func (o LookupDomainResultOutput) AdvancedSecurityOptions() DomainAdvancedSecurityOptionsInputPtrOutput { @@ -129,8 +129,8 @@ func (o LookupDomainResultOutput) DomainEndpointV2() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupDomainResult) *string { return v.DomainEndpointV2 }).(pulumi.StringPtrOutput) } -func (o LookupDomainResultOutput) DomainEndpoints() pulumi.AnyOutput { - return o.ApplyT(func(v LookupDomainResult) interface{} { return v.DomainEndpoints }).(pulumi.AnyOutput) +func (o LookupDomainResultOutput) DomainEndpoints() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDomainResult) map[string]string { return v.DomainEndpoints }).(pulumi.StringMapOutput) } func (o LookupDomainResultOutput) EbsOptions() DomainEbsOptionsPtrOutput { @@ -153,8 +153,8 @@ func (o LookupDomainResultOutput) IpAddressType() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupDomainResult) *string { return v.IpAddressType }).(pulumi.StringPtrOutput) } -func (o LookupDomainResultOutput) LogPublishingOptions() pulumi.AnyOutput { - return o.ApplyT(func(v LookupDomainResult) interface{} { return v.LogPublishingOptions }).(pulumi.AnyOutput) +func (o LookupDomainResultOutput) LogPublishingOptions() DomainLogPublishingOptionMapOutput { + return o.ApplyT(func(v LookupDomainResult) map[string]DomainLogPublishingOption { return v.LogPublishingOptions }).(DomainLogPublishingOptionMapOutput) } func (o LookupDomainResultOutput) NodeToNodeEncryptionOptions() DomainNodeToNodeEncryptionOptionsPtrOutput { diff --git a/sdk/go/aws/opensearchservice/pulumiTypes.go b/sdk/go/aws/opensearchservice/pulumiTypes.go index c4291d09bd..195f551ca0 100644 --- a/sdk/go/aws/opensearchservice/pulumiTypes.go +++ b/sdk/go/aws/opensearchservice/pulumiTypes.go @@ -1512,6 +1512,106 @@ func (o DomainIdpPtrOutput) MetadataContent() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +type DomainLogPublishingOption struct { + CloudWatchLogsLogGroupArn *string `pulumi:"cloudWatchLogsLogGroupArn"` + Enabled *bool `pulumi:"enabled"` +} + +// DomainLogPublishingOptionInput is an input type that accepts DomainLogPublishingOptionArgs and DomainLogPublishingOptionOutput values. +// You can construct a concrete instance of `DomainLogPublishingOptionInput` via: +// +// DomainLogPublishingOptionArgs{...} +type DomainLogPublishingOptionInput interface { + pulumi.Input + + ToDomainLogPublishingOptionOutput() DomainLogPublishingOptionOutput + ToDomainLogPublishingOptionOutputWithContext(context.Context) DomainLogPublishingOptionOutput +} + +type DomainLogPublishingOptionArgs struct { + CloudWatchLogsLogGroupArn pulumi.StringPtrInput `pulumi:"cloudWatchLogsLogGroupArn"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +} + +func (DomainLogPublishingOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DomainLogPublishingOption)(nil)).Elem() +} + +func (i DomainLogPublishingOptionArgs) ToDomainLogPublishingOptionOutput() DomainLogPublishingOptionOutput { + return i.ToDomainLogPublishingOptionOutputWithContext(context.Background()) +} + +func (i DomainLogPublishingOptionArgs) ToDomainLogPublishingOptionOutputWithContext(ctx context.Context) DomainLogPublishingOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainLogPublishingOptionOutput) +} + +// DomainLogPublishingOptionMapInput is an input type that accepts DomainLogPublishingOptionMap and DomainLogPublishingOptionMapOutput values. +// You can construct a concrete instance of `DomainLogPublishingOptionMapInput` via: +// +// DomainLogPublishingOptionMap{ "key": DomainLogPublishingOptionArgs{...} } +type DomainLogPublishingOptionMapInput interface { + pulumi.Input + + ToDomainLogPublishingOptionMapOutput() DomainLogPublishingOptionMapOutput + ToDomainLogPublishingOptionMapOutputWithContext(context.Context) DomainLogPublishingOptionMapOutput +} + +type DomainLogPublishingOptionMap map[string]DomainLogPublishingOptionInput + +func (DomainLogPublishingOptionMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]DomainLogPublishingOption)(nil)).Elem() +} + +func (i DomainLogPublishingOptionMap) ToDomainLogPublishingOptionMapOutput() DomainLogPublishingOptionMapOutput { + return i.ToDomainLogPublishingOptionMapOutputWithContext(context.Background()) +} + +func (i DomainLogPublishingOptionMap) ToDomainLogPublishingOptionMapOutputWithContext(ctx context.Context) DomainLogPublishingOptionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainLogPublishingOptionMapOutput) +} + +type DomainLogPublishingOptionOutput struct{ *pulumi.OutputState } + +func (DomainLogPublishingOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DomainLogPublishingOption)(nil)).Elem() +} + +func (o DomainLogPublishingOptionOutput) ToDomainLogPublishingOptionOutput() DomainLogPublishingOptionOutput { + return o +} + +func (o DomainLogPublishingOptionOutput) ToDomainLogPublishingOptionOutputWithContext(ctx context.Context) DomainLogPublishingOptionOutput { + return o +} + +func (o DomainLogPublishingOptionOutput) CloudWatchLogsLogGroupArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v DomainLogPublishingOption) *string { return v.CloudWatchLogsLogGroupArn }).(pulumi.StringPtrOutput) +} + +func (o DomainLogPublishingOptionOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DomainLogPublishingOption) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +type DomainLogPublishingOptionMapOutput struct{ *pulumi.OutputState } + +func (DomainLogPublishingOptionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]DomainLogPublishingOption)(nil)).Elem() +} + +func (o DomainLogPublishingOptionMapOutput) ToDomainLogPublishingOptionMapOutput() DomainLogPublishingOptionMapOutput { + return o +} + +func (o DomainLogPublishingOptionMapOutput) ToDomainLogPublishingOptionMapOutputWithContext(ctx context.Context) DomainLogPublishingOptionMapOutput { + return o +} + +func (o DomainLogPublishingOptionMapOutput) MapIndex(k pulumi.StringInput) DomainLogPublishingOptionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) DomainLogPublishingOption { + return vs[0].(map[string]DomainLogPublishingOption)[vs[1].(string)] + }).(DomainLogPublishingOptionOutput) +} + type DomainMasterUserOptions struct { MasterUserArn *string `pulumi:"masterUserArn"` MasterUserName *string `pulumi:"masterUserName"` @@ -3283,6 +3383,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DomainEndpointOptionsPtrInput)(nil)).Elem(), DomainEndpointOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DomainIdpInput)(nil)).Elem(), DomainIdpArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DomainIdpPtrInput)(nil)).Elem(), DomainIdpArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainLogPublishingOptionInput)(nil)).Elem(), DomainLogPublishingOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainLogPublishingOptionMapInput)(nil)).Elem(), DomainLogPublishingOptionMap{}) pulumi.RegisterInputType(reflect.TypeOf((*DomainMasterUserOptionsInput)(nil)).Elem(), DomainMasterUserOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DomainMasterUserOptionsPtrInput)(nil)).Elem(), DomainMasterUserOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DomainNodeToNodeEncryptionOptionsInput)(nil)).Elem(), DomainNodeToNodeEncryptionOptionsArgs{}) @@ -3321,6 +3423,8 @@ func init() { pulumi.RegisterOutputType(DomainEndpointOptionsPtrOutput{}) pulumi.RegisterOutputType(DomainIdpOutput{}) pulumi.RegisterOutputType(DomainIdpPtrOutput{}) + pulumi.RegisterOutputType(DomainLogPublishingOptionOutput{}) + pulumi.RegisterOutputType(DomainLogPublishingOptionMapOutput{}) pulumi.RegisterOutputType(DomainMasterUserOptionsOutput{}) pulumi.RegisterOutputType(DomainMasterUserOptionsPtrOutput{}) pulumi.RegisterOutputType(DomainNodeToNodeEncryptionOptionsOutput{}) diff --git a/sdk/go/aws/personalize/pulumiTypes.go b/sdk/go/aws/personalize/pulumiTypes.go index 5ad2f200f0..4dee317fb9 100644 --- a/sdk/go/aws/personalize/pulumiTypes.go +++ b/sdk/go/aws/personalize/pulumiTypes.go @@ -481,13 +481,13 @@ func (o SolutionCategoricalHyperParameterRangeArrayOutput) Index(i pulumi.IntInp // The configuration to use with the solution. When performAutoML is set to true, Amazon Personalize only evaluates the autoMLConfig section of the solution configuration. type SolutionConfig struct { // Lists the hyperparameter names and ranges. - AlgorithmHyperParameters interface{} `pulumi:"algorithmHyperParameters"` + AlgorithmHyperParameters map[string]string `pulumi:"algorithmHyperParameters"` // The AutoMLConfig object containing a list of recipes to search when AutoML is performed. AutoMlConfig *SolutionConfigAutoMlConfigProperties `pulumi:"autoMlConfig"` // Only events with a value greater than or equal to this threshold are used for training a model. EventValueThreshold *string `pulumi:"eventValueThreshold"` // Lists the feature transformation parameters. - FeatureTransformationParameters interface{} `pulumi:"featureTransformationParameters"` + FeatureTransformationParameters map[string]string `pulumi:"featureTransformationParameters"` // Describes the properties for hyperparameter optimization (HPO) HpoConfig *SolutionConfigHpoConfigProperties `pulumi:"hpoConfig"` } @@ -506,13 +506,13 @@ type SolutionConfigInput interface { // The configuration to use with the solution. When performAutoML is set to true, Amazon Personalize only evaluates the autoMLConfig section of the solution configuration. type SolutionConfigArgs struct { // Lists the hyperparameter names and ranges. - AlgorithmHyperParameters pulumi.Input `pulumi:"algorithmHyperParameters"` + AlgorithmHyperParameters pulumi.StringMapInput `pulumi:"algorithmHyperParameters"` // The AutoMLConfig object containing a list of recipes to search when AutoML is performed. AutoMlConfig SolutionConfigAutoMlConfigPropertiesPtrInput `pulumi:"autoMlConfig"` // Only events with a value greater than or equal to this threshold are used for training a model. EventValueThreshold pulumi.StringPtrInput `pulumi:"eventValueThreshold"` // Lists the feature transformation parameters. - FeatureTransformationParameters pulumi.Input `pulumi:"featureTransformationParameters"` + FeatureTransformationParameters pulumi.StringMapInput `pulumi:"featureTransformationParameters"` // Describes the properties for hyperparameter optimization (HPO) HpoConfig SolutionConfigHpoConfigPropertiesPtrInput `pulumi:"hpoConfig"` } @@ -596,8 +596,8 @@ func (o SolutionConfigOutput) ToSolutionConfigPtrOutputWithContext(ctx context.C } // Lists the hyperparameter names and ranges. -func (o SolutionConfigOutput) AlgorithmHyperParameters() pulumi.AnyOutput { - return o.ApplyT(func(v SolutionConfig) interface{} { return v.AlgorithmHyperParameters }).(pulumi.AnyOutput) +func (o SolutionConfigOutput) AlgorithmHyperParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v SolutionConfig) map[string]string { return v.AlgorithmHyperParameters }).(pulumi.StringMapOutput) } // The AutoMLConfig object containing a list of recipes to search when AutoML is performed. @@ -611,8 +611,8 @@ func (o SolutionConfigOutput) EventValueThreshold() pulumi.StringPtrOutput { } // Lists the feature transformation parameters. -func (o SolutionConfigOutput) FeatureTransformationParameters() pulumi.AnyOutput { - return o.ApplyT(func(v SolutionConfig) interface{} { return v.FeatureTransformationParameters }).(pulumi.AnyOutput) +func (o SolutionConfigOutput) FeatureTransformationParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v SolutionConfig) map[string]string { return v.FeatureTransformationParameters }).(pulumi.StringMapOutput) } // Describes the properties for hyperparameter optimization (HPO) @@ -645,13 +645,13 @@ func (o SolutionConfigPtrOutput) Elem() SolutionConfigOutput { } // Lists the hyperparameter names and ranges. -func (o SolutionConfigPtrOutput) AlgorithmHyperParameters() pulumi.AnyOutput { - return o.ApplyT(func(v *SolutionConfig) interface{} { +func (o SolutionConfigPtrOutput) AlgorithmHyperParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *SolutionConfig) map[string]string { if v == nil { return nil } return v.AlgorithmHyperParameters - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // The AutoMLConfig object containing a list of recipes to search when AutoML is performed. @@ -675,13 +675,13 @@ func (o SolutionConfigPtrOutput) EventValueThreshold() pulumi.StringPtrOutput { } // Lists the feature transformation parameters. -func (o SolutionConfigPtrOutput) FeatureTransformationParameters() pulumi.AnyOutput { - return o.ApplyT(func(v *SolutionConfig) interface{} { +func (o SolutionConfigPtrOutput) FeatureTransformationParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *SolutionConfig) map[string]string { if v == nil { return nil } return v.FeatureTransformationParameters - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // Describes the properties for hyperparameter optimization (HPO) diff --git a/sdk/go/aws/sagemaker/pulumiTypes.go b/sdk/go/aws/sagemaker/pulumiTypes.go index 202bcae282..74dd5b6723 100644 --- a/sdk/go/aws/sagemaker/pulumiTypes.go +++ b/sdk/go/aws/sagemaker/pulumiTypes.go @@ -18186,7 +18186,7 @@ type ModelCardAdditionalInformation struct { // Caveats and recommendations for people who might use this model in their applications. CaveatsAndRecommendations *string `pulumi:"caveatsAndRecommendations"` // customer details. - CustomDetails interface{} `pulumi:"customDetails"` + CustomDetails map[string]string `pulumi:"customDetails"` // Any ethical considerations that the author wants to provide. EthicalConsiderations *string `pulumi:"ethicalConsiderations"` } @@ -18206,7 +18206,7 @@ type ModelCardAdditionalInformationArgs struct { // Caveats and recommendations for people who might use this model in their applications. CaveatsAndRecommendations pulumi.StringPtrInput `pulumi:"caveatsAndRecommendations"` // customer details. - CustomDetails pulumi.Input `pulumi:"customDetails"` + CustomDetails pulumi.StringMapInput `pulumi:"customDetails"` // Any ethical considerations that the author wants to provide. EthicalConsiderations pulumi.StringPtrInput `pulumi:"ethicalConsiderations"` } @@ -18294,8 +18294,8 @@ func (o ModelCardAdditionalInformationOutput) CaveatsAndRecommendations() pulumi } // customer details. -func (o ModelCardAdditionalInformationOutput) CustomDetails() pulumi.AnyOutput { - return o.ApplyT(func(v ModelCardAdditionalInformation) interface{} { return v.CustomDetails }).(pulumi.AnyOutput) +func (o ModelCardAdditionalInformationOutput) CustomDetails() pulumi.StringMapOutput { + return o.ApplyT(func(v ModelCardAdditionalInformation) map[string]string { return v.CustomDetails }).(pulumi.StringMapOutput) } // Any ethical considerations that the author wants to provide. @@ -18338,13 +18338,13 @@ func (o ModelCardAdditionalInformationPtrOutput) CaveatsAndRecommendations() pul } // customer details. -func (o ModelCardAdditionalInformationPtrOutput) CustomDetails() pulumi.AnyOutput { - return o.ApplyT(func(v *ModelCardAdditionalInformation) interface{} { +func (o ModelCardAdditionalInformationPtrOutput) CustomDetails() pulumi.StringMapOutput { + return o.ApplyT(func(v *ModelCardAdditionalInformation) map[string]string { if v == nil { return nil } return v.CustomDetails - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // Any ethical considerations that the author wants to provide. @@ -18910,7 +18910,7 @@ type ModelCardEvaluationDetail struct { EvaluationJobArn *string `pulumi:"evaluationJobArn"` EvaluationObservation *string `pulumi:"evaluationObservation"` // additional attributes associated with the evaluation results. - Metadata interface{} `pulumi:"metadata"` + Metadata map[string]string `pulumi:"metadata"` MetricGroups []ModelCardMetricGroup `pulumi:"metricGroups"` Name string `pulumi:"name"` } @@ -18932,7 +18932,7 @@ type ModelCardEvaluationDetailArgs struct { EvaluationJobArn pulumi.StringPtrInput `pulumi:"evaluationJobArn"` EvaluationObservation pulumi.StringPtrInput `pulumi:"evaluationObservation"` // additional attributes associated with the evaluation results. - Metadata pulumi.Input `pulumi:"metadata"` + Metadata pulumi.StringMapInput `pulumi:"metadata"` MetricGroups ModelCardMetricGroupArrayInput `pulumi:"metricGroups"` Name pulumi.StringInput `pulumi:"name"` } @@ -19002,8 +19002,8 @@ func (o ModelCardEvaluationDetailOutput) EvaluationObservation() pulumi.StringPt } // additional attributes associated with the evaluation results. -func (o ModelCardEvaluationDetailOutput) Metadata() pulumi.AnyOutput { - return o.ApplyT(func(v ModelCardEvaluationDetail) interface{} { return v.Metadata }).(pulumi.AnyOutput) +func (o ModelCardEvaluationDetailOutput) Metadata() pulumi.StringMapOutput { + return o.ApplyT(func(v ModelCardEvaluationDetail) map[string]string { return v.Metadata }).(pulumi.StringMapOutput) } func (o ModelCardEvaluationDetailOutput) MetricGroups() ModelCardMetricGroupArrayOutput { diff --git a/sdk/go/aws/servicecatalog/cloudFormationProvisionedProduct.go b/sdk/go/aws/servicecatalog/cloudFormationProvisionedProduct.go index 2e13f0c43e..dbe04515b5 100644 --- a/sdk/go/aws/servicecatalog/cloudFormationProvisionedProduct.go +++ b/sdk/go/aws/servicecatalog/cloudFormationProvisionedProduct.go @@ -19,7 +19,7 @@ type CloudFormationProvisionedProduct struct { CloudformationStackArn pulumi.StringOutput `pulumi:"cloudformationStackArn"` NotificationArns pulumi.StringArrayOutput `pulumi:"notificationArns"` // List of key-value pair outputs. - Outputs pulumi.AnyOutput `pulumi:"outputs"` + Outputs pulumi.StringMapOutput `pulumi:"outputs"` PathId pulumi.StringPtrOutput `pulumi:"pathId"` PathName pulumi.StringPtrOutput `pulumi:"pathName"` ProductId pulumi.StringPtrOutput `pulumi:"productId"` @@ -161,8 +161,8 @@ func (o CloudFormationProvisionedProductOutput) NotificationArns() pulumi.String } // List of key-value pair outputs. -func (o CloudFormationProvisionedProductOutput) Outputs() pulumi.AnyOutput { - return o.ApplyT(func(v *CloudFormationProvisionedProduct) pulumi.AnyOutput { return v.Outputs }).(pulumi.AnyOutput) +func (o CloudFormationProvisionedProductOutput) Outputs() pulumi.StringMapOutput { + return o.ApplyT(func(v *CloudFormationProvisionedProduct) pulumi.StringMapOutput { return v.Outputs }).(pulumi.StringMapOutput) } func (o CloudFormationProvisionedProductOutput) PathId() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/servicecatalog/getCloudFormationProvisionedProduct.go b/sdk/go/aws/servicecatalog/getCloudFormationProvisionedProduct.go index 688172a014..4c5d585482 100644 --- a/sdk/go/aws/servicecatalog/getCloudFormationProvisionedProduct.go +++ b/sdk/go/aws/servicecatalog/getCloudFormationProvisionedProduct.go @@ -30,7 +30,7 @@ type LookupCloudFormationProvisionedProductResult struct { AcceptLanguage *CloudFormationProvisionedProductAcceptLanguage `pulumi:"acceptLanguage"` CloudformationStackArn *string `pulumi:"cloudformationStackArn"` // List of key-value pair outputs. - Outputs interface{} `pulumi:"outputs"` + Outputs map[string]string `pulumi:"outputs"` PathId *string `pulumi:"pathId"` PathName *string `pulumi:"pathName"` ProductId *string `pulumi:"productId"` @@ -90,8 +90,8 @@ func (o LookupCloudFormationProvisionedProductResultOutput) CloudformationStackA } // List of key-value pair outputs. -func (o LookupCloudFormationProvisionedProductResultOutput) Outputs() pulumi.AnyOutput { - return o.ApplyT(func(v LookupCloudFormationProvisionedProductResult) interface{} { return v.Outputs }).(pulumi.AnyOutput) +func (o LookupCloudFormationProvisionedProductResultOutput) Outputs() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupCloudFormationProvisionedProductResult) map[string]string { return v.Outputs }).(pulumi.StringMapOutput) } func (o LookupCloudFormationProvisionedProductResultOutput) PathId() pulumi.StringPtrOutput { diff --git a/sdk/go/aws/ssm/parameter.go b/sdk/go/aws/ssm/parameter.go index 538ec958e9..c7691da13a 100644 --- a/sdk/go/aws/ssm/parameter.go +++ b/sdk/go/aws/ssm/parameter.go @@ -33,7 +33,7 @@ type Parameter struct { // [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*. Policies pulumi.StringPtrOutput `pulumi:"policies"` // Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. - Tags pulumi.AnyOutput `pulumi:"tags"` + Tags pulumi.StringMapOutput `pulumi:"tags"` // The parameter tier. Tier ParameterTierPtrOutput `pulumi:"tier"` // The type of parameter. @@ -107,7 +107,7 @@ type parameterArgs struct { // [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*. Policies *string `pulumi:"policies"` // Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. - Tags interface{} `pulumi:"tags"` + Tags map[string]string `pulumi:"tags"` // The parameter tier. Tier *ParameterTier `pulumi:"tier"` // The type of parameter. @@ -133,7 +133,7 @@ type ParameterArgs struct { // [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*. Policies pulumi.StringPtrInput // Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. - Tags pulumi.Input + Tags pulumi.StringMapInput // The parameter tier. Tier ParameterTierPtrInput // The type of parameter. @@ -211,8 +211,8 @@ func (o ParameterOutput) Policies() pulumi.StringPtrOutput { } // Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. -func (o ParameterOutput) Tags() pulumi.AnyOutput { - return o.ApplyT(func(v *Parameter) pulumi.AnyOutput { return v.Tags }).(pulumi.AnyOutput) +func (o ParameterOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *Parameter) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } // The parameter tier. diff --git a/sdk/go/aws/synthetics/pulumiTypes.go b/sdk/go/aws/synthetics/pulumiTypes.go index 2667cd3800..a6646ebed1 100644 --- a/sdk/go/aws/synthetics/pulumiTypes.go +++ b/sdk/go/aws/synthetics/pulumiTypes.go @@ -417,7 +417,7 @@ type CanaryRunConfig struct { // Enable active tracing if set to true ActiveTracing *bool `pulumi:"activeTracing"` // Environment variable key-value pairs. - EnvironmentVariables interface{} `pulumi:"environmentVariables"` + EnvironmentVariables map[string]string `pulumi:"environmentVariables"` // Provide maximum memory available for canary in MB MemoryInMb *int `pulumi:"memoryInMb"` // Provide maximum canary timeout per run in seconds @@ -439,7 +439,7 @@ type CanaryRunConfigArgs struct { // Enable active tracing if set to true ActiveTracing pulumi.BoolPtrInput `pulumi:"activeTracing"` // Environment variable key-value pairs. - EnvironmentVariables pulumi.Input `pulumi:"environmentVariables"` + EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` // Provide maximum memory available for canary in MB MemoryInMb pulumi.IntPtrInput `pulumi:"memoryInMb"` // Provide maximum canary timeout per run in seconds @@ -529,8 +529,8 @@ func (o CanaryRunConfigOutput) ActiveTracing() pulumi.BoolPtrOutput { } // Environment variable key-value pairs. -func (o CanaryRunConfigOutput) EnvironmentVariables() pulumi.AnyOutput { - return o.ApplyT(func(v CanaryRunConfig) interface{} { return v.EnvironmentVariables }).(pulumi.AnyOutput) +func (o CanaryRunConfigOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v CanaryRunConfig) map[string]string { return v.EnvironmentVariables }).(pulumi.StringMapOutput) } // Provide maximum memory available for canary in MB @@ -578,13 +578,13 @@ func (o CanaryRunConfigPtrOutput) ActiveTracing() pulumi.BoolPtrOutput { } // Environment variable key-value pairs. -func (o CanaryRunConfigPtrOutput) EnvironmentVariables() pulumi.AnyOutput { - return o.ApplyT(func(v *CanaryRunConfig) interface{} { +func (o CanaryRunConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput { + return o.ApplyT(func(v *CanaryRunConfig) map[string]string { if v == nil { return nil } return v.EnvironmentVariables - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // Provide maximum memory available for canary in MB diff --git a/sdk/go/aws/xray/pulumiTypes.go b/sdk/go/aws/xray/pulumiTypes.go index 34195e443d..d9bbeb5844 100644 --- a/sdk/go/aws/xray/pulumiTypes.go +++ b/sdk/go/aws/xray/pulumiTypes.go @@ -277,7 +277,7 @@ func (o GroupTagArrayOutput) Index(i pulumi.IntInput) GroupTagOutput { type SamplingRuleType struct { // Matches attributes derived from the request. - Attributes interface{} `pulumi:"attributes"` + Attributes map[string]string `pulumi:"attributes"` // The percentage of matching requests to instrument, after the reservoir is exhausted. FixedRate float64 `pulumi:"fixedRate"` // Matches the hostname from a request URL. @@ -315,7 +315,7 @@ type SamplingRuleTypeInput interface { type SamplingRuleTypeArgs struct { // Matches attributes derived from the request. - Attributes pulumi.Input `pulumi:"attributes"` + Attributes pulumi.StringMapInput `pulumi:"attributes"` // The percentage of matching requests to instrument, after the reservoir is exhausted. FixedRate pulumi.Float64Input `pulumi:"fixedRate"` // Matches the hostname from a request URL. @@ -418,8 +418,8 @@ func (o SamplingRuleTypeOutput) ToSamplingRuleTypePtrOutputWithContext(ctx conte } // Matches attributes derived from the request. -func (o SamplingRuleTypeOutput) Attributes() pulumi.AnyOutput { - return o.ApplyT(func(v SamplingRuleType) interface{} { return v.Attributes }).(pulumi.AnyOutput) +func (o SamplingRuleTypeOutput) Attributes() pulumi.StringMapOutput { + return o.ApplyT(func(v SamplingRuleType) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) } // The percentage of matching requests to instrument, after the reservoir is exhausted. @@ -505,13 +505,13 @@ func (o SamplingRuleTypePtrOutput) Elem() SamplingRuleTypeOutput { } // Matches attributes derived from the request. -func (o SamplingRuleTypePtrOutput) Attributes() pulumi.AnyOutput { - return o.ApplyT(func(v *SamplingRuleType) interface{} { +func (o SamplingRuleTypePtrOutput) Attributes() pulumi.StringMapOutput { + return o.ApplyT(func(v *SamplingRuleType) map[string]string { if v == nil { return nil } return v.Attributes - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // The percentage of matching requests to instrument, after the reservoir is exhausted. @@ -911,7 +911,7 @@ func (o SamplingRuleTagArrayOutput) Index(i pulumi.IntInput) SamplingRuleTagOutp type SamplingRuleUpdate struct { // Matches attributes derived from the request. - Attributes interface{} `pulumi:"attributes"` + Attributes map[string]string `pulumi:"attributes"` // The percentage of matching requests to instrument, after the reservoir is exhausted. FixedRate *float64 `pulumi:"fixedRate"` // Matches the hostname from a request URL. @@ -947,7 +947,7 @@ type SamplingRuleUpdateInput interface { type SamplingRuleUpdateArgs struct { // Matches attributes derived from the request. - Attributes pulumi.Input `pulumi:"attributes"` + Attributes pulumi.StringMapInput `pulumi:"attributes"` // The percentage of matching requests to instrument, after the reservoir is exhausted. FixedRate pulumi.Float64PtrInput `pulumi:"fixedRate"` // Matches the hostname from a request URL. @@ -1048,8 +1048,8 @@ func (o SamplingRuleUpdateOutput) ToSamplingRuleUpdatePtrOutputWithContext(ctx c } // Matches attributes derived from the request. -func (o SamplingRuleUpdateOutput) Attributes() pulumi.AnyOutput { - return o.ApplyT(func(v SamplingRuleUpdate) interface{} { return v.Attributes }).(pulumi.AnyOutput) +func (o SamplingRuleUpdateOutput) Attributes() pulumi.StringMapOutput { + return o.ApplyT(func(v SamplingRuleUpdate) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) } // The percentage of matching requests to instrument, after the reservoir is exhausted. @@ -1130,13 +1130,13 @@ func (o SamplingRuleUpdatePtrOutput) Elem() SamplingRuleUpdateOutput { } // Matches attributes derived from the request. -func (o SamplingRuleUpdatePtrOutput) Attributes() pulumi.AnyOutput { - return o.ApplyT(func(v *SamplingRuleUpdate) interface{} { +func (o SamplingRuleUpdatePtrOutput) Attributes() pulumi.StringMapOutput { + return o.ApplyT(func(v *SamplingRuleUpdate) map[string]string { if v == nil { return nil } return v.Attributes - }).(pulumi.AnyOutput) + }).(pulumi.StringMapOutput) } // The percentage of matching requests to instrument, after the reservoir is exhausted. diff --git a/sdk/nodejs/apigateway/gatewayResponse.ts b/sdk/nodejs/apigateway/gatewayResponse.ts index fc93e4031c..0e3bae2ff8 100644 --- a/sdk/nodejs/apigateway/gatewayResponse.ts +++ b/sdk/nodejs/apigateway/gatewayResponse.ts @@ -40,11 +40,11 @@ export class GatewayResponse extends pulumi.CustomResource { /** * Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. */ - public readonly responseParameters!: pulumi.Output; + public readonly responseParameters!: pulumi.Output<{[key: string]: string} | undefined>; /** * Response templates of the GatewayResponse as a string-to-string map of key-value pairs. */ - public readonly responseTemplates!: pulumi.Output; + public readonly responseTemplates!: pulumi.Output<{[key: string]: string} | undefined>; /** * The response type of the associated GatewayResponse. */ @@ -103,11 +103,11 @@ export interface GatewayResponseArgs { /** * Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. */ - responseParameters?: any; + responseParameters?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Response templates of the GatewayResponse as a string-to-string map of key-value pairs. */ - responseTemplates?: any; + responseTemplates?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The response type of the associated GatewayResponse. */ diff --git a/sdk/nodejs/apigateway/getGatewayResponse.ts b/sdk/nodejs/apigateway/getGatewayResponse.ts index e4ee1953ab..1913c91eee 100644 --- a/sdk/nodejs/apigateway/getGatewayResponse.ts +++ b/sdk/nodejs/apigateway/getGatewayResponse.ts @@ -24,11 +24,11 @@ export interface GetGatewayResponseResult { /** * Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. */ - readonly responseParameters?: any; + readonly responseParameters?: {[key: string]: string}; /** * Response templates of the GatewayResponse as a string-to-string map of key-value pairs. */ - readonly responseTemplates?: any; + readonly responseTemplates?: {[key: string]: string}; /** * The HTTP status code for this GatewayResponse. */ diff --git a/sdk/nodejs/apigateway/getMethod.ts b/sdk/nodejs/apigateway/getMethod.ts index 217bdfe079..ca373fe7f1 100644 --- a/sdk/nodejs/apigateway/getMethod.ts +++ b/sdk/nodejs/apigateway/getMethod.ts @@ -68,11 +68,11 @@ export interface GetMethodResult { /** * A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). */ - readonly requestModels?: any; + readonly requestModels?: {[key: string]: string}; /** * A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. */ - readonly requestParameters?: any; + readonly requestParameters?: {[key: string]: boolean}; /** * The identifier of a RequestValidator for request validation. */ diff --git a/sdk/nodejs/apigateway/getStage.ts b/sdk/nodejs/apigateway/getStage.ts index fc0e1faf41..2051f49b00 100644 --- a/sdk/nodejs/apigateway/getStage.ts +++ b/sdk/nodejs/apigateway/getStage.ts @@ -78,7 +78,7 @@ export interface GetStageResult { /** * A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. */ - readonly variables?: any; + readonly variables?: {[key: string]: string}; } /** * The ``AWS::ApiGateway::Stage`` resource creates a stage for a deployment. diff --git a/sdk/nodejs/apigateway/method.ts b/sdk/nodejs/apigateway/method.ts index a22f43f492..74d72278b1 100644 --- a/sdk/nodejs/apigateway/method.ts +++ b/sdk/nodejs/apigateway/method.ts @@ -73,11 +73,11 @@ export class Method extends pulumi.CustomResource { /** * A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). */ - public readonly requestModels!: pulumi.Output; + public readonly requestModels!: pulumi.Output<{[key: string]: string} | undefined>; /** * A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. */ - public readonly requestParameters!: pulumi.Output; + public readonly requestParameters!: pulumi.Output<{[key: string]: boolean} | undefined>; /** * The identifier of a RequestValidator for request validation. */ @@ -186,11 +186,11 @@ export interface MethodArgs { /** * A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). */ - requestModels?: any; + requestModels?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. */ - requestParameters?: any; + requestParameters?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The identifier of a RequestValidator for request validation. */ diff --git a/sdk/nodejs/apigateway/restApi.ts b/sdk/nodejs/apigateway/restApi.ts index 0df3cd7c55..904bf1c6c2 100644 --- a/sdk/nodejs/apigateway/restApi.ts +++ b/sdk/nodejs/apigateway/restApi.ts @@ -94,7 +94,7 @@ export class RestApi extends pulumi.CustomResource { /** * Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. */ - public readonly parameters!: pulumi.Output; + public readonly parameters!: pulumi.Output<{[key: string]: string} | undefined>; /** * A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``. */ @@ -218,7 +218,7 @@ export interface RestApiArgs { /** * Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. */ - parameters?: any; + parameters?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``. */ diff --git a/sdk/nodejs/apigateway/stage.ts b/sdk/nodejs/apigateway/stage.ts index 36b6ae6d90..bda8316b45 100644 --- a/sdk/nodejs/apigateway/stage.ts +++ b/sdk/nodejs/apigateway/stage.ts @@ -92,7 +92,7 @@ export class Stage extends pulumi.CustomResource { /** * A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. */ - public readonly variables!: pulumi.Output; + public readonly variables!: pulumi.Output<{[key: string]: string} | undefined>; /** * Create a Stage resource with the given unique name, arguments, and options. @@ -204,5 +204,5 @@ export interface StageArgs { /** * A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. */ - variables?: any; + variables?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/apigatewayv2/api.ts b/sdk/nodejs/apigatewayv2/api.ts index 888fbe38a0..abd55bc544 100644 --- a/sdk/nodejs/apigatewayv2/api.ts +++ b/sdk/nodejs/apigatewayv2/api.ts @@ -98,7 +98,7 @@ export class Api extends pulumi.CustomResource { /** * The collection of tags. Each tag element is associated with a given resource. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs. */ @@ -229,7 +229,7 @@ export interface ApiArgs { /** * The collection of tags. Each tag element is associated with a given resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs. */ diff --git a/sdk/nodejs/apigatewayv2/domainName.ts b/sdk/nodejs/apigatewayv2/domainName.ts index fbbef577fa..2eaf17ec29 100644 --- a/sdk/nodejs/apigatewayv2/domainName.ts +++ b/sdk/nodejs/apigatewayv2/domainName.ts @@ -55,7 +55,7 @@ export class DomainName extends pulumi.CustomResource { /** * The collection of tags associated with a domain name. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * Create a DomainName resource with the given unique name, arguments, and options. @@ -111,5 +111,5 @@ export interface DomainNameArgs { /** * The collection of tags associated with a domain name. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/apigatewayv2/getApi.ts b/sdk/nodejs/apigatewayv2/getApi.ts index dbd01dfefd..139f3c3093 100644 --- a/sdk/nodejs/apigatewayv2/getApi.ts +++ b/sdk/nodejs/apigatewayv2/getApi.ts @@ -52,7 +52,7 @@ export interface GetApiResult { /** * The collection of tags. Each tag element is associated with a given resource. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; /** * A version identifier for the API. */ diff --git a/sdk/nodejs/apigatewayv2/getDomainName.ts b/sdk/nodejs/apigatewayv2/getDomainName.ts index bf2808f0b4..0fdf2a0a59 100644 --- a/sdk/nodejs/apigatewayv2/getDomainName.ts +++ b/sdk/nodejs/apigatewayv2/getDomainName.ts @@ -40,7 +40,7 @@ export interface GetDomainNameResult { /** * The collection of tags associated with a domain name. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; } /** * The ``AWS::ApiGatewayV2::DomainName`` resource specifies a custom domain name for your API in Amazon API Gateway (API Gateway). diff --git a/sdk/nodejs/apigatewayv2/getVpcLink.ts b/sdk/nodejs/apigatewayv2/getVpcLink.ts index e2266b67d6..7402119c2f 100644 --- a/sdk/nodejs/apigatewayv2/getVpcLink.ts +++ b/sdk/nodejs/apigatewayv2/getVpcLink.ts @@ -24,7 +24,7 @@ export interface GetVpcLinkResult { /** * This resource type use map for Tags, suggest to use List of Tag */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; readonly vpcLinkId?: string; } /** diff --git a/sdk/nodejs/apigatewayv2/vpcLink.ts b/sdk/nodejs/apigatewayv2/vpcLink.ts index 5058eed271..dc1228c00b 100644 --- a/sdk/nodejs/apigatewayv2/vpcLink.ts +++ b/sdk/nodejs/apigatewayv2/vpcLink.ts @@ -40,7 +40,7 @@ export class VpcLink extends pulumi.CustomResource { /** * This resource type use map for Tags, suggest to use List of Tag */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; public /*out*/ readonly vpcLinkId!: pulumi.Output; /** @@ -86,5 +86,5 @@ export interface VpcLinkArgs { /** * This resource type use map for Tags, suggest to use List of Tag */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/appconfig/extension.ts b/sdk/nodejs/appconfig/extension.ts index 515ed6ee88..aead487bbd 100644 --- a/sdk/nodejs/appconfig/extension.ts +++ b/sdk/nodejs/appconfig/extension.ts @@ -37,7 +37,7 @@ export class Extension extends pulumi.CustomResource { return obj['__pulumiType'] === Extension.__pulumiType; } - public readonly actions!: pulumi.Output; + public readonly actions!: pulumi.Output<{[key: string]: outputs.appconfig.ExtensionAction[]}>; public /*out*/ readonly arn!: pulumi.Output; /** * Description of the extension. @@ -48,7 +48,7 @@ export class Extension extends pulumi.CustomResource { * Name of the extension. */ public readonly name!: pulumi.Output; - public readonly parameters!: pulumi.Output; + public readonly parameters!: pulumi.Output<{[key: string]: outputs.appconfig.ExtensionParameter} | undefined>; /** * An array of key-value tags to apply to this resource. */ @@ -98,7 +98,7 @@ export class Extension extends pulumi.CustomResource { * The set of arguments for constructing a Extension resource. */ export interface ExtensionArgs { - actions: any; + actions: pulumi.Input<{[key: string]: pulumi.Input[]>}>; /** * Description of the extension. */ @@ -108,7 +108,7 @@ export interface ExtensionArgs { * Name of the extension. */ name?: pulumi.Input; - parameters?: any; + parameters?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * An array of key-value tags to apply to this resource. */ diff --git a/sdk/nodejs/appconfig/extensionAssociation.ts b/sdk/nodejs/appconfig/extensionAssociation.ts index 8c50236f40..d372fc200c 100644 --- a/sdk/nodejs/appconfig/extensionAssociation.ts +++ b/sdk/nodejs/appconfig/extensionAssociation.ts @@ -41,7 +41,7 @@ export class ExtensionAssociation extends pulumi.CustomResource { public /*out*/ readonly extensionArn!: pulumi.Output; public readonly extensionIdentifier!: pulumi.Output; public readonly extensionVersionNumber!: pulumi.Output; - public readonly parameters!: pulumi.Output; + public readonly parameters!: pulumi.Output<{[key: string]: string} | undefined>; public /*out*/ readonly resourceArn!: pulumi.Output; public readonly resourceIdentifier!: pulumi.Output; /** @@ -91,7 +91,7 @@ export class ExtensionAssociation extends pulumi.CustomResource { export interface ExtensionAssociationArgs { extensionIdentifier?: pulumi.Input; extensionVersionNumber?: pulumi.Input; - parameters?: any; + parameters?: pulumi.Input<{[key: string]: pulumi.Input}>; resourceIdentifier?: pulumi.Input; /** * An array of key-value pairs to apply to this resource. diff --git a/sdk/nodejs/appconfig/getExtension.ts b/sdk/nodejs/appconfig/getExtension.ts index de78122238..df415078ca 100644 --- a/sdk/nodejs/appconfig/getExtension.ts +++ b/sdk/nodejs/appconfig/getExtension.ts @@ -2,6 +2,9 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; import * as utilities from "../utilities"; /** @@ -20,14 +23,14 @@ export interface GetExtensionArgs { } export interface GetExtensionResult { - readonly actions?: any; + readonly actions?: {[key: string]: outputs.appconfig.ExtensionAction[]}; readonly arn?: string; /** * Description of the extension. */ readonly description?: string; readonly id?: string; - readonly parameters?: any; + readonly parameters?: {[key: string]: outputs.appconfig.ExtensionParameter}; readonly versionNumber?: number; } /** diff --git a/sdk/nodejs/appconfig/getExtensionAssociation.ts b/sdk/nodejs/appconfig/getExtensionAssociation.ts index c0b7c1aabc..a1339c761e 100644 --- a/sdk/nodejs/appconfig/getExtensionAssociation.ts +++ b/sdk/nodejs/appconfig/getExtensionAssociation.ts @@ -23,7 +23,7 @@ export interface GetExtensionAssociationResult { readonly arn?: string; readonly extensionArn?: string; readonly id?: string; - readonly parameters?: any; + readonly parameters?: {[key: string]: string}; readonly resourceArn?: string; } /** diff --git a/sdk/nodejs/athena/dataCatalog.ts b/sdk/nodejs/athena/dataCatalog.ts index ac9cb398df..15cda7e9d2 100644 --- a/sdk/nodejs/athena/dataCatalog.ts +++ b/sdk/nodejs/athena/dataCatalog.ts @@ -48,7 +48,7 @@ export class DataCatalog extends pulumi.CustomResource { /** * Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. */ - public readonly parameters!: pulumi.Output; + public readonly parameters!: pulumi.Output<{[key: string]: string} | undefined>; /** * A list of comma separated tags to add to the data catalog that is created. */ @@ -106,7 +106,7 @@ export interface DataCatalogArgs { /** * Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. */ - parameters?: any; + parameters?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A list of comma separated tags to add to the data catalog that is created. */ diff --git a/sdk/nodejs/athena/getDataCatalog.ts b/sdk/nodejs/athena/getDataCatalog.ts index 1f58cf6f1a..0e76ab4fc0 100644 --- a/sdk/nodejs/athena/getDataCatalog.ts +++ b/sdk/nodejs/athena/getDataCatalog.ts @@ -33,7 +33,7 @@ export interface GetDataCatalogResult { /** * Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. */ - readonly parameters?: any; + readonly parameters?: {[key: string]: string}; /** * A list of comma separated tags to add to the data catalog that is created. */ diff --git a/sdk/nodejs/backup/backupPlan.ts b/sdk/nodejs/backup/backupPlan.ts index d4330a8172..23ec78e11b 100644 --- a/sdk/nodejs/backup/backupPlan.ts +++ b/sdk/nodejs/backup/backupPlan.ts @@ -40,7 +40,7 @@ export class BackupPlan extends pulumi.CustomResource { public readonly backupPlan!: pulumi.Output; public /*out*/ readonly backupPlanArn!: pulumi.Output; public /*out*/ readonly backupPlanId!: pulumi.Output; - public readonly backupPlanTags!: pulumi.Output; + public readonly backupPlanTags!: pulumi.Output<{[key: string]: string} | undefined>; public /*out*/ readonly versionId!: pulumi.Output; /** @@ -79,5 +79,5 @@ export class BackupPlan extends pulumi.CustomResource { */ export interface BackupPlanArgs { backupPlan: pulumi.Input; - backupPlanTags?: any; + backupPlanTags?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/backup/backupVault.ts b/sdk/nodejs/backup/backupVault.ts index ed850a964e..8fc07ca3b5 100644 --- a/sdk/nodejs/backup/backupVault.ts +++ b/sdk/nodejs/backup/backupVault.ts @@ -40,7 +40,7 @@ export class BackupVault extends pulumi.CustomResource { public readonly accessPolicy!: pulumi.Output; public /*out*/ readonly backupVaultArn!: pulumi.Output; public readonly backupVaultName!: pulumi.Output; - public readonly backupVaultTags!: pulumi.Output; + public readonly backupVaultTags!: pulumi.Output<{[key: string]: string} | undefined>; public readonly encryptionKeyArn!: pulumi.Output; public readonly lockConfiguration!: pulumi.Output; public readonly notifications!: pulumi.Output; @@ -85,7 +85,7 @@ export class BackupVault extends pulumi.CustomResource { export interface BackupVaultArgs { accessPolicy?: any; backupVaultName?: pulumi.Input; - backupVaultTags?: any; + backupVaultTags?: pulumi.Input<{[key: string]: pulumi.Input}>; encryptionKeyArn?: pulumi.Input; lockConfiguration?: pulumi.Input; notifications?: pulumi.Input; diff --git a/sdk/nodejs/backup/getBackupPlan.ts b/sdk/nodejs/backup/getBackupPlan.ts index b5afde73ea..a0e138c5a2 100644 --- a/sdk/nodejs/backup/getBackupPlan.ts +++ b/sdk/nodejs/backup/getBackupPlan.ts @@ -26,7 +26,7 @@ export interface GetBackupPlanResult { readonly backupPlan?: outputs.backup.BackupPlanResourceType; readonly backupPlanArn?: string; readonly backupPlanId?: string; - readonly backupPlanTags?: any; + readonly backupPlanTags?: {[key: string]: string}; readonly versionId?: string; } /** diff --git a/sdk/nodejs/backup/getBackupVault.ts b/sdk/nodejs/backup/getBackupVault.ts index 0195c373ef..963745ddb2 100644 --- a/sdk/nodejs/backup/getBackupVault.ts +++ b/sdk/nodejs/backup/getBackupVault.ts @@ -25,7 +25,7 @@ export interface GetBackupVaultArgs { export interface GetBackupVaultResult { readonly accessPolicy?: any; readonly backupVaultArn?: string; - readonly backupVaultTags?: any; + readonly backupVaultTags?: {[key: string]: string}; readonly lockConfiguration?: outputs.backup.BackupVaultLockConfigurationType; readonly notifications?: outputs.backup.BackupVaultNotificationObjectType; } diff --git a/sdk/nodejs/batch/computeEnvironment.ts b/sdk/nodejs/batch/computeEnvironment.ts index 5c680789ac..3e5d9c8739 100644 --- a/sdk/nodejs/batch/computeEnvironment.ts +++ b/sdk/nodejs/batch/computeEnvironment.ts @@ -47,7 +47,7 @@ export class ComputeEnvironment extends pulumi.CustomResource { /** * A key-value pair to associate with a resource. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; public readonly type!: pulumi.Output; public readonly unmanagedvCpus!: pulumi.Output; public readonly updatePolicy!: pulumi.Output; @@ -91,7 +91,7 @@ export class ComputeEnvironment extends pulumi.CustomResource { resourceInputs["updatePolicy"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["computeEnvironmentName", "computeResources.spotIamFleetRole", "eksConfiguration", "tags", "type"] }; + const replaceOnChanges = { replaceOnChanges: ["computeEnvironmentName", "computeResources.spotIamFleetRole", "eksConfiguration", "tags.*", "type"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(ComputeEnvironment.__pulumiType, name, resourceInputs, opts); } @@ -110,7 +110,7 @@ export interface ComputeEnvironmentArgs { /** * A key-value pair to associate with a resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; type: pulumi.Input; unmanagedvCpus?: pulumi.Input; updatePolicy?: pulumi.Input; diff --git a/sdk/nodejs/batch/jobQueue.ts b/sdk/nodejs/batch/jobQueue.ts index a306a478ce..4e8c696caa 100644 --- a/sdk/nodejs/batch/jobQueue.ts +++ b/sdk/nodejs/batch/jobQueue.ts @@ -46,7 +46,7 @@ export class JobQueue extends pulumi.CustomResource { /** * A key-value pair to associate with a resource. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * Create a JobQueue resource with the given unique name, arguments, and options. @@ -82,7 +82,7 @@ export class JobQueue extends pulumi.CustomResource { resourceInputs["tags"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["jobQueueName", "tags"] }; + const replaceOnChanges = { replaceOnChanges: ["jobQueueName", "tags.*"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(JobQueue.__pulumiType, name, resourceInputs, opts); } @@ -100,5 +100,5 @@ export interface JobQueueArgs { /** * A key-value pair to associate with a resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/batch/schedulingPolicy.ts b/sdk/nodejs/batch/schedulingPolicy.ts index 40a4f2ebe6..6a04b1ea45 100644 --- a/sdk/nodejs/batch/schedulingPolicy.ts +++ b/sdk/nodejs/batch/schedulingPolicy.ts @@ -46,7 +46,7 @@ export class SchedulingPolicy extends pulumi.CustomResource { /** * A key-value pair to associate with a resource. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * Create a SchedulingPolicy resource with the given unique name, arguments, and options. @@ -70,7 +70,7 @@ export class SchedulingPolicy extends pulumi.CustomResource { resourceInputs["tags"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["name", "tags"] }; + const replaceOnChanges = { replaceOnChanges: ["name", "tags.*"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(SchedulingPolicy.__pulumiType, name, resourceInputs, opts); } @@ -88,5 +88,5 @@ export interface SchedulingPolicyArgs { /** * A key-value pair to associate with a resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/cloudformation/getStack.ts b/sdk/nodejs/cloudformation/getStack.ts index 52d2feba41..081e998423 100644 --- a/sdk/nodejs/cloudformation/getStack.ts +++ b/sdk/nodejs/cloudformation/getStack.ts @@ -32,7 +32,7 @@ export interface GetStackResult { readonly lastUpdateTime?: string; readonly notificationArns?: string[]; readonly outputs?: outputs.cloudformation.StackOutput[]; - readonly parameters?: any; + readonly parameters?: {[key: string]: string}; readonly parentId?: string; readonly roleArn?: string; readonly rootId?: string; diff --git a/sdk/nodejs/cloudformation/stack.ts b/sdk/nodejs/cloudformation/stack.ts index bdbe55fabe..c2904f3ce9 100644 --- a/sdk/nodejs/cloudformation/stack.ts +++ b/sdk/nodejs/cloudformation/stack.ts @@ -46,7 +46,7 @@ export class Stack extends pulumi.CustomResource { public /*out*/ readonly lastUpdateTime!: pulumi.Output; public readonly notificationArns!: pulumi.Output; public /*out*/ readonly outputs!: pulumi.Output; - public readonly parameters!: pulumi.Output; + public readonly parameters!: pulumi.Output<{[key: string]: string} | undefined>; public /*out*/ readonly parentId!: pulumi.Output; public readonly roleArn!: pulumi.Output; public /*out*/ readonly rootId!: pulumi.Output; @@ -136,7 +136,7 @@ export interface StackArgs { disableRollback?: pulumi.Input; enableTerminationProtection?: pulumi.Input; notificationArns?: pulumi.Input[]>; - parameters?: any; + parameters?: pulumi.Input<{[key: string]: pulumi.Input}>; roleArn?: pulumi.Input; stackName?: pulumi.Input; stackPolicyBody?: any; diff --git a/sdk/nodejs/codestarnotifications/getNotificationRule.ts b/sdk/nodejs/codestarnotifications/getNotificationRule.ts index d49ab6ada8..43deb935c5 100644 --- a/sdk/nodejs/codestarnotifications/getNotificationRule.ts +++ b/sdk/nodejs/codestarnotifications/getNotificationRule.ts @@ -29,7 +29,7 @@ export interface GetNotificationRuleResult { readonly eventTypeIds?: string[]; readonly name?: string; readonly status?: enums.codestarnotifications.NotificationRuleStatus; - readonly tags?: any; + readonly tags?: {[key: string]: string}; readonly targets?: outputs.codestarnotifications.NotificationRuleTarget[]; } /** diff --git a/sdk/nodejs/codestarnotifications/notificationRule.ts b/sdk/nodejs/codestarnotifications/notificationRule.ts index 92a561f1bf..36d52865db 100644 --- a/sdk/nodejs/codestarnotifications/notificationRule.ts +++ b/sdk/nodejs/codestarnotifications/notificationRule.ts @@ -45,7 +45,7 @@ export class NotificationRule extends pulumi.CustomResource { public readonly name!: pulumi.Output; public readonly resource!: pulumi.Output; public readonly status!: pulumi.Output; - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; public readonly targetAddress!: pulumi.Output; public readonly targets!: pulumi.Output; @@ -114,7 +114,7 @@ export interface NotificationRuleArgs { name?: pulumi.Input; resource: pulumi.Input; status?: pulumi.Input; - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; targetAddress?: pulumi.Input; targets: pulumi.Input[]>; } diff --git a/sdk/nodejs/cognito/getIdentityPoolRoleAttachment.ts b/sdk/nodejs/cognito/getIdentityPoolRoleAttachment.ts index 9be5f303b4..85ca1c4603 100644 --- a/sdk/nodejs/cognito/getIdentityPoolRoleAttachment.ts +++ b/sdk/nodejs/cognito/getIdentityPoolRoleAttachment.ts @@ -2,6 +2,9 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; import * as utilities from "../utilities"; /** @@ -21,8 +24,8 @@ export interface GetIdentityPoolRoleAttachmentArgs { export interface GetIdentityPoolRoleAttachmentResult { readonly id?: string; - readonly roleMappings?: any; - readonly roles?: any; + readonly roleMappings?: {[key: string]: outputs.cognito.IdentityPoolRoleAttachmentRoleMapping}; + readonly roles?: {[key: string]: string}; } /** * Resource Type definition for AWS::Cognito::IdentityPoolRoleAttachment diff --git a/sdk/nodejs/cognito/getUserPool.ts b/sdk/nodejs/cognito/getUserPool.ts index efcd191c6e..5cc28e0731 100644 --- a/sdk/nodejs/cognito/getUserPool.ts +++ b/sdk/nodejs/cognito/getUserPool.ts @@ -46,7 +46,7 @@ export interface GetUserPoolResult { readonly userPoolAddOns?: outputs.cognito.UserPoolAddOns; readonly userPoolId?: string; readonly userPoolName?: string; - readonly userPoolTags?: any; + readonly userPoolTags?: {[key: string]: string}; readonly usernameAttributes?: string[]; readonly usernameConfiguration?: outputs.cognito.UserPoolUsernameConfiguration; readonly verificationMessageTemplate?: outputs.cognito.UserPoolVerificationMessageTemplate; diff --git a/sdk/nodejs/cognito/identityPoolRoleAttachment.ts b/sdk/nodejs/cognito/identityPoolRoleAttachment.ts index d9de5bd2ec..586c0fc4bf 100644 --- a/sdk/nodejs/cognito/identityPoolRoleAttachment.ts +++ b/sdk/nodejs/cognito/identityPoolRoleAttachment.ts @@ -2,6 +2,9 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; import * as utilities from "../utilities"; /** @@ -35,8 +38,8 @@ export class IdentityPoolRoleAttachment extends pulumi.CustomResource { } public readonly identityPoolId!: pulumi.Output; - public readonly roleMappings!: pulumi.Output; - public readonly roles!: pulumi.Output; + public readonly roleMappings!: pulumi.Output<{[key: string]: outputs.cognito.IdentityPoolRoleAttachmentRoleMapping} | undefined>; + public readonly roles!: pulumi.Output<{[key: string]: string} | undefined>; /** * Create a IdentityPoolRoleAttachment resource with the given unique name, arguments, and options. @@ -72,6 +75,6 @@ export class IdentityPoolRoleAttachment extends pulumi.CustomResource { */ export interface IdentityPoolRoleAttachmentArgs { identityPoolId: pulumi.Input; - roleMappings?: any; - roles?: any; + roleMappings?: pulumi.Input<{[key: string]: pulumi.Input}>; + roles?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/cognito/userPool.ts b/sdk/nodejs/cognito/userPool.ts index c24cfa675a..abe9406ae2 100644 --- a/sdk/nodejs/cognito/userPool.ts +++ b/sdk/nodejs/cognito/userPool.ts @@ -61,7 +61,7 @@ export class UserPool extends pulumi.CustomResource { public readonly userPoolAddOns!: pulumi.Output; public /*out*/ readonly userPoolId!: pulumi.Output; public readonly userPoolName!: pulumi.Output; - public readonly userPoolTags!: pulumi.Output; + public readonly userPoolTags!: pulumi.Output<{[key: string]: string} | undefined>; public readonly usernameAttributes!: pulumi.Output; public readonly usernameConfiguration!: pulumi.Output; public readonly verificationMessageTemplate!: pulumi.Output; @@ -164,7 +164,7 @@ export interface UserPoolArgs { userAttributeUpdateSettings?: pulumi.Input; userPoolAddOns?: pulumi.Input; userPoolName?: pulumi.Input; - userPoolTags?: any; + userPoolTags?: pulumi.Input<{[key: string]: pulumi.Input}>; usernameAttributes?: pulumi.Input[]>; usernameConfiguration?: pulumi.Input; verificationMessageTemplate?: pulumi.Input; diff --git a/sdk/nodejs/cognito/userPoolUser.ts b/sdk/nodejs/cognito/userPoolUser.ts index 7dd2a56bda..6bab8c0359 100644 --- a/sdk/nodejs/cognito/userPoolUser.ts +++ b/sdk/nodejs/cognito/userPoolUser.ts @@ -37,7 +37,7 @@ export class UserPoolUser extends pulumi.CustomResource { return obj['__pulumiType'] === UserPoolUser.__pulumiType; } - public readonly clientMetadata!: pulumi.Output; + public readonly clientMetadata!: pulumi.Output<{[key: string]: string} | undefined>; public readonly desiredDeliveryMediums!: pulumi.Output; public readonly forceAliasCreation!: pulumi.Output; public readonly messageAction!: pulumi.Output; @@ -79,7 +79,7 @@ export class UserPoolUser extends pulumi.CustomResource { resourceInputs["validationData"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["clientMetadata", "desiredDeliveryMediums[*]", "forceAliasCreation", "messageAction", "userAttributes[*]", "userPoolId", "username", "validationData[*]"] }; + const replaceOnChanges = { replaceOnChanges: ["clientMetadata.*", "desiredDeliveryMediums[*]", "forceAliasCreation", "messageAction", "userAttributes[*]", "userPoolId", "username", "validationData[*]"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(UserPoolUser.__pulumiType, name, resourceInputs, opts); } @@ -89,7 +89,7 @@ export class UserPoolUser extends pulumi.CustomResource { * The set of arguments for constructing a UserPoolUser resource. */ export interface UserPoolUserArgs { - clientMetadata?: any; + clientMetadata?: pulumi.Input<{[key: string]: pulumi.Input}>; desiredDeliveryMediums?: pulumi.Input[]>; forceAliasCreation?: pulumi.Input; messageAction?: pulumi.Input; diff --git a/sdk/nodejs/eks/getNodegroup.ts b/sdk/nodejs/eks/getNodegroup.ts index 19b773bbac..f14ce0d151 100644 --- a/sdk/nodejs/eks/getNodegroup.ts +++ b/sdk/nodejs/eks/getNodegroup.ts @@ -28,7 +28,7 @@ export interface GetNodegroupResult { /** * The Kubernetes labels to be applied to the nodes in the node group when they are created. */ - readonly labels?: any; + readonly labels?: {[key: string]: string}; /** * An object representing a node group's launch template specification. */ @@ -44,7 +44,7 @@ export interface GetNodegroupResult { /** * The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; /** * The Kubernetes taints to be applied to the nodes in the node group when they are created. */ diff --git a/sdk/nodejs/eks/nodegroup.ts b/sdk/nodejs/eks/nodegroup.ts index 7712e642bb..85fb993b29 100644 --- a/sdk/nodejs/eks/nodegroup.ts +++ b/sdk/nodejs/eks/nodegroup.ts @@ -65,7 +65,7 @@ export class Nodegroup extends pulumi.CustomResource { /** * The Kubernetes labels to be applied to the nodes in the node group when they are created. */ - public readonly labels!: pulumi.Output; + public readonly labels!: pulumi.Output<{[key: string]: string} | undefined>; /** * An object representing a node group's launch template specification. */ @@ -97,7 +97,7 @@ export class Nodegroup extends pulumi.CustomResource { /** * The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The Kubernetes taints to be applied to the nodes in the node group when they are created. */ @@ -209,7 +209,7 @@ export interface NodegroupArgs { /** * The Kubernetes labels to be applied to the nodes in the node group when they are created. */ - labels?: any; + labels?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * An object representing a node group's launch template specification. */ @@ -241,7 +241,7 @@ export interface NodegroupArgs { /** * The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The Kubernetes taints to be applied to the nodes in the node group when they are created. */ diff --git a/sdk/nodejs/fis/experimentTemplate.ts b/sdk/nodejs/fis/experimentTemplate.ts index 99bc6a1ee9..d896160c61 100644 --- a/sdk/nodejs/fis/experimentTemplate.ts +++ b/sdk/nodejs/fis/experimentTemplate.ts @@ -43,7 +43,7 @@ export class ExperimentTemplate extends pulumi.CustomResource { public readonly logConfiguration!: pulumi.Output; public readonly roleArn!: pulumi.Output; public readonly stopConditions!: pulumi.Output; - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string}>; public readonly targets!: pulumi.Output; /** @@ -91,7 +91,7 @@ export class ExperimentTemplate extends pulumi.CustomResource { resourceInputs["targets"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["tags"] }; + const replaceOnChanges = { replaceOnChanges: ["tags.*"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(ExperimentTemplate.__pulumiType, name, resourceInputs, opts); } @@ -107,6 +107,6 @@ export interface ExperimentTemplateArgs { logConfiguration?: pulumi.Input; roleArn: pulumi.Input; stopConditions: pulumi.Input[]>; - tags: any; + tags: pulumi.Input<{[key: string]: pulumi.Input}>; targets: pulumi.Input; } diff --git a/sdk/nodejs/greengrassv2/deployment.ts b/sdk/nodejs/greengrassv2/deployment.ts index 288c779b84..8e920f6717 100644 --- a/sdk/nodejs/greengrassv2/deployment.ts +++ b/sdk/nodejs/greengrassv2/deployment.ts @@ -37,13 +37,13 @@ export class Deployment extends pulumi.CustomResource { return obj['__pulumiType'] === Deployment.__pulumiType; } - public readonly components!: pulumi.Output; + public readonly components!: pulumi.Output<{[key: string]: outputs.greengrassv2.DeploymentComponentDeploymentSpecification} | undefined>; public /*out*/ readonly deploymentId!: pulumi.Output; public readonly deploymentName!: pulumi.Output; public readonly deploymentPolicies!: pulumi.Output; public readonly iotJobConfiguration!: pulumi.Output; public readonly parentTargetArn!: pulumi.Output; - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; public readonly targetArn!: pulumi.Output; /** @@ -79,7 +79,7 @@ export class Deployment extends pulumi.CustomResource { resourceInputs["targetArn"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["components", "deploymentName", "deploymentPolicies", "iotJobConfiguration", "parentTargetArn", "targetArn"] }; + const replaceOnChanges = { replaceOnChanges: ["components.*", "deploymentName", "deploymentPolicies", "iotJobConfiguration", "parentTargetArn", "targetArn"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(Deployment.__pulumiType, name, resourceInputs, opts); } @@ -89,11 +89,11 @@ export class Deployment extends pulumi.CustomResource { * The set of arguments for constructing a Deployment resource. */ export interface DeploymentArgs { - components?: any; + components?: pulumi.Input<{[key: string]: pulumi.Input}>; deploymentName?: pulumi.Input; deploymentPolicies?: pulumi.Input; iotJobConfiguration?: pulumi.Input; parentTargetArn?: pulumi.Input; - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; targetArn: pulumi.Input; } diff --git a/sdk/nodejs/greengrassv2/getDeployment.ts b/sdk/nodejs/greengrassv2/getDeployment.ts index db45e8bcf0..a6fa2fe382 100644 --- a/sdk/nodejs/greengrassv2/getDeployment.ts +++ b/sdk/nodejs/greengrassv2/getDeployment.ts @@ -21,7 +21,7 @@ export interface GetDeploymentArgs { export interface GetDeploymentResult { readonly deploymentId?: string; - readonly tags?: any; + readonly tags?: {[key: string]: string}; } /** * Resource for Greengrass V2 deployment. diff --git a/sdk/nodejs/imagebuilder/component.ts b/sdk/nodejs/imagebuilder/component.ts index bdead44d97..bcf38e27f7 100644 --- a/sdk/nodejs/imagebuilder/component.ts +++ b/sdk/nodejs/imagebuilder/component.ts @@ -76,7 +76,7 @@ export class Component extends pulumi.CustomResource { /** * The tags associated with the component. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The type of the component denotes whether the component is used to build the image or only to test it. */ @@ -136,7 +136,7 @@ export class Component extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["changeDescription", "data", "description", "kmsKeyId", "name", "platform", "supportedOsVersions[*]", "tags", "uri", "version"] }; + const replaceOnChanges = { replaceOnChanges: ["changeDescription", "data", "description", "kmsKeyId", "name", "platform", "supportedOsVersions[*]", "tags.*", "uri", "version"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(Component.__pulumiType, name, resourceInputs, opts); } @@ -177,7 +177,7 @@ export interface ComponentArgs { /** * The tags associated with the component. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The uri of the component. */ diff --git a/sdk/nodejs/imagebuilder/containerRecipe.ts b/sdk/nodejs/imagebuilder/containerRecipe.ts index 7bb5b89ee1..3e9ec1d9ce 100644 --- a/sdk/nodejs/imagebuilder/containerRecipe.ts +++ b/sdk/nodejs/imagebuilder/containerRecipe.ts @@ -88,7 +88,7 @@ export class ContainerRecipe extends pulumi.CustomResource { /** * Tags that are attached to the container recipe. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The destination repository for the container image. */ @@ -148,7 +148,7 @@ export class ContainerRecipe extends pulumi.CustomResource { resourceInputs["workingDirectory"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["components[*]", "containerType", "description", "dockerfileTemplateData", "dockerfileTemplateUri", "imageOsVersionOverride", "instanceConfiguration", "kmsKeyId", "name", "parentImage", "platformOverride", "tags", "targetRepository", "version", "workingDirectory"] }; + const replaceOnChanges = { replaceOnChanges: ["components[*]", "containerType", "description", "dockerfileTemplateData", "dockerfileTemplateUri", "imageOsVersionOverride", "instanceConfiguration", "kmsKeyId", "name", "parentImage", "platformOverride", "tags.*", "targetRepository", "version", "workingDirectory"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(ContainerRecipe.__pulumiType, name, resourceInputs, opts); } @@ -205,7 +205,7 @@ export interface ContainerRecipeArgs { /** * Tags that are attached to the container recipe. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The destination repository for the container image. */ diff --git a/sdk/nodejs/imagebuilder/distributionConfiguration.ts b/sdk/nodejs/imagebuilder/distributionConfiguration.ts index 3f9dec5386..4a97c39229 100644 --- a/sdk/nodejs/imagebuilder/distributionConfiguration.ts +++ b/sdk/nodejs/imagebuilder/distributionConfiguration.ts @@ -56,7 +56,7 @@ export class DistributionConfiguration extends pulumi.CustomResource { /** * The tags associated with the component. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * Create a DistributionConfiguration resource with the given unique name, arguments, and options. @@ -110,5 +110,5 @@ export interface DistributionConfigurationArgs { /** * The tags associated with the component. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/imagebuilder/getDistributionConfiguration.ts b/sdk/nodejs/imagebuilder/getDistributionConfiguration.ts index 217108c3bc..f41671e833 100644 --- a/sdk/nodejs/imagebuilder/getDistributionConfiguration.ts +++ b/sdk/nodejs/imagebuilder/getDistributionConfiguration.ts @@ -41,7 +41,7 @@ export interface GetDistributionConfigurationResult { /** * The tags associated with the component. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; } /** * Resource schema for AWS::ImageBuilder::DistributionConfiguration diff --git a/sdk/nodejs/imagebuilder/getImagePipeline.ts b/sdk/nodejs/imagebuilder/getImagePipeline.ts index db31dd47f7..f3a270ffab 100644 --- a/sdk/nodejs/imagebuilder/getImagePipeline.ts +++ b/sdk/nodejs/imagebuilder/getImagePipeline.ts @@ -77,7 +77,7 @@ export interface GetImagePipelineResult { /** * The tags of this image pipeline. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; /** * Workflows to define the image build process */ diff --git a/sdk/nodejs/imagebuilder/getInfrastructureConfiguration.ts b/sdk/nodejs/imagebuilder/getInfrastructureConfiguration.ts index 2c74d8e291..694d309e3f 100644 --- a/sdk/nodejs/imagebuilder/getInfrastructureConfiguration.ts +++ b/sdk/nodejs/imagebuilder/getInfrastructureConfiguration.ts @@ -57,7 +57,7 @@ export interface GetInfrastructureConfigurationResult { /** * The tags attached to the resource created by Image Builder. */ - readonly resourceTags?: any; + readonly resourceTags?: {[key: string]: string}; /** * The security group IDs of the infrastructure configuration. */ @@ -73,7 +73,7 @@ export interface GetInfrastructureConfigurationResult { /** * The tags associated with the component. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; /** * The terminate instance on failure configuration of the infrastructure configuration. */ diff --git a/sdk/nodejs/imagebuilder/getLifecyclePolicy.ts b/sdk/nodejs/imagebuilder/getLifecyclePolicy.ts index 127efc03cd..549de2234b 100644 --- a/sdk/nodejs/imagebuilder/getLifecyclePolicy.ts +++ b/sdk/nodejs/imagebuilder/getLifecyclePolicy.ts @@ -57,7 +57,7 @@ export interface GetLifecyclePolicyResult { /** * The tags associated with the lifecycle policy. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; } /** * Resource schema for AWS::ImageBuilder::LifecyclePolicy diff --git a/sdk/nodejs/imagebuilder/image.ts b/sdk/nodejs/imagebuilder/image.ts index 35f9d18443..8a3dde44c1 100644 --- a/sdk/nodejs/imagebuilder/image.ts +++ b/sdk/nodejs/imagebuilder/image.ts @@ -88,7 +88,7 @@ export class Image extends pulumi.CustomResource { /** * The tags associated with the image. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * Workflows to define the image build process */ @@ -136,7 +136,7 @@ export class Image extends pulumi.CustomResource { resourceInputs["workflows"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["containerRecipeArn", "distributionConfigurationArn", "enhancedImageMetadataEnabled", "imageRecipeArn", "imageScanningConfiguration", "imageTestsConfiguration", "infrastructureConfigurationArn", "tags", "workflows[*]"] }; + const replaceOnChanges = { replaceOnChanges: ["containerRecipeArn", "distributionConfigurationArn", "enhancedImageMetadataEnabled", "imageRecipeArn", "imageScanningConfiguration", "imageTestsConfiguration", "infrastructureConfigurationArn", "tags.*", "workflows[*]"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(Image.__pulumiType, name, resourceInputs, opts); } @@ -181,7 +181,7 @@ export interface ImageArgs { /** * The tags associated with the image. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Workflows to define the image build process */ diff --git a/sdk/nodejs/imagebuilder/imagePipeline.ts b/sdk/nodejs/imagebuilder/imagePipeline.ts index 890062069d..4723d22848 100644 --- a/sdk/nodejs/imagebuilder/imagePipeline.ts +++ b/sdk/nodejs/imagebuilder/imagePipeline.ts @@ -92,7 +92,7 @@ export class ImagePipeline extends pulumi.CustomResource { /** * The tags of this image pipeline. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * Workflows to define the image build process */ @@ -203,7 +203,7 @@ export interface ImagePipelineArgs { /** * The tags of this image pipeline. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Workflows to define the image build process */ diff --git a/sdk/nodejs/imagebuilder/imageRecipe.ts b/sdk/nodejs/imagebuilder/imageRecipe.ts index 4994fad1e6..08ded00060 100644 --- a/sdk/nodejs/imagebuilder/imageRecipe.ts +++ b/sdk/nodejs/imagebuilder/imageRecipe.ts @@ -68,7 +68,7 @@ export class ImageRecipe extends pulumi.CustomResource { /** * The tags of the image recipe. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The version of the image recipe. */ @@ -121,7 +121,7 @@ export class ImageRecipe extends pulumi.CustomResource { resourceInputs["workingDirectory"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["blockDeviceMappings[*]", "components[*]", "description", "name", "parentImage", "tags", "version", "workingDirectory"] }; + const replaceOnChanges = { replaceOnChanges: ["blockDeviceMappings[*]", "components[*]", "description", "name", "parentImage", "tags.*", "version", "workingDirectory"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(ImageRecipe.__pulumiType, name, resourceInputs, opts); } @@ -158,7 +158,7 @@ export interface ImageRecipeArgs { /** * The tags of the image recipe. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The version of the image recipe. */ diff --git a/sdk/nodejs/imagebuilder/infrastructureConfiguration.ts b/sdk/nodejs/imagebuilder/infrastructureConfiguration.ts index e26587fd30..d5bea98b38 100644 --- a/sdk/nodejs/imagebuilder/infrastructureConfiguration.ts +++ b/sdk/nodejs/imagebuilder/infrastructureConfiguration.ts @@ -72,7 +72,7 @@ export class InfrastructureConfiguration extends pulumi.CustomResource { /** * The tags attached to the resource created by Image Builder. */ - public readonly resourceTags!: pulumi.Output; + public readonly resourceTags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The security group IDs of the infrastructure configuration. */ @@ -88,7 +88,7 @@ export class InfrastructureConfiguration extends pulumi.CustomResource { /** * The tags associated with the component. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The terminate instance on failure configuration of the infrastructure configuration. */ @@ -180,7 +180,7 @@ export interface InfrastructureConfigurationArgs { /** * The tags attached to the resource created by Image Builder. */ - resourceTags?: any; + resourceTags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The security group IDs of the infrastructure configuration. */ @@ -196,7 +196,7 @@ export interface InfrastructureConfigurationArgs { /** * The tags associated with the component. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The terminate instance on failure configuration of the infrastructure configuration. */ diff --git a/sdk/nodejs/imagebuilder/lifecyclePolicy.ts b/sdk/nodejs/imagebuilder/lifecyclePolicy.ts index fa8f47f8fa..0788465ce8 100644 --- a/sdk/nodejs/imagebuilder/lifecyclePolicy.ts +++ b/sdk/nodejs/imagebuilder/lifecyclePolicy.ts @@ -72,7 +72,7 @@ export class LifecyclePolicy extends pulumi.CustomResource { /** * The tags associated with the lifecycle policy. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * Create a LifecyclePolicy resource with the given unique name, arguments, and options. @@ -159,5 +159,5 @@ export interface LifecyclePolicyArgs { /** * The tags associated with the lifecycle policy. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/imagebuilder/workflow.ts b/sdk/nodejs/imagebuilder/workflow.ts index 2e2ee6ce69..cf8706ddef 100644 --- a/sdk/nodejs/imagebuilder/workflow.ts +++ b/sdk/nodejs/imagebuilder/workflow.ts @@ -64,7 +64,7 @@ export class Workflow extends pulumi.CustomResource { /** * The tags associated with the workflow. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The type of the workflow denotes whether the workflow is used to build, test, or distribute. */ @@ -118,7 +118,7 @@ export class Workflow extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["changeDescription", "data", "description", "kmsKeyId", "name", "tags", "type", "uri", "version"] }; + const replaceOnChanges = { replaceOnChanges: ["changeDescription", "data", "description", "kmsKeyId", "name", "tags.*", "type", "uri", "version"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(Workflow.__pulumiType, name, resourceInputs, opts); } @@ -151,7 +151,7 @@ export interface WorkflowArgs { /** * The tags associated with the workflow. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The type of the workflow denotes whether the workflow is used to build, test, or distribute. */ diff --git a/sdk/nodejs/iot/authorizer.ts b/sdk/nodejs/iot/authorizer.ts index a911a10465..3731c5fa59 100644 --- a/sdk/nodejs/iot/authorizer.ts +++ b/sdk/nodejs/iot/authorizer.ts @@ -45,7 +45,7 @@ export class Authorizer extends pulumi.CustomResource { public readonly status!: pulumi.Output; public readonly tags!: pulumi.Output; public readonly tokenKeyName!: pulumi.Output; - public readonly tokenSigningPublicKeys!: pulumi.Output; + public readonly tokenSigningPublicKeys!: pulumi.Output<{[key: string]: string} | undefined>; /** * Create a Authorizer resource with the given unique name, arguments, and options. @@ -99,5 +99,5 @@ export interface AuthorizerArgs { status?: pulumi.Input; tags?: pulumi.Input[]>; tokenKeyName?: pulumi.Input; - tokenSigningPublicKeys?: any; + tokenSigningPublicKeys?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/iot/getAuthorizer.ts b/sdk/nodejs/iot/getAuthorizer.ts index b9e340f726..a6eded095c 100644 --- a/sdk/nodejs/iot/getAuthorizer.ts +++ b/sdk/nodejs/iot/getAuthorizer.ts @@ -29,7 +29,7 @@ export interface GetAuthorizerResult { readonly status?: enums.iot.AuthorizerStatus; readonly tags?: outputs.iot.AuthorizerTag[]; readonly tokenKeyName?: string; - readonly tokenSigningPublicKeys?: any; + readonly tokenSigningPublicKeys?: {[key: string]: string}; } /** * Creates an authorizer. diff --git a/sdk/nodejs/iot/getSecurityProfile.ts b/sdk/nodejs/iot/getSecurityProfile.ts index e5177c52a6..4ebb422d89 100644 --- a/sdk/nodejs/iot/getSecurityProfile.ts +++ b/sdk/nodejs/iot/getSecurityProfile.ts @@ -33,7 +33,7 @@ export interface GetSecurityProfileResult { /** * Specifies the destinations to which alerts are sent. */ - readonly alertTargets?: any; + readonly alertTargets?: {[key: string]: outputs.iot.SecurityProfileAlertTarget}; /** * Specifies the behaviors that, when violated by a device (thing), cause an alert. */ diff --git a/sdk/nodejs/iot/securityProfile.ts b/sdk/nodejs/iot/securityProfile.ts index 9c0126e83e..2117b82896 100644 --- a/sdk/nodejs/iot/securityProfile.ts +++ b/sdk/nodejs/iot/securityProfile.ts @@ -44,7 +44,7 @@ export class SecurityProfile extends pulumi.CustomResource { /** * Specifies the destinations to which alerts are sent. */ - public readonly alertTargets!: pulumi.Output; + public readonly alertTargets!: pulumi.Output<{[key: string]: outputs.iot.SecurityProfileAlertTarget} | undefined>; /** * Specifies the behaviors that, when violated by a device (thing), cause an alert. */ @@ -123,7 +123,7 @@ export interface SecurityProfileArgs { /** * Specifies the destinations to which alerts are sent. */ - alertTargets?: any; + alertTargets?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Specifies the behaviors that, when violated by a device (thing), cause an alert. */ diff --git a/sdk/nodejs/iottwinmaker/componentType.ts b/sdk/nodejs/iottwinmaker/componentType.ts index 05c5303ab5..e361d800a6 100644 --- a/sdk/nodejs/iottwinmaker/componentType.ts +++ b/sdk/nodejs/iottwinmaker/componentType.ts @@ -48,7 +48,7 @@ export class ComponentType extends pulumi.CustomResource { /** * An map of the composite component types in the component type. Each composite component type's key must be unique to this map. */ - public readonly compositeComponentTypes!: pulumi.Output; + public readonly compositeComponentTypes!: pulumi.Output<{[key: string]: outputs.iottwinmaker.ComponentTypeCompositeComponentType} | undefined>; /** * The date and time when the component type was created. */ @@ -64,7 +64,7 @@ export class ComponentType extends pulumi.CustomResource { /** * a Map of functions in the component type. Each function's key must be unique to this map. */ - public readonly functions!: pulumi.Output; + public readonly functions!: pulumi.Output<{[key: string]: outputs.iottwinmaker.ComponentTypeFunction} | undefined>; /** * A Boolean value that specifies whether the component type is abstract. */ @@ -80,11 +80,11 @@ export class ComponentType extends pulumi.CustomResource { /** * An map of the property definitions in the component type. Each property definition's key must be unique to this map. */ - public readonly propertyDefinitions!: pulumi.Output; + public readonly propertyDefinitions!: pulumi.Output<{[key: string]: outputs.iottwinmaker.ComponentTypePropertyDefinition} | undefined>; /** * An map of the property groups in the component type. Each property group's key must be unique to this map. */ - public readonly propertyGroups!: pulumi.Output; + public readonly propertyGroups!: pulumi.Output<{[key: string]: outputs.iottwinmaker.ComponentTypePropertyGroup} | undefined>; /** * The current status of the component type. */ @@ -92,7 +92,7 @@ export class ComponentType extends pulumi.CustomResource { /** * A map of key-value pairs to associate with a resource. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The last date and time when the component type was updated. */ @@ -171,7 +171,7 @@ export interface ComponentTypeArgs { /** * An map of the composite component types in the component type. Each composite component type's key must be unique to this map. */ - compositeComponentTypes?: any; + compositeComponentTypes?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The description of the component type. */ @@ -183,7 +183,7 @@ export interface ComponentTypeArgs { /** * a Map of functions in the component type. Each function's key must be unique to this map. */ - functions?: any; + functions?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A Boolean value that specifies whether an entity can have more than one component of this type. */ @@ -191,15 +191,15 @@ export interface ComponentTypeArgs { /** * An map of the property definitions in the component type. Each property definition's key must be unique to this map. */ - propertyDefinitions?: any; + propertyDefinitions?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * An map of the property groups in the component type. Each property group's key must be unique to this map. */ - propertyGroups?: any; + propertyGroups?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A map of key-value pairs to associate with a resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The ID of the workspace that contains the component type. */ diff --git a/sdk/nodejs/iottwinmaker/entity.ts b/sdk/nodejs/iottwinmaker/entity.ts index 6557c79c37..35d1850977 100644 --- a/sdk/nodejs/iottwinmaker/entity.ts +++ b/sdk/nodejs/iottwinmaker/entity.ts @@ -44,11 +44,11 @@ export class Entity extends pulumi.CustomResource { /** * A map that sets information about a component type. */ - public readonly components!: pulumi.Output; + public readonly components!: pulumi.Output<{[key: string]: outputs.iottwinmaker.EntityComponent} | undefined>; /** * A map that sets information about a composite component. */ - public readonly compositeComponents!: pulumi.Output; + public readonly compositeComponents!: pulumi.Output<{[key: string]: outputs.iottwinmaker.EntityCompositeComponent} | undefined>; /** * The date and time when the entity was created. */ @@ -80,7 +80,7 @@ export class Entity extends pulumi.CustomResource { /** * A key-value pair to associate with a resource. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The last date and time when the entity was updated. */ @@ -146,11 +146,11 @@ export interface EntityArgs { /** * A map that sets information about a component type. */ - components?: any; + components?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A map that sets information about a composite component. */ - compositeComponents?: any; + compositeComponents?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The description of the entity. */ @@ -170,7 +170,7 @@ export interface EntityArgs { /** * A key-value pair to associate with a resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The ID of the workspace. */ diff --git a/sdk/nodejs/iottwinmaker/getComponentType.ts b/sdk/nodejs/iottwinmaker/getComponentType.ts index 6a92cc0027..ed97e156fa 100644 --- a/sdk/nodejs/iottwinmaker/getComponentType.ts +++ b/sdk/nodejs/iottwinmaker/getComponentType.ts @@ -38,7 +38,7 @@ export interface GetComponentTypeResult { /** * An map of the composite component types in the component type. Each composite component type's key must be unique to this map. */ - readonly compositeComponentTypes?: any; + readonly compositeComponentTypes?: {[key: string]: outputs.iottwinmaker.ComponentTypeCompositeComponentType}; /** * The date and time when the component type was created. */ @@ -54,7 +54,7 @@ export interface GetComponentTypeResult { /** * a Map of functions in the component type. Each function's key must be unique to this map. */ - readonly functions?: any; + readonly functions?: {[key: string]: outputs.iottwinmaker.ComponentTypeFunction}; /** * A Boolean value that specifies whether the component type is abstract. */ @@ -70,11 +70,11 @@ export interface GetComponentTypeResult { /** * An map of the property definitions in the component type. Each property definition's key must be unique to this map. */ - readonly propertyDefinitions?: any; + readonly propertyDefinitions?: {[key: string]: outputs.iottwinmaker.ComponentTypePropertyDefinition}; /** * An map of the property groups in the component type. Each property group's key must be unique to this map. */ - readonly propertyGroups?: any; + readonly propertyGroups?: {[key: string]: outputs.iottwinmaker.ComponentTypePropertyGroup}; /** * The current status of the component type. */ @@ -82,7 +82,7 @@ export interface GetComponentTypeResult { /** * A map of key-value pairs to associate with a resource. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; /** * The last date and time when the component type was updated. */ diff --git a/sdk/nodejs/iottwinmaker/getEntity.ts b/sdk/nodejs/iottwinmaker/getEntity.ts index 3bb5a69edc..fed39af14f 100644 --- a/sdk/nodejs/iottwinmaker/getEntity.ts +++ b/sdk/nodejs/iottwinmaker/getEntity.ts @@ -38,11 +38,11 @@ export interface GetEntityResult { /** * A map that sets information about a component type. */ - readonly components?: any; + readonly components?: {[key: string]: outputs.iottwinmaker.EntityComponent}; /** * A map that sets information about a composite component. */ - readonly compositeComponents?: any; + readonly compositeComponents?: {[key: string]: outputs.iottwinmaker.EntityCompositeComponent}; /** * The date and time when the entity was created. */ @@ -70,7 +70,7 @@ export interface GetEntityResult { /** * A key-value pair to associate with a resource. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; /** * The last date and time when the entity was updated. */ diff --git a/sdk/nodejs/iottwinmaker/getScene.ts b/sdk/nodejs/iottwinmaker/getScene.ts index f5424e08db..1969d022fa 100644 --- a/sdk/nodejs/iottwinmaker/getScene.ts +++ b/sdk/nodejs/iottwinmaker/getScene.ts @@ -51,15 +51,15 @@ export interface GetSceneResult { /** * A key-value pair of generated scene metadata for the scene. */ - readonly generatedSceneMetadata?: any; + readonly generatedSceneMetadata?: {[key: string]: string}; /** * A key-value pair of scene metadata for the scene. */ - readonly sceneMetadata?: any; + readonly sceneMetadata?: {[key: string]: string}; /** * A key-value pair to associate with a resource. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; /** * The date and time of the current update. */ diff --git a/sdk/nodejs/iottwinmaker/getWorkspace.ts b/sdk/nodejs/iottwinmaker/getWorkspace.ts index 8fc20e5e5d..2a2b99a03d 100644 --- a/sdk/nodejs/iottwinmaker/getWorkspace.ts +++ b/sdk/nodejs/iottwinmaker/getWorkspace.ts @@ -46,7 +46,7 @@ export interface GetWorkspaceResult { /** * A map of key-value pairs to associate with a resource. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; /** * The date and time of the current update. */ diff --git a/sdk/nodejs/iottwinmaker/scene.ts b/sdk/nodejs/iottwinmaker/scene.ts index 7e5128d426..2b0f3cff53 100644 --- a/sdk/nodejs/iottwinmaker/scene.ts +++ b/sdk/nodejs/iottwinmaker/scene.ts @@ -57,7 +57,7 @@ export class Scene extends pulumi.CustomResource { /** * A key-value pair of generated scene metadata for the scene. */ - public /*out*/ readonly generatedSceneMetadata!: pulumi.Output; + public /*out*/ readonly generatedSceneMetadata!: pulumi.Output<{[key: string]: string}>; /** * The ID of the scene. */ @@ -65,11 +65,11 @@ export class Scene extends pulumi.CustomResource { /** * A key-value pair of scene metadata for the scene. */ - public readonly sceneMetadata!: pulumi.Output; + public readonly sceneMetadata!: pulumi.Output<{[key: string]: string} | undefined>; /** * A key-value pair to associate with a resource. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The date and time of the current update. */ @@ -153,11 +153,11 @@ export interface SceneArgs { /** * A key-value pair of scene metadata for the scene. */ - sceneMetadata?: any; + sceneMetadata?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A key-value pair to associate with a resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The ID of the scene. */ diff --git a/sdk/nodejs/iottwinmaker/syncJob.ts b/sdk/nodejs/iottwinmaker/syncJob.ts index bde3081de6..1358189d74 100644 --- a/sdk/nodejs/iottwinmaker/syncJob.ts +++ b/sdk/nodejs/iottwinmaker/syncJob.ts @@ -57,7 +57,7 @@ export class SyncJob extends pulumi.CustomResource { /** * A key-value pair to associate with a resource. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The date and time when the sync job was updated. */ @@ -106,7 +106,7 @@ export class SyncJob extends pulumi.CustomResource { resourceInputs["workspaceId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["syncRole", "syncSource", "tags", "workspaceId"] }; + const replaceOnChanges = { replaceOnChanges: ["syncRole", "syncSource", "tags.*", "workspaceId"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(SyncJob.__pulumiType, name, resourceInputs, opts); } @@ -127,7 +127,7 @@ export interface SyncJobArgs { /** * A key-value pair to associate with a resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The ID of the workspace. */ diff --git a/sdk/nodejs/iottwinmaker/workspace.ts b/sdk/nodejs/iottwinmaker/workspace.ts index 8d75485e23..d7036a9c44 100644 --- a/sdk/nodejs/iottwinmaker/workspace.ts +++ b/sdk/nodejs/iottwinmaker/workspace.ts @@ -57,7 +57,7 @@ export class Workspace extends pulumi.CustomResource { /** * A map of key-value pairs to associate with a resource. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The date and time of the current update. */ @@ -131,7 +131,7 @@ export interface WorkspaceArgs { /** * A map of key-value pairs to associate with a resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The ID of the workspace. */ diff --git a/sdk/nodejs/kafkaconnect/connector.ts b/sdk/nodejs/kafkaconnect/connector.ts index 60e41b41ab..e0a057867d 100644 --- a/sdk/nodejs/kafkaconnect/connector.ts +++ b/sdk/nodejs/kafkaconnect/connector.ts @@ -45,7 +45,7 @@ export class Connector extends pulumi.CustomResource { /** * The configuration for the connector. */ - public readonly connectorConfiguration!: pulumi.Output; + public readonly connectorConfiguration!: pulumi.Output<{[key: string]: string}>; /** * A summary description of the connector. */ @@ -136,7 +136,7 @@ export class Connector extends pulumi.CustomResource { resourceInputs["workerConfiguration"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["connectorConfiguration", "connectorDescription", "connectorName", "kafkaCluster", "kafkaClusterClientAuthentication", "kafkaClusterEncryptionInTransit", "kafkaConnectVersion", "logDelivery", "plugins[*]", "serviceExecutionRoleArn", "workerConfiguration"] }; + const replaceOnChanges = { replaceOnChanges: ["connectorConfiguration.*", "connectorDescription", "connectorName", "kafkaCluster", "kafkaClusterClientAuthentication", "kafkaClusterEncryptionInTransit", "kafkaConnectVersion", "logDelivery", "plugins[*]", "serviceExecutionRoleArn", "workerConfiguration"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(Connector.__pulumiType, name, resourceInputs, opts); } @@ -150,7 +150,7 @@ export interface ConnectorArgs { /** * The configuration for the connector. */ - connectorConfiguration: any; + connectorConfiguration: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A summary description of the connector. */ diff --git a/sdk/nodejs/msk/cluster.ts b/sdk/nodejs/msk/cluster.ts index 6e3d2a64fe..f78c40d7eb 100644 --- a/sdk/nodejs/msk/cluster.ts +++ b/sdk/nodejs/msk/cluster.ts @@ -56,7 +56,7 @@ export class Cluster extends pulumi.CustomResource { /** * A key-value pair to associate with a resource. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * Create a Cluster resource with the given unique name, arguments, and options. @@ -137,5 +137,5 @@ export interface ClusterArgs { /** * A key-value pair to associate with a resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; } diff --git a/sdk/nodejs/msk/getCluster.ts b/sdk/nodejs/msk/getCluster.ts index 2037f1d1fc..e274b14420 100644 --- a/sdk/nodejs/msk/getCluster.ts +++ b/sdk/nodejs/msk/getCluster.ts @@ -41,7 +41,7 @@ export interface GetClusterResult { /** * A key-value pair to associate with a resource. */ - readonly tags?: any; + readonly tags?: {[key: string]: string}; } /** * Resource Type definition for AWS::MSK::Cluster diff --git a/sdk/nodejs/msk/serverlessCluster.ts b/sdk/nodejs/msk/serverlessCluster.ts index 236d410674..cc5f029020 100644 --- a/sdk/nodejs/msk/serverlessCluster.ts +++ b/sdk/nodejs/msk/serverlessCluster.ts @@ -43,7 +43,7 @@ export class ServerlessCluster extends pulumi.CustomResource { /** * A key-value pair to associate with a resource. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; public readonly vpcConfigs!: pulumi.Output; /** @@ -79,7 +79,7 @@ export class ServerlessCluster extends pulumi.CustomResource { resourceInputs["vpcConfigs"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const replaceOnChanges = { replaceOnChanges: ["clientAuthentication", "clusterName", "tags", "vpcConfigs[*]"] }; + const replaceOnChanges = { replaceOnChanges: ["clientAuthentication", "clusterName", "tags.*", "vpcConfigs[*]"] }; opts = pulumi.mergeOptions(opts, replaceOnChanges); super(ServerlessCluster.__pulumiType, name, resourceInputs, opts); } @@ -94,6 +94,6 @@ export interface ServerlessClusterArgs { /** * A key-value pair to associate with a resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; vpcConfigs: pulumi.Input[]>; } diff --git a/sdk/nodejs/opensearchservice/domain.ts b/sdk/nodejs/opensearchservice/domain.ts index 1444a64f2d..2ba41a8b87 100644 --- a/sdk/nodejs/opensearchservice/domain.ts +++ b/sdk/nodejs/opensearchservice/domain.ts @@ -38,7 +38,7 @@ export class Domain extends pulumi.CustomResource { } public readonly accessPolicies!: pulumi.Output; - public readonly advancedOptions!: pulumi.Output; + public readonly advancedOptions!: pulumi.Output<{[key: string]: string} | undefined>; public readonly advancedSecurityOptions!: pulumi.Output; public /*out*/ readonly arn!: pulumi.Output; public readonly clusterConfig!: pulumi.Output; @@ -47,13 +47,13 @@ export class Domain extends pulumi.CustomResource { public /*out*/ readonly domainEndpoint!: pulumi.Output; public readonly domainEndpointOptions!: pulumi.Output; public /*out*/ readonly domainEndpointV2!: pulumi.Output; - public /*out*/ readonly domainEndpoints!: pulumi.Output; + public /*out*/ readonly domainEndpoints!: pulumi.Output<{[key: string]: string}>; public readonly domainName!: pulumi.Output; public readonly ebsOptions!: pulumi.Output; public readonly encryptionAtRestOptions!: pulumi.Output; public readonly engineVersion!: pulumi.Output; public readonly ipAddressType!: pulumi.Output; - public readonly logPublishingOptions!: pulumi.Output; + public readonly logPublishingOptions!: pulumi.Output<{[key: string]: outputs.opensearchservice.DomainLogPublishingOption} | undefined>; public readonly nodeToNodeEncryptionOptions!: pulumi.Output; public readonly offPeakWindowOptions!: pulumi.Output; public /*out*/ readonly serviceSoftwareOptions!: pulumi.Output; @@ -138,7 +138,7 @@ export class Domain extends pulumi.CustomResource { */ export interface DomainArgs { accessPolicies?: any; - advancedOptions?: any; + advancedOptions?: pulumi.Input<{[key: string]: pulumi.Input}>; advancedSecurityOptions?: pulumi.Input; clusterConfig?: pulumi.Input; cognitoOptions?: pulumi.Input; @@ -148,7 +148,7 @@ export interface DomainArgs { encryptionAtRestOptions?: pulumi.Input; engineVersion?: pulumi.Input; ipAddressType?: pulumi.Input; - logPublishingOptions?: any; + logPublishingOptions?: pulumi.Input<{[key: string]: pulumi.Input}>; nodeToNodeEncryptionOptions?: pulumi.Input; offPeakWindowOptions?: pulumi.Input; snapshotOptions?: pulumi.Input; diff --git a/sdk/nodejs/opensearchservice/getDomain.ts b/sdk/nodejs/opensearchservice/getDomain.ts index 77b3fe4702..2f7c28b3d8 100644 --- a/sdk/nodejs/opensearchservice/getDomain.ts +++ b/sdk/nodejs/opensearchservice/getDomain.ts @@ -24,7 +24,7 @@ export interface GetDomainArgs { export interface GetDomainResult { readonly accessPolicies?: any; - readonly advancedOptions?: any; + readonly advancedOptions?: {[key: string]: string}; readonly advancedSecurityOptions?: outputs.opensearchservice.DomainAdvancedSecurityOptionsInput; readonly arn?: string; readonly clusterConfig?: outputs.opensearchservice.DomainClusterConfig; @@ -33,13 +33,13 @@ export interface GetDomainResult { readonly domainEndpoint?: string; readonly domainEndpointOptions?: outputs.opensearchservice.DomainEndpointOptions; readonly domainEndpointV2?: string; - readonly domainEndpoints?: any; + readonly domainEndpoints?: {[key: string]: string}; readonly ebsOptions?: outputs.opensearchservice.DomainEbsOptions; readonly encryptionAtRestOptions?: outputs.opensearchservice.DomainEncryptionAtRestOptions; readonly engineVersion?: string; readonly id?: string; readonly ipAddressType?: string; - readonly logPublishingOptions?: any; + readonly logPublishingOptions?: {[key: string]: outputs.opensearchservice.DomainLogPublishingOption}; readonly nodeToNodeEncryptionOptions?: outputs.opensearchservice.DomainNodeToNodeEncryptionOptions; readonly offPeakWindowOptions?: outputs.opensearchservice.DomainOffPeakWindowOptions; readonly serviceSoftwareOptions?: outputs.opensearchservice.DomainServiceSoftwareOptions; diff --git a/sdk/nodejs/servicecatalog/cloudFormationProvisionedProduct.ts b/sdk/nodejs/servicecatalog/cloudFormationProvisionedProduct.ts index fc0fe6c26a..f603ac6f8f 100644 --- a/sdk/nodejs/servicecatalog/cloudFormationProvisionedProduct.ts +++ b/sdk/nodejs/servicecatalog/cloudFormationProvisionedProduct.ts @@ -43,7 +43,7 @@ export class CloudFormationProvisionedProduct extends pulumi.CustomResource { /** * List of key-value pair outputs. */ - public /*out*/ readonly outputs!: pulumi.Output; + public /*out*/ readonly outputs!: pulumi.Output<{[key: string]: string}>; public readonly pathId!: pulumi.Output; public readonly pathName!: pulumi.Output; public readonly productId!: pulumi.Output; diff --git a/sdk/nodejs/servicecatalog/getCloudFormationProvisionedProduct.ts b/sdk/nodejs/servicecatalog/getCloudFormationProvisionedProduct.ts index c66a025580..348642f895 100644 --- a/sdk/nodejs/servicecatalog/getCloudFormationProvisionedProduct.ts +++ b/sdk/nodejs/servicecatalog/getCloudFormationProvisionedProduct.ts @@ -28,7 +28,7 @@ export interface GetCloudFormationProvisionedProductResult { /** * List of key-value pair outputs. */ - readonly outputs?: any; + readonly outputs?: {[key: string]: string}; readonly pathId?: string; readonly pathName?: string; readonly productId?: string; diff --git a/sdk/nodejs/ssm/parameter.ts b/sdk/nodejs/ssm/parameter.ts index f0ad3d70e0..1eed516605 100644 --- a/sdk/nodejs/ssm/parameter.ts +++ b/sdk/nodejs/ssm/parameter.ts @@ -65,7 +65,7 @@ export class Parameter extends pulumi.CustomResource { /** * Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. */ - public readonly tags!: pulumi.Output; + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; /** * The parameter tier. */ @@ -154,7 +154,7 @@ export interface ParameterArgs { /** * Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The parameter tier. */ diff --git a/sdk/nodejs/types/enums/greengrassv2/index.ts b/sdk/nodejs/types/enums/greengrassv2/index.ts index 61436f1c30..58278e9b71 100644 --- a/sdk/nodejs/types/enums/greengrassv2/index.ts +++ b/sdk/nodejs/types/enums/greengrassv2/index.ts @@ -2,6 +2,13 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** +export const ComponentVersionComponentDependencyRequirementDependencyType = { + Soft: "SOFT", + Hard: "HARD", +} as const; + +export type ComponentVersionComponentDependencyRequirementDependencyType = (typeof ComponentVersionComponentDependencyRequirementDependencyType)[keyof typeof ComponentVersionComponentDependencyRequirementDependencyType]; + export const ComponentVersionLambdaEventSourceType = { PubSub: "PUB_SUB", IotCore: "IOT_CORE", diff --git a/sdk/nodejs/types/enums/iottwinmaker/index.ts b/sdk/nodejs/types/enums/iottwinmaker/index.ts index 57a7c9667c..afccee9ab6 100644 --- a/sdk/nodejs/types/enums/iottwinmaker/index.ts +++ b/sdk/nodejs/types/enums/iottwinmaker/index.ts @@ -2,6 +2,41 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** +export const ComponentTypeDataTypeType = { + Relationship: "RELATIONSHIP", + String: "STRING", + Long: "LONG", + Boolean: "BOOLEAN", + Integer: "INTEGER", + Double: "DOUBLE", + List: "LIST", + Map: "MAP", +} as const; + +/** + * The underlying type of the data type. + */ +export type ComponentTypeDataTypeType = (typeof ComponentTypeDataTypeType)[keyof typeof ComponentTypeDataTypeType]; + +export const ComponentTypeFunctionScope = { + Entity: "ENTITY", + Workspace: "WORKSPACE", +} as const; + +/** + * The scope of the function. + */ +export type ComponentTypeFunctionScope = (typeof ComponentTypeFunctionScope)[keyof typeof ComponentTypeFunctionScope]; + +export const ComponentTypePropertyGroupGroupType = { + Tabular: "TABULAR", +} as const; + +/** + * The type of property group. + */ +export type ComponentTypePropertyGroupGroupType = (typeof ComponentTypePropertyGroupGroupType)[keyof typeof ComponentTypePropertyGroupGroupType]; + export const ComponentTypeStatusError1PropertiesCode = { ValidationError: "VALIDATION_ERROR", InternalFailure: "INTERNAL_FAILURE", @@ -26,6 +61,31 @@ export const ComponentTypeStatusState = { export type ComponentTypeStatusState = (typeof ComponentTypeStatusState)[keyof typeof ComponentTypeStatusState]; +export const EntityDataTypeType = { + Relationship: "RELATIONSHIP", + String: "STRING", + Long: "LONG", + Boolean: "BOOLEAN", + Integer: "INTEGER", + Double: "DOUBLE", + List: "LIST", + Map: "MAP", +} as const; + +/** + * The underlying type of the data type. + */ +export type EntityDataTypeType = (typeof EntityDataTypeType)[keyof typeof EntityDataTypeType]; + +export const EntityPropertyGroupGroupType = { + Tabular: "TABULAR", +} as const; + +/** + * The type of property group. + */ +export type EntityPropertyGroupGroupType = (typeof EntityPropertyGroupGroupType)[keyof typeof EntityPropertyGroupGroupType]; + export const EntityStatusError1PropertiesCode = { ValidationError: "VALIDATION_ERROR", InternalFailure: "INTERNAL_FAILURE", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 5a9b7e532d..ee9fcdd1c9 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -742,7 +742,7 @@ export namespace apigateway { /** * 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. */ - stageVariableOverrides?: any; + stageVariableOverrides?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A Boolean flag to indicate whether the canary deployment uses the stage cache or not. */ @@ -760,7 +760,7 @@ export namespace apigateway { /** * 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. */ - stageVariableOverrides?: any; + stageVariableOverrides?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. */ @@ -894,7 +894,7 @@ export namespace apigateway { /** * 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-._~:/?#&=,]+``. */ - variables?: any; + variables?: pulumi.Input<{[key: string]: pulumi.Input}>; } export interface DeploymentTagArgs { @@ -993,11 +993,11 @@ export namespace apigateway { /** * 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. */ - requestParameters?: any; + requestParameters?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * 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. */ - requestTemplates?: any; + requestTemplates?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. */ @@ -1026,11 +1026,11 @@ export namespace apigateway { /** * 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. */ - responseParameters?: any; + responseParameters?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * 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. */ - responseTemplates?: any; + responseTemplates?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * 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 LAMlong function, the LAMlong function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. */ @@ -1048,11 +1048,11 @@ export namespace apigateway { /** * 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. */ - responseModels?: any; + responseModels?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * 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.) */ - responseParameters?: any; + responseParameters?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The method response's status code. */ @@ -1132,7 +1132,7 @@ export namespace apigateway { /** * 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. */ - stageVariableOverrides?: any; + stageVariableOverrides?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A Boolean flag to indicate whether the canary deployment uses the stage cache or not. */ @@ -1212,7 +1212,7 @@ export namespace apigateway { /** * Map containing method level throttling information for API stage in a usage plan. */ - throttle?: any; + throttle?: pulumi.Input<{[key: string]: pulumi.Input}>; } /** @@ -1503,6 +1503,28 @@ export namespace appconfig { value: pulumi.Input; } + /** + * An action for an extension to take at a specific action point. + */ + export interface ExtensionActionArgs { + /** + * The description of the extension Action. + */ + description?: pulumi.Input; + /** + * The name of the extension action. + */ + name: pulumi.Input; + /** + * The ARN of the role for invoking the extension action. + */ + roleArn?: pulumi.Input; + /** + * The URI of the extension action. + */ + uri: pulumi.Input; + } + /** * A key-value pair to associate with a resource. */ @@ -1517,6 +1539,17 @@ export namespace appconfig { value: pulumi.Input; } + /** + * A parameter for the extension to send to a specific action. + */ + export interface ExtensionParameterArgs { + /** + * The description of the extension Parameter. + */ + description?: pulumi.Input; + required: pulumi.Input; + } + /** * A key-value pair to associate with a resource. */ @@ -2556,7 +2589,7 @@ export namespace appintegrations { /** * Restrictions for what files should be pulled from the source. */ - filters?: any; + filters?: pulumi.Input<{[key: string]: pulumi.Input[]>}>; /** * Identifiers for the source folders to pull all files from recursively. */ @@ -5276,7 +5309,7 @@ export namespace backup { copyActions?: pulumi.Input[]>; enableContinuousBackup?: pulumi.Input; lifecycle?: pulumi.Input; - recoveryPointTags?: any; + recoveryPointTags?: pulumi.Input<{[key: string]: pulumi.Input}>; ruleName: pulumi.Input; scheduleExpression?: pulumi.Input; scheduleExpressionTimezone?: pulumi.Input; @@ -5509,7 +5542,7 @@ export namespace batch { /** * A key-value pair to associate with a resource. */ - tags?: any; + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; type: pulumi.Input; updateToLatestImageVersion?: pulumi.Input; } @@ -7977,6 +8010,24 @@ export namespace cognito { roleArn?: pulumi.Input; } + export interface IdentityPoolRoleAttachmentMappingRuleArgs { + claim: pulumi.Input; + matchType: pulumi.Input; + roleArn: pulumi.Input; + value: pulumi.Input; + } + + export interface IdentityPoolRoleAttachmentRoleMappingArgs { + ambiguousRoleResolution?: pulumi.Input; + identityProvider?: pulumi.Input; + rulesConfiguration?: pulumi.Input; + type: pulumi.Input; + } + + export interface IdentityPoolRoleAttachmentRulesConfigurationTypeArgs { + rules: pulumi.Input[]>; + } + export interface LogDeliveryConfigurationCloudWatchLogsConfigurationArgs { logGroupArn?: pulumi.Input; } @@ -14884,7 +14935,7 @@ export namespace ecs { export interface ServiceLogConfigurationArgs { logDriver?: pulumi.Input; - options?: any; + options?: pulumi.Input<{[key: string]: pulumi.Input}>; secretOptions?: pulumi.Input[]>; } @@ -14958,7 +15009,7 @@ export namespace ecs { disableNetworking?: pulumi.Input; dnsSearchDomains?: pulumi.Input[]>; dnsServers?: pulumi.Input[]>; - dockerLabels?: any; + dockerLabels?: pulumi.Input<{[key: string]: pulumi.Input}>; dockerSecurityOptions?: pulumi.Input[]>; entryPoint?: pulumi.Input[]>; /** @@ -15025,8 +15076,8 @@ export namespace ecs { export interface TaskDefinitionDockerVolumeConfigurationArgs { autoprovision?: pulumi.Input; driver?: pulumi.Input; - driverOpts?: any; - labels?: any; + driverOpts?: pulumi.Input<{[key: string]: pulumi.Input}>; + labels?: pulumi.Input<{[key: string]: pulumi.Input}>; scope?: pulumi.Input; } @@ -15048,7 +15099,7 @@ export namespace ecs { } export interface TaskDefinitionFirelensConfigurationArgs { - options?: any; + options?: pulumi.Input<{[key: string]: pulumi.Input}>; type?: pulumi.Input; } @@ -15114,7 +15165,7 @@ export namespace ecs { export interface TaskDefinitionLogConfigurationArgs { logDriver: pulumi.Input; - options?: any; + options?: pulumi.Input<{[key: string]: pulumi.Input}>; secretOptions?: pulumi.Input[]>; } @@ -16208,7 +16259,7 @@ export namespace elasticloadbalancingv2 { } export interface ListenerRuleAuthenticateCognitoConfigArgs { - authenticationRequestExtraParams?: any; + authenticationRequestExtraParams?: pulumi.Input<{[key: string]: pulumi.Input}>; onUnauthenticatedRequest?: pulumi.Input; scope?: pulumi.Input; sessionCookieName?: pulumi.Input; @@ -16219,7 +16270,7 @@ export namespace elasticloadbalancingv2 { } export interface ListenerRuleAuthenticateOidcConfigArgs { - authenticationRequestExtraParams?: any; + authenticationRequestExtraParams?: pulumi.Input<{[key: string]: pulumi.Input}>; authorizationEndpoint: pulumi.Input; clientId: pulumi.Input; clientSecret?: pulumi.Input; @@ -16942,7 +16993,7 @@ export namespace emrserverless { */ classification: pulumi.Input; configurations?: pulumi.Input[]>; - properties?: any; + properties?: pulumi.Input<{[key: string]: pulumi.Input}>; } /** @@ -17106,7 +17157,7 @@ export namespace entityresolution { /** * Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format */ - providerConfiguration?: any; + providerConfiguration?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Arn of the Provider Service being used. */ @@ -17163,7 +17214,7 @@ export namespace entityresolution { /** * Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format */ - providerConfiguration?: any; + providerConfiguration?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Arn of the Provider service being used. */ @@ -17357,13 +17408,13 @@ export namespace events { } export interface RuleHttpParametersArgs { - headerParameters?: any; + headerParameters?: pulumi.Input<{[key: string]: pulumi.Input}>; pathParameterValues?: pulumi.Input[]>; - queryStringParameters?: any; + queryStringParameters?: pulumi.Input<{[key: string]: pulumi.Input}>; } export interface RuleInputTransformerArgs { - inputPathsMap?: any; + inputPathsMap?: pulumi.Input<{[key: string]: pulumi.Input}>; inputTemplate: pulumi.Input; } @@ -19806,8 +19857,13 @@ export namespace greengrass { } export namespace greengrassv2 { + export interface ComponentVersionComponentDependencyRequirementArgs { + dependencyType?: pulumi.Input; + versionRequirement?: pulumi.Input; + } + export interface ComponentVersionComponentPlatformArgs { - attributes?: any; + attributes?: pulumi.Input<{[key: string]: pulumi.Input}>; name?: pulumi.Input; } @@ -19830,7 +19886,7 @@ export namespace greengrassv2 { } export interface ComponentVersionLambdaExecutionParametersArgs { - environmentVariables?: any; + environmentVariables?: pulumi.Input<{[key: string]: pulumi.Input}>; eventSources?: pulumi.Input[]>; execArgs?: pulumi.Input[]>; inputPayloadEncodingType?: pulumi.Input; @@ -19844,7 +19900,7 @@ export namespace greengrassv2 { } export interface ComponentVersionLambdaFunctionRecipeSourceArgs { - componentDependencies?: any; + componentDependencies?: pulumi.Input<{[key: string]: pulumi.Input}>; componentLambdaParameters?: pulumi.Input; componentName?: pulumi.Input; componentPlatforms?: pulumi.Input[]>; @@ -19864,6 +19920,23 @@ export namespace greengrassv2 { sourcePath?: pulumi.Input; } + export interface DeploymentComponentConfigurationUpdateArgs { + merge?: pulumi.Input; + reset?: pulumi.Input[]>; + } + + export interface DeploymentComponentDeploymentSpecificationArgs { + componentVersion?: pulumi.Input; + configurationUpdate?: pulumi.Input; + runWith?: pulumi.Input; + } + + export interface DeploymentComponentRunWithArgs { + posixUser?: pulumi.Input; + systemResourceLimits?: pulumi.Input; + windowsUser?: pulumi.Input; + } + export interface DeploymentComponentUpdatePolicyArgs { action?: pulumi.Input; timeoutInSeconds?: pulumi.Input; @@ -19913,6 +19986,11 @@ export namespace greengrassv2 { configurationValidationPolicy?: pulumi.Input; failureHandlingPolicy?: pulumi.Input; } + + export interface DeploymentSystemResourceLimitsArgs { + cpus?: pulumi.Input; + memory?: pulumi.Input; + } } export namespace groundstation { @@ -20149,8 +20227,23 @@ export namespace guardduty { value: pulumi.Input; } + export interface FilterConditionArgs { + eq?: pulumi.Input[]>; + equals?: pulumi.Input[]>; + greaterThan?: pulumi.Input; + greaterThanOrEqual?: pulumi.Input; + gt?: pulumi.Input; + gte?: pulumi.Input; + lessThan?: pulumi.Input; + lessThanOrEqual?: pulumi.Input; + lt?: pulumi.Input; + lte?: pulumi.Input; + neq?: pulumi.Input[]>; + notEquals?: pulumi.Input[]>; + } + export interface FilterFindingCriteriaArgs { - criterion?: any; + criterion?: pulumi.Input<{[key: string]: pulumi.Input}>; } export interface FilterTagItemArgs { @@ -20521,7 +20614,7 @@ export namespace imagebuilder { /** * The tags to apply to AMIs distributed to this Region. */ - amiTags?: any; + amiTags?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The description of the AMI distribution configuration. */ @@ -21030,7 +21123,7 @@ export namespace imagebuilder { /** * The AMIs to select by tag. */ - tagMap?: any; + tagMap?: pulumi.Input<{[key: string]: pulumi.Input}>; } /** @@ -21041,7 +21134,7 @@ export namespace imagebuilder { /** * The Image Builder tags to filter on. */ - tagMap?: any; + tagMap?: pulumi.Input<{[key: string]: pulumi.Input}>; } /** @@ -21132,7 +21225,7 @@ export namespace imagebuilder { /** * The Image Builder resources to select by tag. */ - tagMap?: any; + tagMap?: pulumi.Input<{[key: string]: pulumi.Input}>; } } @@ -21731,6 +21824,20 @@ export namespace iot { value: pulumi.Input; } + /** + * A structure containing the alert target ARN and the role ARN. + */ + export interface SecurityProfileAlertTargetArgs { + /** + * The ARN of the notification target to which alerts are sent. + */ + alertTargetArn: pulumi.Input; + /** + * The ARN of the role that grants permission to send alerts to the notification target. + */ + roleArn: pulumi.Input; + } + /** * A security profile behavior. */ @@ -21899,11 +22006,11 @@ export namespace iot { } export interface ThingAttributePayloadArgs { - attributes?: any; + attributes?: pulumi.Input<{[key: string]: pulumi.Input}>; } export interface ThingGroupAttributePayloadArgs { - attributes?: any; + attributes?: pulumi.Input<{[key: string]: pulumi.Input}>; } export interface ThingGroupPropertiesPropertiesArgs { @@ -22094,7 +22201,7 @@ export namespace iot { } export interface TopicRuleKafkaActionArgs { - clientProperties: any; + clientProperties: pulumi.Input<{[key: string]: pulumi.Input}>; destinationArn: pulumi.Input; headers?: pulumi.Input[]>; key?: pulumi.Input; @@ -22471,7 +22578,7 @@ export namespace iotanalytics { } export interface PipelineAddAttributesArgs { - attributes: any; + attributes: pulumi.Input<{[key: string]: pulumi.Input}>; name: pulumi.Input; next?: pulumi.Input; } @@ -23921,6 +24028,431 @@ export namespace iotthingsgraph { } export namespace iottwinmaker { + /** + * An object that sets information about a composite component type. + */ + export interface ComponentTypeCompositeComponentTypeArgs { + /** + * The id of the composite component type. + */ + componentTypeId?: pulumi.Input; + } + + /** + * The data connector. + */ + export interface ComponentTypeDataConnectorArgs { + /** + * A Boolean value that specifies whether the data connector is native to IoT TwinMaker. + */ + isNative?: pulumi.Input; + /** + * The Lambda function associated with this data connector. + */ + lambda?: pulumi.Input; + } + + /** + * An object that specifies the data type of a property. + */ + export interface ComponentTypeDataTypeArgs { + /** + * The allowed values for this data type. + */ + allowedValues?: pulumi.Input[]>; + /** + * The nested type in the data type. + */ + nestedType?: pulumi.Input; + /** + * A relationship that associates a component with another component. + */ + relationship?: pulumi.Input; + /** + * The underlying type of the data type. + */ + type: pulumi.Input; + /** + * The unit of measure used in this data type. + */ + unitOfMeasure?: pulumi.Input; + } + + /** + * An object that specifies a value for a property. + */ + export interface ComponentTypeDataValueArgs { + /** + * A Boolean value. + */ + booleanValue?: pulumi.Input; + /** + * A double value. + */ + doubleValue?: pulumi.Input; + /** + * An expression that produces the value. + */ + expression?: pulumi.Input; + /** + * An integer value. + */ + integerValue?: pulumi.Input; + /** + * A list of multiple values. + */ + listValue?: pulumi.Input[]>; + /** + * A long value. + */ + longValue?: pulumi.Input; + /** + * An object that maps strings to multiple DataValue objects. + */ + mapValue?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * A value that relates a component to another component. + */ + relationshipValue?: pulumi.Input; + /** + * A string value. + */ + stringValue?: pulumi.Input; + } + + /** + * A value that relates a component to another component. + */ + export interface ComponentTypeDataValueRelationshipValuePropertiesArgs { + targetComponentName?: pulumi.Input; + targetEntityId?: pulumi.Input; + } + + /** + * The function of component type. + */ + export interface ComponentTypeFunctionArgs { + /** + * The data connector. + */ + implementedBy?: pulumi.Input; + /** + * The required properties of the function. + */ + requiredProperties?: pulumi.Input[]>; + /** + * The scope of the function. + */ + scope?: pulumi.Input; + } + + export interface ComponentTypeLambdaFunctionArgs { + arn: pulumi.Input; + } + + /** + * An object that sets information about a property. + */ + export interface ComponentTypePropertyDefinitionArgs { + /** + * An object that specifies information about a property. + */ + configurations?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * An object that contains information about the data type. + */ + dataType?: pulumi.Input; + /** + * An object that contains the default value. + */ + defaultValue?: pulumi.Input; + /** + * A Boolean value that specifies whether the property ID comes from an external data store. + */ + isExternalId?: pulumi.Input; + /** + * A Boolean value that specifies whether the property is required. + */ + isRequiredInEntity?: pulumi.Input; + /** + * A Boolean value that specifies whether the property is stored externally. + */ + isStoredExternally?: pulumi.Input; + /** + * A Boolean value that specifies whether the property consists of time series data. + */ + isTimeSeries?: pulumi.Input; + } + + /** + * An object that sets information about a property group. + */ + export interface ComponentTypePropertyGroupArgs { + /** + * The type of property group. + */ + groupType?: pulumi.Input; + /** + * The list of property names in the property group. + */ + propertyNames?: pulumi.Input[]>; + } + + /** + * The type of the relationship. + */ + export interface ComponentTypeRelationshipArgs { + /** + * The type of the relationship. + */ + relationshipType?: pulumi.Input; + /** + * The ID of the target component type associated with this relationship. + */ + targetComponentTypeId?: pulumi.Input; + } + + export interface EntityComponentArgs { + /** + * The name of the component. + */ + componentName?: pulumi.Input; + /** + * The ID of the component type. + */ + componentTypeId?: pulumi.Input; + /** + * The name of the property definition set in the component. + */ + definedIn?: pulumi.Input; + /** + * The description of the component. + */ + description?: pulumi.Input; + /** + * 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. + */ + properties?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * 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. + */ + propertyGroups?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The current status of the entity. + */ + status?: pulumi.Input; + } + + export interface EntityCompositeComponentArgs { + /** + * The name of the component. + */ + componentName?: pulumi.Input; + /** + * The path of the component. + */ + componentPath?: pulumi.Input; + /** + * The ID of the component type. + */ + componentTypeId?: pulumi.Input; + /** + * The description of the component. + */ + description?: pulumi.Input; + /** + * 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. + */ + properties?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * 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. + */ + propertyGroups?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The current status of the component. + */ + status?: pulumi.Input; + } + + /** + * An object that specifies the data type of a property. + */ + export interface EntityDataTypeArgs { + /** + * The allowed values for this data type. + */ + allowedValues?: pulumi.Input[]>; + /** + * The nested type in the data type. + */ + nestedType?: pulumi.Input; + /** + * A relationship that associates a component with another component. + */ + relationship?: pulumi.Input; + /** + * The underlying type of the data type. + */ + type?: pulumi.Input; + /** + * The unit of measure used in this data type. + */ + unitOfMeasure?: pulumi.Input; + } + + /** + * An object that specifies a value for a property. + */ + export interface EntityDataValueArgs { + /** + * A Boolean value. + */ + booleanValue?: pulumi.Input; + /** + * A double value. + */ + doubleValue?: pulumi.Input; + /** + * An expression that produces the value. + */ + expression?: pulumi.Input; + /** + * An integer value. + */ + integerValue?: pulumi.Input; + /** + * A list of multiple values. + */ + listValue?: pulumi.Input[]>; + /** + * A long value. + */ + longValue?: pulumi.Input; + /** + * An object that maps strings to multiple DataValue objects. + */ + mapValue?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * A value that relates a component to another component. + */ + relationshipValue?: pulumi.Input; + /** + * A string value. + */ + stringValue?: pulumi.Input; + } + + /** + * A value that relates a component to another component. + */ + export interface EntityDataValueRelationshipValuePropertiesArgs { + targetComponentName?: pulumi.Input; + targetEntityId?: pulumi.Input; + } + + export interface EntityPropertyArgs { + /** + * An object that specifies information about a property. + */ + definition?: pulumi.Input; + /** + * The value of the property. + */ + value?: pulumi.Input; + } + + /** + * An object that specifies information about a property. + */ + export interface EntityPropertyDefinitionConfigurationArgs { + } + + /** + * An object that specifies information about a property. + */ + export interface EntityPropertyDefinitionPropertiesArgs { + /** + * An object that specifies information about a property. + */ + configuration?: pulumi.Input; + /** + * An object that contains information about the data type. + */ + dataType?: pulumi.Input; + /** + * An object that contains the default value. + */ + defaultValue?: pulumi.Input; + /** + * A Boolean value that specifies whether the property ID comes from an external data store. + */ + isExternalId?: pulumi.Input; + /** + * A Boolean value that specifies whether the property definition can be updated. + */ + isFinal?: pulumi.Input; + /** + * A Boolean value that specifies whether the property definition is imported from an external data store. + */ + isImported?: pulumi.Input; + /** + * A Boolean value that specifies whether the property definition is inherited from a parent entity. + */ + isInherited?: pulumi.Input; + /** + * A Boolean value that specifies whether the property is required. + */ + isRequiredInEntity?: pulumi.Input; + /** + * A Boolean value that specifies whether the property is stored externally. + */ + isStoredExternally?: pulumi.Input; + /** + * A Boolean value that specifies whether the property consists of time series data. + */ + isTimeSeries?: pulumi.Input; + } + + /** + * An object that specifies information about a property group. + */ + export interface EntityPropertyGroupArgs { + /** + * The type of property group. + */ + groupType?: pulumi.Input; + /** + * The list of property names in the property group. + */ + propertyNames?: pulumi.Input[]>; + } + + /** + * The type of the relationship. + */ + export interface EntityRelationshipArgs { + /** + * The type of the relationship. + */ + relationshipType?: pulumi.Input; + /** + * The ID of the target component type associated with this relationship. + */ + targetComponentTypeId?: pulumi.Input; + } + + export interface EntityStatusArgs { + error?: pulumi.Input; + state?: pulumi.Input; + } + + /** + * Error object with Message and Code. + */ + export interface EntityStatusErrorPropertiesArgs { + code?: pulumi.Input; + message?: pulumi.Input; + } } export namespace iotwireless { @@ -26666,7 +27198,7 @@ export namespace lambda { /** * Environment variable key-value pairs. */ - variables?: any; + variables?: pulumi.Input<{[key: string]: pulumi.Input}>; } /** @@ -26983,6 +27515,32 @@ export namespace lex { enabled: pulumi.Input; } + /** + * Specifies the allowed input types. + */ + export interface BotAllowedInputTypesArgs { + /** + * Indicates whether audio input is allowed. + */ + allowAudioInput: pulumi.Input; + /** + * Indicates whether DTMF input is allowed. + */ + allowDtmfInput: pulumi.Input; + } + + /** + * Specifies the audio and DTMF input specification. + */ + export interface BotAudioAndDtmfInputSpecificationArgs { + audioSpecification?: pulumi.Input; + dtmfSpecification?: pulumi.Input; + /** + * 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. + */ + startTimeoutMs: pulumi.Input; + } + /** * The location of audio log files collected when conversation logging is enabled for a bot. */ @@ -26998,6 +27556,20 @@ export namespace lex { enabled: pulumi.Input; } + /** + * Specifies the audio input specifications. + */ + export interface BotAudioSpecificationArgs { + /** + * Time for which a bot waits after the customer stops speaking to assume the utterance is finished. + */ + endTimeoutMs: pulumi.Input; + /** + * Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. + */ + maxLengthMs: pulumi.Input; + } + /** * A button to use on a response card used to gather slot values from a user. */ @@ -27195,6 +27767,28 @@ export namespace lex { sessionAttributes?: pulumi.Input[]>; } + /** + * Specifies the settings on DTMF input. + */ + export interface BotDtmfSpecificationArgs { + /** + * The DTMF character that clears the accumulated DTMF digits and immediately ends the input. + */ + deletionCharacter: pulumi.Input; + /** + * The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. + */ + endCharacter: pulumi.Input; + /** + * How long the bot should wait after the last DTMF character input before assuming that the input has concluded. + */ + endTimeoutMs: pulumi.Input; + /** + * The maximum number of DTMF digits allowed in an utterance. + */ + maxLength: pulumi.Input; + } + /** * Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values. */ @@ -27655,6 +28249,19 @@ export namespace lex { timeoutResponse?: pulumi.Input; } + /** + * Specifies the settings on a prompt attempt. + */ + export interface BotPromptAttemptSpecificationArgs { + /** + * Indicates whether the user can interrupt a speech prompt attempt from the bot. + */ + allowInterrupt?: pulumi.Input; + allowedInputTypes: pulumi.Input; + audioAndDtmfInputSpecification?: pulumi.Input; + textInputSpecification?: pulumi.Input; + } + /** * Prompts the user to confirm the intent. */ @@ -27669,7 +28276,7 @@ export namespace lex { /** * Specifies the advanced settings on each attempt of the prompt. */ - promptAttemptsSpecification?: any; + promptAttemptsSpecification?: pulumi.Input<{[key: string]: pulumi.Input}>; } /** @@ -27990,6 +28597,16 @@ export namespace lex { detectSentiment: pulumi.Input; } + /** + * Specifies the text input specifications. + */ + export interface BotTextInputSpecificationArgs { + /** + * Time for which a bot waits before re-prompting a customer for text input. + */ + startTimeoutMs: pulumi.Input; + } + /** * Defines the Amazon CloudWatch Logs destination log group for conversation text logs. */ @@ -33000,7 +33617,7 @@ export namespace networkfirewall { /** * A key-value pair to configure the logDestinations. */ - logDestination: any; + logDestination: pulumi.Input<{[key: string]: pulumi.Input}>; logDestinationType: pulumi.Input; logType: pulumi.Input; } @@ -33038,6 +33655,14 @@ export namespace networkfirewall { sourcePort: pulumi.Input; } + export interface RuleGroupIpSetArgs { + definition?: pulumi.Input[]>; + } + + export interface RuleGroupIpSetReferenceArgs { + referenceArn?: pulumi.Input; + } + export interface RuleGroupMatchAttributesArgs { destinationPorts?: pulumi.Input[]>; destinations?: pulumi.Input[]>; @@ -33052,12 +33677,16 @@ export namespace networkfirewall { toPort: pulumi.Input; } + export interface RuleGroupPortSetArgs { + definition?: pulumi.Input[]>; + } + export interface RuleGroupPublishMetricActionArgs { dimensions: pulumi.Input[]>; } export interface RuleGroupReferenceSetsArgs { - ipSetReferences?: any; + ipSetReferences?: pulumi.Input<{[key: string]: pulumi.Input}>; } export interface RuleGroupRuleDefinitionArgs { @@ -33071,8 +33700,8 @@ export namespace networkfirewall { } export interface RuleGroupRuleVariablesArgs { - ipSets?: any; - portSets?: any; + ipSets?: pulumi.Input<{[key: string]: pulumi.Input}>; + portSets?: pulumi.Input<{[key: string]: pulumi.Input}>; } export interface RuleGroupRulesSourceArgs { @@ -33957,6 +34586,11 @@ export namespace opensearchservice { metadataContent: pulumi.Input; } + export interface DomainLogPublishingOptionArgs { + cloudWatchLogsLogGroupArn?: pulumi.Input; + enabled?: pulumi.Input; + } + export interface DomainMasterUserOptionsArgs { masterUserArn?: pulumi.Input; masterUserName?: pulumi.Input; @@ -34643,7 +35277,7 @@ export namespace personalize { /** * Lists the hyperparameter names and ranges. */ - algorithmHyperParameters?: any; + algorithmHyperParameters?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The AutoMLConfig object containing a list of recipes to search when AutoML is performed. */ @@ -34655,7 +35289,7 @@ export namespace personalize { /** * Lists the feature transformation parameters. */ - featureTransformationParameters?: any; + featureTransformationParameters?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Describes the properties for hyperparameter optimization (HPO) */ @@ -50182,7 +50816,7 @@ export namespace sagemaker { /** * customer details. */ - customDetails?: any; + customDetails?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Any ethical considerations that the author wants to provide. */ @@ -50254,7 +50888,7 @@ export namespace sagemaker { /** * additional attributes associated with the evaluation results. */ - metadata?: any; + metadata?: pulumi.Input<{[key: string]: pulumi.Input}>; metricGroups?: pulumi.Input[]>; name: pulumi.Input; } @@ -54300,7 +54934,7 @@ export namespace synthetics { /** * Environment variable key-value pairs. */ - environmentVariables?: any; + environmentVariables?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Provide maximum memory available for canary in MB */ @@ -56746,7 +57380,7 @@ export namespace xray { /** * Matches attributes derived from the request. */ - attributes?: any; + attributes?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The percentage of matching requests to instrument, after the reservoir is exhausted. */ @@ -56818,7 +57452,7 @@ export namespace xray { /** * Matches attributes derived from the request. */ - attributes?: any; + attributes?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The percentage of matching requests to instrument, after the reservoir is exhausted. */ diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index a0c292242c..83d06d1e0b 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -660,7 +660,7 @@ export namespace apigateway { /** * 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. */ - stageVariableOverrides?: any; + stageVariableOverrides?: {[key: string]: string}; /** * A Boolean flag to indicate whether the canary deployment uses the stage cache or not. */ @@ -678,7 +678,7 @@ export namespace apigateway { /** * 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. */ - stageVariableOverrides?: any; + stageVariableOverrides?: {[key: string]: string}; /** * A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. */ @@ -812,7 +812,7 @@ export namespace apigateway { /** * 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-._~:/?#&=,]+``. */ - variables?: any; + variables?: {[key: string]: string}; } export interface DeploymentTag { @@ -911,11 +911,11 @@ export namespace apigateway { /** * 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. */ - requestParameters?: any; + requestParameters?: {[key: string]: string}; /** * 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. */ - requestTemplates?: any; + requestTemplates?: {[key: string]: string}; /** * Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. */ @@ -944,11 +944,11 @@ export namespace apigateway { /** * 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. */ - responseParameters?: any; + responseParameters?: {[key: string]: string}; /** * 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. */ - responseTemplates?: any; + responseTemplates?: {[key: string]: string}; /** * 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 LAMlong function, the LAMlong function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. */ @@ -966,11 +966,11 @@ export namespace apigateway { /** * 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. */ - responseModels?: any; + responseModels?: {[key: string]: string}; /** * 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.) */ - responseParameters?: any; + responseParameters?: {[key: string]: boolean}; /** * The method response's status code. */ @@ -1050,7 +1050,7 @@ export namespace apigateway { /** * 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. */ - stageVariableOverrides?: any; + stageVariableOverrides?: {[key: string]: string}; /** * A Boolean flag to indicate whether the canary deployment uses the stage cache or not. */ @@ -1130,7 +1130,7 @@ export namespace apigateway { /** * Map containing method level throttling information for API stage in a usage plan. */ - throttle?: any; + throttle?: {[key: string]: outputs.apigateway.UsagePlanThrottleSettings}; } /** @@ -1423,6 +1423,28 @@ export namespace appconfig { value: string; } + /** + * An action for an extension to take at a specific action point. + */ + export interface ExtensionAction { + /** + * The description of the extension Action. + */ + description?: string; + /** + * The name of the extension action. + */ + name: string; + /** + * The ARN of the role for invoking the extension action. + */ + roleArn?: string; + /** + * The URI of the extension action. + */ + uri: string; + } + /** * A key-value pair to associate with a resource. */ @@ -1437,6 +1459,17 @@ export namespace appconfig { value: string; } + /** + * A parameter for the extension to send to a specific action. + */ + export interface ExtensionParameter { + /** + * The description of the extension Parameter. + */ + description?: string; + required: boolean; + } + /** * A key-value pair to associate with a resource. */ @@ -2478,7 +2511,7 @@ export namespace appintegrations { /** * Restrictions for what files should be pulled from the source. */ - filters?: any; + filters?: {[key: string]: string[]}; /** * Identifiers for the source folders to pull all files from recursively. */ @@ -5213,7 +5246,7 @@ export namespace backup { copyActions?: outputs.backup.BackupPlanCopyActionResourceType[]; enableContinuousBackup?: boolean; lifecycle?: outputs.backup.BackupPlanLifecycleResourceType; - recoveryPointTags?: any; + recoveryPointTags?: {[key: string]: string}; ruleName: string; scheduleExpression?: string; scheduleExpressionTimezone?: string; @@ -5448,7 +5481,7 @@ export namespace batch { /** * A key-value pair to associate with a resource. */ - tags?: any; + tags?: {[key: string]: string}; type: string; updateToLatestImageVersion?: boolean; } @@ -7949,6 +7982,24 @@ export namespace cognito { roleArn?: string; } + export interface IdentityPoolRoleAttachmentMappingRule { + claim: string; + matchType: string; + roleArn: string; + value: string; + } + + export interface IdentityPoolRoleAttachmentRoleMapping { + ambiguousRoleResolution?: string; + identityProvider?: string; + rulesConfiguration?: outputs.cognito.IdentityPoolRoleAttachmentRulesConfigurationType; + type: string; + } + + export interface IdentityPoolRoleAttachmentRulesConfigurationType { + rules: outputs.cognito.IdentityPoolRoleAttachmentMappingRule[]; + } + export interface LogDeliveryConfigurationCloudWatchLogsConfiguration { logGroupArn?: string; } @@ -15166,7 +15217,7 @@ export namespace ecs { export interface ServiceLogConfiguration { logDriver?: string; - options?: any; + options?: {[key: string]: string}; secretOptions?: outputs.ecs.ServiceSecret[]; } @@ -15240,7 +15291,7 @@ export namespace ecs { disableNetworking?: boolean; dnsSearchDomains?: string[]; dnsServers?: string[]; - dockerLabels?: any; + dockerLabels?: {[key: string]: string}; dockerSecurityOptions?: string[]; entryPoint?: string[]; /** @@ -15307,8 +15358,8 @@ export namespace ecs { export interface TaskDefinitionDockerVolumeConfiguration { autoprovision?: boolean; driver?: string; - driverOpts?: any; - labels?: any; + driverOpts?: {[key: string]: string}; + labels?: {[key: string]: string}; scope?: string; } @@ -15330,7 +15381,7 @@ export namespace ecs { } export interface TaskDefinitionFirelensConfiguration { - options?: any; + options?: {[key: string]: string}; type?: string; } @@ -15396,7 +15447,7 @@ export namespace ecs { export interface TaskDefinitionLogConfiguration { logDriver: string; - options?: any; + options?: {[key: string]: string}; secretOptions?: outputs.ecs.TaskDefinitionSecret[]; } @@ -16496,7 +16547,7 @@ export namespace elasticloadbalancingv2 { } export interface ListenerRuleAuthenticateCognitoConfig { - authenticationRequestExtraParams?: any; + authenticationRequestExtraParams?: {[key: string]: string}; onUnauthenticatedRequest?: string; scope?: string; sessionCookieName?: string; @@ -16507,7 +16558,7 @@ export namespace elasticloadbalancingv2 { } export interface ListenerRuleAuthenticateOidcConfig { - authenticationRequestExtraParams?: any; + authenticationRequestExtraParams?: {[key: string]: string}; authorizationEndpoint: string; clientId: string; clientSecret?: string; @@ -17241,7 +17292,7 @@ export namespace emrserverless { */ classification: string; configurations?: outputs.emrserverless.ApplicationConfigurationObject[]; - properties?: any; + properties?: {[key: string]: string}; } /** @@ -17406,7 +17457,7 @@ export namespace entityresolution { /** * Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format */ - providerConfiguration?: any; + providerConfiguration?: {[key: string]: string}; /** * Arn of the Provider Service being used. */ @@ -17463,7 +17514,7 @@ export namespace entityresolution { /** * Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format */ - providerConfiguration?: any; + providerConfiguration?: {[key: string]: string}; /** * Arn of the Provider service being used. */ @@ -17658,13 +17709,13 @@ export namespace events { } export interface RuleHttpParameters { - headerParameters?: any; + headerParameters?: {[key: string]: string}; pathParameterValues?: string[]; - queryStringParameters?: any; + queryStringParameters?: {[key: string]: string}; } export interface RuleInputTransformer { - inputPathsMap?: any; + inputPathsMap?: {[key: string]: string}; inputTemplate: string; } @@ -20121,8 +20172,13 @@ export namespace greengrass { } export namespace greengrassv2 { + export interface ComponentVersionComponentDependencyRequirement { + dependencyType?: enums.greengrassv2.ComponentVersionComponentDependencyRequirementDependencyType; + versionRequirement?: string; + } + export interface ComponentVersionComponentPlatform { - attributes?: any; + attributes?: {[key: string]: string}; name?: string; } @@ -20145,7 +20201,7 @@ export namespace greengrassv2 { } export interface ComponentVersionLambdaExecutionParameters { - environmentVariables?: any; + environmentVariables?: {[key: string]: string}; eventSources?: outputs.greengrassv2.ComponentVersionLambdaEventSource[]; execArgs?: string[]; inputPayloadEncodingType?: enums.greengrassv2.ComponentVersionLambdaExecutionParametersInputPayloadEncodingType; @@ -20159,7 +20215,7 @@ export namespace greengrassv2 { } export interface ComponentVersionLambdaFunctionRecipeSource { - componentDependencies?: any; + componentDependencies?: {[key: string]: outputs.greengrassv2.ComponentVersionComponentDependencyRequirement}; componentLambdaParameters?: outputs.greengrassv2.ComponentVersionLambdaExecutionParameters; componentName?: string; componentPlatforms?: outputs.greengrassv2.ComponentVersionComponentPlatform[]; @@ -20179,6 +20235,23 @@ export namespace greengrassv2 { sourcePath?: string; } + export interface DeploymentComponentConfigurationUpdate { + merge?: string; + reset?: string[]; + } + + export interface DeploymentComponentDeploymentSpecification { + componentVersion?: string; + configurationUpdate?: outputs.greengrassv2.DeploymentComponentConfigurationUpdate; + runWith?: outputs.greengrassv2.DeploymentComponentRunWith; + } + + export interface DeploymentComponentRunWith { + posixUser?: string; + systemResourceLimits?: outputs.greengrassv2.DeploymentSystemResourceLimits; + windowsUser?: string; + } + export interface DeploymentComponentUpdatePolicy { action?: enums.greengrassv2.DeploymentComponentUpdatePolicyAction; timeoutInSeconds?: number; @@ -20229,6 +20302,11 @@ export namespace greengrassv2 { failureHandlingPolicy?: enums.greengrassv2.DeploymentPoliciesFailureHandlingPolicy; } + export interface DeploymentSystemResourceLimits { + cpus?: number; + memory?: number; + } + } export namespace groundstation { @@ -20466,8 +20544,23 @@ export namespace guardduty { value: string; } + export interface FilterCondition { + eq?: string[]; + equals?: string[]; + greaterThan?: number; + greaterThanOrEqual?: number; + gt?: number; + gte?: number; + lessThan?: number; + lessThanOrEqual?: number; + lt?: number; + lte?: number; + neq?: string[]; + notEquals?: string[]; + } + export interface FilterFindingCriteria { - criterion?: any; + criterion?: {[key: string]: outputs.guardduty.FilterCondition}; } export interface FilterTagItem { @@ -20857,7 +20950,7 @@ export namespace imagebuilder { /** * The tags to apply to AMIs distributed to this Region. */ - amiTags?: any; + amiTags?: {[key: string]: string}; /** * The description of the AMI distribution configuration. */ @@ -21366,7 +21459,7 @@ export namespace imagebuilder { /** * The AMIs to select by tag. */ - tagMap?: any; + tagMap?: {[key: string]: string}; } /** @@ -21377,7 +21470,7 @@ export namespace imagebuilder { /** * The Image Builder tags to filter on. */ - tagMap?: any; + tagMap?: {[key: string]: string}; } /** @@ -21468,7 +21561,7 @@ export namespace imagebuilder { /** * The Image Builder resources to select by tag. */ - tagMap?: any; + tagMap?: {[key: string]: string}; } } @@ -22077,6 +22170,20 @@ export namespace iot { value: string; } + /** + * A structure containing the alert target ARN and the role ARN. + */ + export interface SecurityProfileAlertTarget { + /** + * The ARN of the notification target to which alerts are sent. + */ + alertTargetArn: string; + /** + * The ARN of the role that grants permission to send alerts to the notification target. + */ + roleArn: string; + } + /** * A security profile behavior. */ @@ -22245,11 +22352,11 @@ export namespace iot { } export interface ThingAttributePayload { - attributes?: any; + attributes?: {[key: string]: string}; } export interface ThingGroupAttributePayload { - attributes?: any; + attributes?: {[key: string]: string}; } export interface ThingGroupPropertiesProperties { @@ -22440,7 +22547,7 @@ export namespace iot { } export interface TopicRuleKafkaAction { - clientProperties: any; + clientProperties: {[key: string]: string}; destinationArn: string; headers?: outputs.iot.TopicRuleKafkaActionHeader[]; key?: string; @@ -22819,7 +22926,7 @@ export namespace iotanalytics { } export interface PipelineAddAttributes { - attributes: any; + attributes: {[key: string]: string}; name: string; next?: string; } @@ -24276,6 +24383,190 @@ export namespace iotthingsgraph { } export namespace iottwinmaker { + /** + * An object that sets information about a composite component type. + */ + export interface ComponentTypeCompositeComponentType { + /** + * The id of the composite component type. + */ + componentTypeId?: string; + } + + /** + * The data connector. + */ + export interface ComponentTypeDataConnector { + /** + * A Boolean value that specifies whether the data connector is native to IoT TwinMaker. + */ + isNative?: boolean; + /** + * The Lambda function associated with this data connector. + */ + lambda?: outputs.iottwinmaker.ComponentTypeLambdaFunction; + } + + /** + * An object that specifies the data type of a property. + */ + export interface ComponentTypeDataType { + /** + * The allowed values for this data type. + */ + allowedValues?: outputs.iottwinmaker.ComponentTypeDataValue[]; + /** + * The nested type in the data type. + */ + nestedType?: outputs.iottwinmaker.ComponentTypeDataType; + /** + * A relationship that associates a component with another component. + */ + relationship?: outputs.iottwinmaker.ComponentTypeRelationship; + /** + * The underlying type of the data type. + */ + type: enums.iottwinmaker.ComponentTypeDataTypeType; + /** + * The unit of measure used in this data type. + */ + unitOfMeasure?: string; + } + + /** + * An object that specifies a value for a property. + */ + export interface ComponentTypeDataValue { + /** + * A Boolean value. + */ + booleanValue?: boolean; + /** + * A double value. + */ + doubleValue?: number; + /** + * An expression that produces the value. + */ + expression?: string; + /** + * An integer value. + */ + integerValue?: number; + /** + * A list of multiple values. + */ + listValue?: outputs.iottwinmaker.ComponentTypeDataValue[]; + /** + * A long value. + */ + longValue?: number; + /** + * An object that maps strings to multiple DataValue objects. + */ + mapValue?: {[key: string]: outputs.iottwinmaker.ComponentTypeDataValue}; + /** + * A value that relates a component to another component. + */ + relationshipValue?: outputs.iottwinmaker.ComponentTypeDataValueRelationshipValueProperties; + /** + * A string value. + */ + stringValue?: string; + } + + /** + * A value that relates a component to another component. + */ + export interface ComponentTypeDataValueRelationshipValueProperties { + targetComponentName?: string; + targetEntityId?: string; + } + + /** + * The function of component type. + */ + export interface ComponentTypeFunction { + /** + * The data connector. + */ + implementedBy?: outputs.iottwinmaker.ComponentTypeDataConnector; + /** + * The required properties of the function. + */ + requiredProperties?: string[]; + /** + * The scope of the function. + */ + scope?: enums.iottwinmaker.ComponentTypeFunctionScope; + } + + export interface ComponentTypeLambdaFunction { + arn: string; + } + + /** + * An object that sets information about a property. + */ + export interface ComponentTypePropertyDefinition { + /** + * An object that specifies information about a property. + */ + configurations?: {[key: string]: string}; + /** + * An object that contains information about the data type. + */ + dataType?: outputs.iottwinmaker.ComponentTypeDataType; + /** + * An object that contains the default value. + */ + defaultValue?: outputs.iottwinmaker.ComponentTypeDataValue; + /** + * A Boolean value that specifies whether the property ID comes from an external data store. + */ + isExternalId?: boolean; + /** + * A Boolean value that specifies whether the property is required. + */ + isRequiredInEntity?: boolean; + /** + * A Boolean value that specifies whether the property is stored externally. + */ + isStoredExternally?: boolean; + /** + * A Boolean value that specifies whether the property consists of time series data. + */ + isTimeSeries?: boolean; + } + + /** + * An object that sets information about a property group. + */ + export interface ComponentTypePropertyGroup { + /** + * The type of property group. + */ + groupType?: enums.iottwinmaker.ComponentTypePropertyGroupGroupType; + /** + * The list of property names in the property group. + */ + propertyNames?: string[]; + } + + /** + * The type of the relationship. + */ + export interface ComponentTypeRelationship { + /** + * The type of the relationship. + */ + relationshipType?: string; + /** + * The ID of the target component type associated with this relationship. + */ + targetComponentTypeId?: string; + } + export interface ComponentTypeStatus { error?: any | outputs.iottwinmaker.ComponentTypeStatusErrorProperties; state?: enums.iottwinmaker.ComponentTypeStatusState; @@ -24289,6 +24580,235 @@ export namespace iottwinmaker { message?: string; } + export interface EntityComponent { + /** + * The name of the component. + */ + componentName?: string; + /** + * The ID of the component type. + */ + componentTypeId?: string; + /** + * The name of the property definition set in the component. + */ + definedIn?: string; + /** + * The description of the component. + */ + description?: string; + /** + * 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. + */ + properties?: {[key: string]: outputs.iottwinmaker.EntityProperty}; + /** + * 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. + */ + propertyGroups?: {[key: string]: outputs.iottwinmaker.EntityPropertyGroup}; + /** + * The current status of the entity. + */ + status?: outputs.iottwinmaker.EntityStatus; + } + + export interface EntityCompositeComponent { + /** + * The name of the component. + */ + componentName?: string; + /** + * The path of the component. + */ + componentPath?: string; + /** + * The ID of the component type. + */ + componentTypeId?: string; + /** + * The description of the component. + */ + description?: string; + /** + * 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. + */ + properties?: {[key: string]: outputs.iottwinmaker.EntityProperty}; + /** + * 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. + */ + propertyGroups?: {[key: string]: outputs.iottwinmaker.EntityPropertyGroup}; + /** + * The current status of the component. + */ + status?: outputs.iottwinmaker.EntityStatus; + } + + /** + * An object that specifies the data type of a property. + */ + export interface EntityDataType { + /** + * The allowed values for this data type. + */ + allowedValues?: outputs.iottwinmaker.EntityDataValue[]; + /** + * The nested type in the data type. + */ + nestedType?: outputs.iottwinmaker.EntityDataType; + /** + * A relationship that associates a component with another component. + */ + relationship?: outputs.iottwinmaker.EntityRelationship; + /** + * The underlying type of the data type. + */ + type?: enums.iottwinmaker.EntityDataTypeType; + /** + * The unit of measure used in this data type. + */ + unitOfMeasure?: string; + } + + /** + * An object that specifies a value for a property. + */ + export interface EntityDataValue { + /** + * A Boolean value. + */ + booleanValue?: boolean; + /** + * A double value. + */ + doubleValue?: number; + /** + * An expression that produces the value. + */ + expression?: string; + /** + * An integer value. + */ + integerValue?: number; + /** + * A list of multiple values. + */ + listValue?: outputs.iottwinmaker.EntityDataValue[]; + /** + * A long value. + */ + longValue?: number; + /** + * An object that maps strings to multiple DataValue objects. + */ + mapValue?: {[key: string]: outputs.iottwinmaker.EntityDataValue}; + /** + * A value that relates a component to another component. + */ + relationshipValue?: outputs.iottwinmaker.EntityDataValueRelationshipValueProperties; + /** + * A string value. + */ + stringValue?: string; + } + + /** + * A value that relates a component to another component. + */ + export interface EntityDataValueRelationshipValueProperties { + targetComponentName?: string; + targetEntityId?: string; + } + + export interface EntityProperty { + /** + * An object that specifies information about a property. + */ + definition?: outputs.iottwinmaker.EntityPropertyDefinitionProperties; + /** + * The value of the property. + */ + value?: outputs.iottwinmaker.EntityDataValue; + } + + /** + * An object that specifies information about a property. + */ + export interface EntityPropertyDefinitionConfiguration { + } + + /** + * An object that specifies information about a property. + */ + export interface EntityPropertyDefinitionProperties { + /** + * An object that specifies information about a property. + */ + configuration?: outputs.iottwinmaker.EntityPropertyDefinitionConfiguration; + /** + * An object that contains information about the data type. + */ + dataType?: outputs.iottwinmaker.EntityDataType; + /** + * An object that contains the default value. + */ + defaultValue?: outputs.iottwinmaker.EntityDataValue; + /** + * A Boolean value that specifies whether the property ID comes from an external data store. + */ + isExternalId?: boolean; + /** + * A Boolean value that specifies whether the property definition can be updated. + */ + isFinal?: boolean; + /** + * A Boolean value that specifies whether the property definition is imported from an external data store. + */ + isImported?: boolean; + /** + * A Boolean value that specifies whether the property definition is inherited from a parent entity. + */ + isInherited?: boolean; + /** + * A Boolean value that specifies whether the property is required. + */ + isRequiredInEntity?: boolean; + /** + * A Boolean value that specifies whether the property is stored externally. + */ + isStoredExternally?: boolean; + /** + * A Boolean value that specifies whether the property consists of time series data. + */ + isTimeSeries?: boolean; + } + + /** + * An object that specifies information about a property group. + */ + export interface EntityPropertyGroup { + /** + * The type of property group. + */ + groupType?: enums.iottwinmaker.EntityPropertyGroupGroupType; + /** + * The list of property names in the property group. + */ + propertyNames?: string[]; + } + + /** + * The type of the relationship. + */ + export interface EntityRelationship { + /** + * The type of the relationship. + */ + relationshipType?: string; + /** + * The ID of the target component type associated with this relationship. + */ + targetComponentTypeId?: string; + } + export interface EntityStatus { error?: any | outputs.iottwinmaker.EntityStatusErrorProperties; state?: enums.iottwinmaker.EntityStatusState; @@ -27060,7 +27580,7 @@ export namespace lambda { /** * Environment variable key-value pairs. */ - variables?: any; + variables?: {[key: string]: string}; } /** @@ -27392,6 +27912,32 @@ export namespace lex { enabled: boolean; } + /** + * Specifies the allowed input types. + */ + export interface BotAllowedInputTypes { + /** + * Indicates whether audio input is allowed. + */ + allowAudioInput: boolean; + /** + * Indicates whether DTMF input is allowed. + */ + allowDtmfInput: boolean; + } + + /** + * Specifies the audio and DTMF input specification. + */ + export interface BotAudioAndDtmfInputSpecification { + audioSpecification?: outputs.lex.BotAudioSpecification; + dtmfSpecification?: outputs.lex.BotDtmfSpecification; + /** + * 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. + */ + startTimeoutMs: number; + } + /** * The location of audio log files collected when conversation logging is enabled for a bot. */ @@ -27407,6 +27953,20 @@ export namespace lex { enabled: boolean; } + /** + * Specifies the audio input specifications. + */ + export interface BotAudioSpecification { + /** + * Time for which a bot waits after the customer stops speaking to assume the utterance is finished. + */ + endTimeoutMs: number; + /** + * Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. + */ + maxLengthMs: number; + } + /** * A button to use on a response card used to gather slot values from a user. */ @@ -27604,6 +28164,28 @@ export namespace lex { sessionAttributes?: outputs.lex.BotSessionAttribute[]; } + /** + * Specifies the settings on DTMF input. + */ + export interface BotDtmfSpecification { + /** + * The DTMF character that clears the accumulated DTMF digits and immediately ends the input. + */ + deletionCharacter: string; + /** + * The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. + */ + endCharacter: string; + /** + * How long the bot should wait after the last DTMF character input before assuming that the input has concluded. + */ + endTimeoutMs: number; + /** + * The maximum number of DTMF digits allowed in an utterance. + */ + maxLength: number; + } + /** * Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values. */ @@ -28064,6 +28646,19 @@ export namespace lex { timeoutResponse?: outputs.lex.BotResponseSpecification; } + /** + * Specifies the settings on a prompt attempt. + */ + export interface BotPromptAttemptSpecification { + /** + * Indicates whether the user can interrupt a speech prompt attempt from the bot. + */ + allowInterrupt?: boolean; + allowedInputTypes: outputs.lex.BotAllowedInputTypes; + audioAndDtmfInputSpecification?: outputs.lex.BotAudioAndDtmfInputSpecification; + textInputSpecification?: outputs.lex.BotTextInputSpecification; + } + /** * Prompts the user to confirm the intent. */ @@ -28078,7 +28673,7 @@ export namespace lex { /** * Specifies the advanced settings on each attempt of the prompt. */ - promptAttemptsSpecification?: any; + promptAttemptsSpecification?: {[key: string]: outputs.lex.BotPromptAttemptSpecification}; } /** @@ -28399,6 +28994,16 @@ export namespace lex { detectSentiment: boolean; } + /** + * Specifies the text input specifications. + */ + export interface BotTextInputSpecification { + /** + * Time for which a bot waits before re-prompting a customer for text input. + */ + startTimeoutMs: number; + } + /** * Defines the Amazon CloudWatch Logs destination log group for conversation text logs. */ @@ -33436,7 +34041,7 @@ export namespace networkfirewall { /** * A key-value pair to configure the logDestinations. */ - logDestination: any; + logDestination: {[key: string]: string}; logDestinationType: enums.networkfirewall.LoggingConfigurationLogDestinationConfigLogDestinationType; logType: enums.networkfirewall.LoggingConfigurationLogDestinationConfigLogType; } @@ -33474,6 +34079,14 @@ export namespace networkfirewall { sourcePort: string; } + export interface RuleGroupIpSet { + definition?: string[]; + } + + export interface RuleGroupIpSetReference { + referenceArn?: string; + } + export interface RuleGroupMatchAttributes { destinationPorts?: outputs.networkfirewall.RuleGroupPortRange[]; destinations?: outputs.networkfirewall.RuleGroupAddress[]; @@ -33488,12 +34101,16 @@ export namespace networkfirewall { toPort: number; } + export interface RuleGroupPortSet { + definition?: string[]; + } + export interface RuleGroupPublishMetricAction { dimensions: outputs.networkfirewall.RuleGroupDimension[]; } export interface RuleGroupReferenceSets { - ipSetReferences?: any; + ipSetReferences?: {[key: string]: outputs.networkfirewall.RuleGroupIpSetReference}; } export interface RuleGroupRuleDefinition { @@ -33507,8 +34124,8 @@ export namespace networkfirewall { } export interface RuleGroupRuleVariables { - ipSets?: any; - portSets?: any; + ipSets?: {[key: string]: outputs.networkfirewall.RuleGroupIpSet}; + portSets?: {[key: string]: outputs.networkfirewall.RuleGroupPortSet}; } export interface RuleGroupRulesSource { @@ -34469,6 +35086,11 @@ export namespace opensearchservice { metadataContent: string; } + export interface DomainLogPublishingOption { + cloudWatchLogsLogGroupArn?: string; + enabled?: boolean; + } + export interface DomainMasterUserOptions { masterUserArn?: string; masterUserName?: string; @@ -35188,7 +35810,7 @@ export namespace personalize { /** * Lists the hyperparameter names and ranges. */ - algorithmHyperParameters?: any; + algorithmHyperParameters?: {[key: string]: string}; /** * The AutoMLConfig object containing a list of recipes to search when AutoML is performed. */ @@ -35200,7 +35822,7 @@ export namespace personalize { /** * Lists the feature transformation parameters. */ - featureTransformationParameters?: any; + featureTransformationParameters?: {[key: string]: string}; /** * Describes the properties for hyperparameter optimization (HPO) */ @@ -51041,7 +51663,7 @@ export namespace sagemaker { /** * customer details. */ - customDetails?: any; + customDetails?: {[key: string]: string}; /** * Any ethical considerations that the author wants to provide. */ @@ -51113,7 +51735,7 @@ export namespace sagemaker { /** * additional attributes associated with the evaluation results. */ - metadata?: any; + metadata?: {[key: string]: string}; metricGroups?: outputs.sagemaker.ModelCardMetricGroup[]; name: string; } @@ -55177,7 +55799,7 @@ export namespace synthetics { /** * Environment variable key-value pairs. */ - environmentVariables?: any; + environmentVariables?: {[key: string]: string}; /** * Provide maximum memory available for canary in MB */ @@ -57651,7 +58273,7 @@ export namespace xray { /** * Matches attributes derived from the request. */ - attributes?: any; + attributes?: {[key: string]: string}; /** * The percentage of matching requests to instrument, after the reservoir is exhausted. */ @@ -57723,7 +58345,7 @@ export namespace xray { /** * Matches attributes derived from the request. */ - attributes?: any; + attributes?: {[key: string]: string}; /** * The percentage of matching requests to instrument, after the reservoir is exhausted. */ diff --git a/sdk/python/pulumi_aws_native/apigateway/_inputs.py b/sdk/python/pulumi_aws_native/apigateway/_inputs.py index 2492a85def..8355cf3b23 100644 --- a/sdk/python/pulumi_aws_native/apigateway/_inputs.py +++ b/sdk/python/pulumi_aws_native/apigateway/_inputs.py @@ -190,12 +190,12 @@ def format(self, value: Optional[pulumi.Input[str]]): class DeploymentCanarySettingsArgs: def __init__(__self__, *, percent_traffic: Optional[pulumi.Input[float]] = None, - stage_variable_overrides: Optional[Any] = None, + stage_variable_overrides: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, use_stage_cache: Optional[pulumi.Input[bool]] = None): """ The ``DeploymentCanarySettings`` property type specifies settings for the canary deployment. :param pulumi.Input[float] percent_traffic: The percentage (0.0-100.0) of traffic routed to the canary deployment. - :param Any stage_variable_overrides: 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. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] stage_variable_overrides: 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. :param pulumi.Input[bool] use_stage_cache: A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. """ if percent_traffic is not None: @@ -219,14 +219,14 @@ def percent_traffic(self, value: Optional[pulumi.Input[float]]): @property @pulumi.getter(name="stageVariableOverrides") - def stage_variable_overrides(self) -> Optional[Any]: + def stage_variable_overrides(self) -> Optional[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. """ return pulumi.get(self, "stage_variable_overrides") @stage_variable_overrides.setter - def stage_variable_overrides(self, value: Optional[Any]): + def stage_variable_overrides(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "stage_variable_overrides", value) @property @@ -246,13 +246,13 @@ def use_stage_cache(self, value: Optional[pulumi.Input[bool]]): class DeploymentCanarySettingArgs: def __init__(__self__, *, percent_traffic: Optional[pulumi.Input[float]] = None, - stage_variable_overrides: Optional[Any] = None, + stage_variable_overrides: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, use_stage_cache: Optional[pulumi.Input[bool]] = None): """ 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. :param pulumi.Input[float] percent_traffic: The percent (0-100) of traffic diverted to a canary deployment. - :param Any stage_variable_overrides: 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. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] stage_variable_overrides: 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. :param pulumi.Input[bool] use_stage_cache: A Boolean flag to indicate whether the canary deployment uses the stage cache or not. """ if percent_traffic is not None: @@ -276,14 +276,14 @@ def percent_traffic(self, value: Optional[pulumi.Input[float]]): @property @pulumi.getter(name="stageVariableOverrides") - def stage_variable_overrides(self) -> Optional[Any]: + def stage_variable_overrides(self) -> Optional[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. """ return pulumi.get(self, "stage_variable_overrides") @stage_variable_overrides.setter - def stage_variable_overrides(self, value: Optional[Any]): + def stage_variable_overrides(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "stage_variable_overrides", value) @property @@ -489,7 +489,7 @@ def __init__(__self__, *, throttling_burst_limit: Optional[pulumi.Input[int]] = None, throttling_rate_limit: Optional[pulumi.Input[float]] = None, tracing_enabled: Optional[pulumi.Input[bool]] = None, - variables: Optional[Any] = None): + variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ ``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. :param pulumi.Input['DeploymentAccessLogSettingArgs'] access_log_setting: Specifies settings for logging access in this stage. @@ -511,7 +511,7 @@ def __init__(__self__, *, :param pulumi.Input[float] throttling_rate_limit: 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*. :param pulumi.Input[bool] tracing_enabled: 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*. - :param Any variables: 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-._~:/?#&=,]+``. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] variables: 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-._~:/?#&=,]+``. """ if access_log_setting is not None: pulumi.set(__self__, "access_log_setting", access_log_setting) @@ -771,14 +771,14 @@ def tracing_enabled(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter - def variables(self) -> Optional[Any]: + def variables(self) -> Optional[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-._~:/?#&=,]+``. """ return pulumi.get(self, "variables") @variables.setter - def variables(self, value: Optional[Any]): + def variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "variables", value) @@ -988,16 +988,16 @@ class MethodIntegrationResponseArgs: def __init__(__self__, *, status_code: pulumi.Input[str], content_handling: Optional[pulumi.Input['MethodIntegrationResponseContentHandling']] = None, - response_parameters: Optional[Any] = None, - response_templates: Optional[Any] = None, + response_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + response_templates: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, selection_pattern: Optional[pulumi.Input[str]] = None): """ ``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. :param pulumi.Input[str] status_code: Specifies the status code that is used to map the integration response to an existing MethodResponse. :param pulumi.Input['MethodIntegrationResponseContentHandling'] content_handling: 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. - :param Any response_parameters: 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. - :param Any response_templates: 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. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] response_parameters: 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. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] response_templates: 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. :param pulumi.Input[str] selection_pattern: 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 LAMlong function, the LAMlong function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. """ pulumi.set(__self__, "status_code", status_code) @@ -1037,26 +1037,26 @@ def content_handling(self, value: Optional[pulumi.Input['MethodIntegrationRespon @property @pulumi.getter(name="responseParameters") - def response_parameters(self) -> Optional[Any]: + def response_parameters(self) -> Optional[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. """ return pulumi.get(self, "response_parameters") @response_parameters.setter - def response_parameters(self, value: Optional[Any]): + def response_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "response_parameters", value) @property @pulumi.getter(name="responseTemplates") - def response_templates(self) -> Optional[Any]: + def response_templates(self) -> Optional[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. """ return pulumi.get(self, "response_templates") @response_templates.setter - def response_templates(self, value: Optional[Any]): + def response_templates(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "response_templates", value) @property @@ -1085,8 +1085,8 @@ def __init__(__self__, *, integration_http_method: Optional[pulumi.Input[str]] = None, integration_responses: Optional[pulumi.Input[Sequence[pulumi.Input['MethodIntegrationResponseArgs']]]] = None, passthrough_behavior: Optional[pulumi.Input['MethodIntegrationPassthroughBehavior']] = None, - request_parameters: Optional[Any] = None, - request_templates: Optional[Any] = None, + request_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + request_templates: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, timeout_in_millis: Optional[pulumi.Input[int]] = None, uri: Optional[pulumi.Input[str]] = None): """ @@ -1103,8 +1103,8 @@ def __init__(__self__, *, :param pulumi.Input[str] integration_http_method: 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. :param pulumi.Input[Sequence[pulumi.Input['MethodIntegrationResponseArgs']]] integration_responses: Specifies the integration's responses. :param pulumi.Input['MethodIntegrationPassthroughBehavior'] passthrough_behavior: 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. - :param Any request_parameters: 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. - :param Any request_templates: 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. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] request_parameters: 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. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] request_templates: 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. :param pulumi.Input[int] timeout_in_millis: Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. :param pulumi.Input[str] uri: 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}`` @@ -1261,26 +1261,26 @@ def passthrough_behavior(self, value: Optional[pulumi.Input['MethodIntegrationPa @property @pulumi.getter(name="requestParameters") - def request_parameters(self) -> Optional[Any]: + def request_parameters(self) -> Optional[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. """ return pulumi.get(self, "request_parameters") @request_parameters.setter - def request_parameters(self, value: Optional[Any]): + def request_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "request_parameters", value) @property @pulumi.getter(name="requestTemplates") - def request_templates(self) -> Optional[Any]: + def request_templates(self) -> Optional[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. """ return pulumi.get(self, "request_templates") @request_templates.setter - def request_templates(self, value: Optional[Any]): + def request_templates(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "request_templates", value) @property @@ -1313,13 +1313,13 @@ def uri(self, value: Optional[pulumi.Input[str]]): class MethodResponseArgs: def __init__(__self__, *, status_code: pulumi.Input[str], - response_models: Optional[Any] = None, - response_parameters: Optional[Any] = None): + response_models: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + response_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[bool]]]] = None): """ Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template. :param pulumi.Input[str] status_code: The method response's status code. - :param Any response_models: 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. - :param Any response_parameters: 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.) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] response_models: 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. + :param pulumi.Input[Mapping[str, pulumi.Input[bool]]] response_parameters: 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.) """ pulumi.set(__self__, "status_code", status_code) if response_models is not None: @@ -1341,26 +1341,26 @@ def status_code(self, value: pulumi.Input[str]): @property @pulumi.getter(name="responseModels") - def response_models(self) -> Optional[Any]: + def response_models(self) -> Optional[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. """ return pulumi.get(self, "response_models") @response_models.setter - def response_models(self, value: Optional[Any]): + def response_models(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "response_models", value) @property @pulumi.getter(name="responseParameters") - def response_parameters(self) -> Optional[Any]: + def response_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[bool]]]]: """ 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.) """ return pulumi.get(self, "response_parameters") @response_parameters.setter - def response_parameters(self, value: Optional[Any]): + def response_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[bool]]]]): pulumi.set(self, "response_parameters", value) @@ -1551,13 +1551,13 @@ class StageCanarySettingArgs: def __init__(__self__, *, deployment_id: Optional[pulumi.Input[str]] = None, percent_traffic: Optional[pulumi.Input[float]] = None, - stage_variable_overrides: Optional[Any] = None, + stage_variable_overrides: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, use_stage_cache: Optional[pulumi.Input[bool]] = None): """ Configuration settings of a canary deployment. :param pulumi.Input[str] deployment_id: The ID of the canary deployment. :param pulumi.Input[float] percent_traffic: The percent (0-100) of traffic diverted to a canary deployment. - :param Any stage_variable_overrides: 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. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] stage_variable_overrides: 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. :param pulumi.Input[bool] use_stage_cache: A Boolean flag to indicate whether the canary deployment uses the stage cache or not. """ if deployment_id is not None: @@ -1595,14 +1595,14 @@ def percent_traffic(self, value: Optional[pulumi.Input[float]]): @property @pulumi.getter(name="stageVariableOverrides") - def stage_variable_overrides(self) -> Optional[Any]: + def stage_variable_overrides(self) -> Optional[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. """ return pulumi.get(self, "stage_variable_overrides") @stage_variable_overrides.setter - def stage_variable_overrides(self, value: Optional[Any]): + def stage_variable_overrides(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "stage_variable_overrides", value) @property @@ -1829,12 +1829,12 @@ class UsagePlanApiStageArgs: def __init__(__self__, *, api_id: Optional[pulumi.Input[str]] = None, stage: Optional[pulumi.Input[str]] = None, - throttle: Optional[Any] = None): + throttle: Optional[pulumi.Input[Mapping[str, pulumi.Input['UsagePlanThrottleSettingsArgs']]]] = None): """ API stage name of the associated API stage in a usage plan. :param pulumi.Input[str] api_id: API Id of the associated API stage in a usage plan. :param pulumi.Input[str] stage: API stage name of the associated API stage in a usage plan. - :param Any throttle: Map containing method level throttling information for API stage in a usage plan. + :param pulumi.Input[Mapping[str, pulumi.Input['UsagePlanThrottleSettingsArgs']]] throttle: Map containing method level throttling information for API stage in a usage plan. """ if api_id is not None: pulumi.set(__self__, "api_id", api_id) @@ -1869,14 +1869,14 @@ def stage(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def throttle(self) -> Optional[Any]: + def throttle(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['UsagePlanThrottleSettingsArgs']]]]: """ Map containing method level throttling information for API stage in a usage plan. """ return pulumi.get(self, "throttle") @throttle.setter - def throttle(self, value: Optional[Any]): + def throttle(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['UsagePlanThrottleSettingsArgs']]]]): pulumi.set(self, "throttle", value) diff --git a/sdk/python/pulumi_aws_native/apigateway/gateway_response.py b/sdk/python/pulumi_aws_native/apigateway/gateway_response.py index 37304a708b..b7634df506 100644 --- a/sdk/python/pulumi_aws_native/apigateway/gateway_response.py +++ b/sdk/python/pulumi_aws_native/apigateway/gateway_response.py @@ -16,15 +16,15 @@ class GatewayResponseArgs: def __init__(__self__, *, response_type: pulumi.Input[str], rest_api_id: pulumi.Input[str], - response_parameters: Optional[Any] = None, - response_templates: Optional[Any] = None, + response_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + response_templates: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, status_code: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a GatewayResponse resource. :param pulumi.Input[str] response_type: The response type of the associated GatewayResponse. :param pulumi.Input[str] rest_api_id: The string identifier of the associated RestApi. - :param Any response_parameters: Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. - :param Any response_templates: Response templates of the GatewayResponse as a string-to-string map of key-value pairs. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] response_parameters: Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] response_templates: Response templates of the GatewayResponse as a string-to-string map of key-value pairs. :param pulumi.Input[str] status_code: The HTTP status code for this GatewayResponse. """ pulumi.set(__self__, "response_type", response_type) @@ -62,26 +62,26 @@ def rest_api_id(self, value: pulumi.Input[str]): @property @pulumi.getter(name="responseParameters") - def response_parameters(self) -> Optional[Any]: + def response_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. """ return pulumi.get(self, "response_parameters") @response_parameters.setter - def response_parameters(self, value: Optional[Any]): + def response_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "response_parameters", value) @property @pulumi.getter(name="responseTemplates") - def response_templates(self) -> Optional[Any]: + def response_templates(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Response templates of the GatewayResponse as a string-to-string map of key-value pairs. """ return pulumi.get(self, "response_templates") @response_templates.setter - def response_templates(self, value: Optional[Any]): + def response_templates(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "response_templates", value) @property @@ -107,8 +107,8 @@ class GatewayResponse(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - response_parameters: Optional[Any] = None, - response_templates: Optional[Any] = None, + response_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + response_templates: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, response_type: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, status_code: Optional[pulumi.Input[str]] = None, @@ -118,8 +118,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param Any response_parameters: Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. - :param Any response_templates: Response templates of the GatewayResponse as a string-to-string map of key-value pairs. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] response_parameters: Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] response_templates: Response templates of the GatewayResponse as a string-to-string map of key-value pairs. :param pulumi.Input[str] response_type: The response type of the associated GatewayResponse. :param pulumi.Input[str] rest_api_id: The string identifier of the associated RestApi. :param pulumi.Input[str] status_code: The HTTP status code for this GatewayResponse. @@ -148,8 +148,8 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - response_parameters: Optional[Any] = None, - response_templates: Optional[Any] = None, + response_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + response_templates: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, response_type: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, status_code: Optional[pulumi.Input[str]] = None, @@ -205,7 +205,7 @@ def get(resource_name: str, @property @pulumi.getter(name="responseParameters") - def response_parameters(self) -> pulumi.Output[Optional[Any]]: + def response_parameters(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. """ @@ -213,7 +213,7 @@ def response_parameters(self) -> pulumi.Output[Optional[Any]]: @property @pulumi.getter(name="responseTemplates") - def response_templates(self) -> pulumi.Output[Optional[Any]]: + def response_templates(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ Response templates of the GatewayResponse as a string-to-string map of key-value pairs. """ 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 d686376a5f..5045c92657 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_gateway_response.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_gateway_response.py @@ -39,7 +39,7 @@ def id(self) -> Optional[str]: @property @pulumi.getter(name="responseParameters") - def response_parameters(self) -> Optional[Any]: + def response_parameters(self) -> Optional[Mapping[str, str]]: """ Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. """ @@ -47,7 +47,7 @@ def response_parameters(self) -> Optional[Any]: @property @pulumi.getter(name="responseTemplates") - def response_templates(self) -> Optional[Any]: + def response_templates(self) -> Optional[Mapping[str, str]]: """ Response templates of the GatewayResponse as a string-to-string map of key-value pairs. """ diff --git a/sdk/python/pulumi_aws_native/apigateway/get_method.py b/sdk/python/pulumi_aws_native/apigateway/get_method.py index 3c3827d9ee..9641e35533 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_method.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_method.py @@ -111,7 +111,7 @@ def operation_name(self) -> Optional[str]: @property @pulumi.getter(name="requestModels") - def request_models(self) -> Optional[Any]: + def request_models(self) -> Optional[Mapping[str, str]]: """ A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). """ @@ -119,7 +119,7 @@ def request_models(self) -> Optional[Any]: @property @pulumi.getter(name="requestParameters") - def request_parameters(self) -> Optional[Any]: + def request_parameters(self) -> Optional[Mapping[str, bool]]: """ A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. """ diff --git a/sdk/python/pulumi_aws_native/apigateway/get_stage.py b/sdk/python/pulumi_aws_native/apigateway/get_stage.py index 02c2d1d49f..a47e5ea565 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_stage.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_stage.py @@ -147,7 +147,7 @@ def tracing_enabled(self) -> Optional[bool]: @property @pulumi.getter - def variables(self) -> Optional[Any]: + def variables(self) -> Optional[Mapping[str, str]]: """ A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. """ diff --git a/sdk/python/pulumi_aws_native/apigateway/method.py b/sdk/python/pulumi_aws_native/apigateway/method.py index b00582fc9a..03097771dd 100644 --- a/sdk/python/pulumi_aws_native/apigateway/method.py +++ b/sdk/python/pulumi_aws_native/apigateway/method.py @@ -27,8 +27,8 @@ def __init__(__self__, *, integration: Optional[pulumi.Input['MethodIntegrationArgs']] = None, method_responses: Optional[pulumi.Input[Sequence[pulumi.Input['MethodResponseArgs']]]] = None, operation_name: Optional[pulumi.Input[str]] = None, - request_models: Optional[Any] = None, - request_parameters: Optional[Any] = None, + request_models: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + request_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[bool]]]] = None, request_validator_id: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Method resource. @@ -43,8 +43,8 @@ def __init__(__self__, *, :param pulumi.Input['MethodIntegrationArgs'] integration: Represents an ``HTTP``, ``HTTP_PROXY``, ``AWS``, ``AWS_PROXY``, or Mock integration. :param pulumi.Input[Sequence[pulumi.Input['MethodResponseArgs']]] method_responses: Gets a method response associated with a given HTTP status code. :param pulumi.Input[str] operation_name: A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example. - :param Any request_models: A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). - :param Any request_parameters: A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] request_models: A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). + :param pulumi.Input[Mapping[str, pulumi.Input[bool]]] request_parameters: A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. :param pulumi.Input[str] request_validator_id: The identifier of a RequestValidator for request validation. """ pulumi.set(__self__, "http_method", http_method) @@ -194,26 +194,26 @@ def operation_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="requestModels") - def request_models(self) -> Optional[Any]: + def request_models(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). """ return pulumi.get(self, "request_models") @request_models.setter - def request_models(self, value: Optional[Any]): + def request_models(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "request_models", value) @property @pulumi.getter(name="requestParameters") - def request_parameters(self) -> Optional[Any]: + def request_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[bool]]]]: """ A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. """ return pulumi.get(self, "request_parameters") @request_parameters.setter - def request_parameters(self, value: Optional[Any]): + def request_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[bool]]]]): pulumi.set(self, "request_parameters", value) @property @@ -242,8 +242,8 @@ def __init__(__self__, integration: Optional[pulumi.Input[pulumi.InputType['MethodIntegrationArgs']]] = None, method_responses: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MethodResponseArgs']]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, - request_models: Optional[Any] = None, - request_parameters: Optional[Any] = None, + request_models: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + request_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[bool]]]] = None, request_validator_id: Optional[pulumi.Input[str]] = None, resource_id: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, @@ -262,8 +262,8 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['MethodIntegrationArgs']] integration: Represents an ``HTTP``, ``HTTP_PROXY``, ``AWS``, ``AWS_PROXY``, or Mock integration. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MethodResponseArgs']]]] method_responses: Gets a method response associated with a given HTTP status code. :param pulumi.Input[str] operation_name: A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example. - :param Any request_models: A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). - :param Any request_parameters: A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] request_models: A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). + :param pulumi.Input[Mapping[str, pulumi.Input[bool]]] request_parameters: A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. :param pulumi.Input[str] request_validator_id: The identifier of a RequestValidator for request validation. :param pulumi.Input[str] resource_id: The Resource identifier for the MethodResponse resource. :param pulumi.Input[str] rest_api_id: The string identifier of the associated RestApi. @@ -300,8 +300,8 @@ def _internal_init(__self__, integration: Optional[pulumi.Input[pulumi.InputType['MethodIntegrationArgs']]] = None, method_responses: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MethodResponseArgs']]]]] = None, operation_name: Optional[pulumi.Input[str]] = None, - request_models: Optional[Any] = None, - request_parameters: Optional[Any] = None, + request_models: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + request_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[bool]]]] = None, request_validator_id: Optional[pulumi.Input[str]] = None, resource_id: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, @@ -439,7 +439,7 @@ def operation_name(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="requestModels") - def request_models(self) -> pulumi.Output[Optional[Any]]: + def request_models(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). """ @@ -447,7 +447,7 @@ def request_models(self) -> pulumi.Output[Optional[Any]]: @property @pulumi.getter(name="requestParameters") - def request_parameters(self) -> pulumi.Output[Optional[Any]]: + def request_parameters(self) -> pulumi.Output[Optional[Mapping[str, bool]]]: """ A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates. """ diff --git a/sdk/python/pulumi_aws_native/apigateway/outputs.py b/sdk/python/pulumi_aws_native/apigateway/outputs.py index c67099f418..934793d08f 100644 --- a/sdk/python/pulumi_aws_native/apigateway/outputs.py +++ b/sdk/python/pulumi_aws_native/apigateway/outputs.py @@ -227,13 +227,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, percent_traffic: Optional[float] = None, - stage_variable_overrides: Optional[Any] = None, + stage_variable_overrides: Optional[Mapping[str, str]] = None, use_stage_cache: Optional[bool] = None): """ 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. :param float percent_traffic: The percent (0-100) of traffic diverted to a canary deployment. - :param Any stage_variable_overrides: 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. + :param Mapping[str, str] stage_variable_overrides: 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. :param bool use_stage_cache: A Boolean flag to indicate whether the canary deployment uses the stage cache or not. """ if percent_traffic is not None: @@ -253,7 +253,7 @@ def percent_traffic(self) -> Optional[float]: @property @pulumi.getter(name="stageVariableOverrides") - def stage_variable_overrides(self) -> Optional[Any]: + def stage_variable_overrides(self) -> Optional[Mapping[str, 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. """ @@ -296,12 +296,12 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, percent_traffic: Optional[float] = None, - stage_variable_overrides: Optional[Any] = None, + stage_variable_overrides: Optional[Mapping[str, str]] = None, use_stage_cache: Optional[bool] = None): """ The ``DeploymentCanarySettings`` property type specifies settings for the canary deployment. :param float percent_traffic: The percentage (0.0-100.0) of traffic routed to the canary deployment. - :param Any stage_variable_overrides: 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. + :param Mapping[str, str] stage_variable_overrides: 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. :param bool use_stage_cache: A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. """ if percent_traffic is not None: @@ -321,7 +321,7 @@ def percent_traffic(self) -> Optional[float]: @property @pulumi.getter(name="stageVariableOverrides") - def stage_variable_overrides(self) -> Optional[Any]: + def stage_variable_overrides(self) -> Optional[Mapping[str, 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. """ @@ -575,7 +575,7 @@ def __init__(__self__, *, throttling_burst_limit: Optional[int] = None, throttling_rate_limit: Optional[float] = None, tracing_enabled: Optional[bool] = None, - variables: Optional[Any] = None): + variables: Optional[Mapping[str, str]] = None): """ ``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. :param 'DeploymentAccessLogSetting' access_log_setting: Specifies settings for logging access in this stage. @@ -597,7 +597,7 @@ def __init__(__self__, *, :param float throttling_rate_limit: 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*. :param bool tracing_enabled: 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*. - :param Any variables: 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-._~:/?#&=,]+``. + :param Mapping[str, str] variables: 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-._~:/?#&=,]+``. """ if access_log_setting is not None: pulumi.set(__self__, "access_log_setting", access_log_setting) @@ -785,7 +785,7 @@ def tracing_enabled(self) -> Optional[bool]: @property @pulumi.getter - def variables(self) -> Optional[Any]: + def variables(self) -> Optional[Mapping[str, 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-._~:/?#&=,]+``. """ @@ -1038,8 +1038,8 @@ def __init__(__self__, *, integration_http_method: Optional[str] = None, integration_responses: Optional[Sequence['outputs.MethodIntegrationResponse']] = None, passthrough_behavior: Optional['MethodIntegrationPassthroughBehavior'] = None, - request_parameters: Optional[Any] = None, - request_templates: Optional[Any] = None, + request_parameters: Optional[Mapping[str, str]] = None, + request_templates: Optional[Mapping[str, str]] = None, timeout_in_millis: Optional[int] = None, uri: Optional[str] = None): """ @@ -1056,8 +1056,8 @@ def __init__(__self__, *, :param str integration_http_method: 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. :param Sequence['MethodIntegrationResponse'] integration_responses: Specifies the integration's responses. :param 'MethodIntegrationPassthroughBehavior' passthrough_behavior: 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. - :param Any request_parameters: 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. - :param Any request_templates: 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. + :param Mapping[str, str] request_parameters: 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. + :param Mapping[str, str] request_templates: 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. :param int timeout_in_millis: Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. :param str uri: 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}`` @@ -1174,7 +1174,7 @@ def passthrough_behavior(self) -> Optional['MethodIntegrationPassthroughBehavior @property @pulumi.getter(name="requestParameters") - def request_parameters(self) -> Optional[Any]: + def request_parameters(self) -> Optional[Mapping[str, 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. """ @@ -1182,7 +1182,7 @@ def request_parameters(self) -> Optional[Any]: @property @pulumi.getter(name="requestTemplates") - def request_templates(self) -> Optional[Any]: + def request_templates(self) -> Optional[Mapping[str, 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. """ @@ -1239,16 +1239,16 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, status_code: str, content_handling: Optional['MethodIntegrationResponseContentHandling'] = None, - response_parameters: Optional[Any] = None, - response_templates: Optional[Any] = None, + response_parameters: Optional[Mapping[str, str]] = None, + response_templates: Optional[Mapping[str, str]] = None, selection_pattern: Optional[str] = None): """ ``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. :param str status_code: Specifies the status code that is used to map the integration response to an existing MethodResponse. :param 'MethodIntegrationResponseContentHandling' content_handling: 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. - :param Any response_parameters: 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. - :param Any response_templates: 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. + :param Mapping[str, str] response_parameters: 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. + :param Mapping[str, str] response_templates: 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. :param str selection_pattern: 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 LAMlong function, the LAMlong function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. """ pulumi.set(__self__, "status_code", status_code) @@ -1280,7 +1280,7 @@ def content_handling(self) -> Optional['MethodIntegrationResponseContentHandling @property @pulumi.getter(name="responseParameters") - def response_parameters(self) -> Optional[Any]: + def response_parameters(self) -> Optional[Mapping[str, 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. """ @@ -1288,7 +1288,7 @@ def response_parameters(self) -> Optional[Any]: @property @pulumi.getter(name="responseTemplates") - def response_templates(self) -> Optional[Any]: + def response_templates(self) -> Optional[Mapping[str, 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. """ @@ -1331,13 +1331,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, status_code: str, - response_models: Optional[Any] = None, - response_parameters: Optional[Any] = None): + response_models: Optional[Mapping[str, str]] = None, + response_parameters: Optional[Mapping[str, bool]] = None): """ Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template. :param str status_code: The method response's status code. - :param Any response_models: 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. - :param Any response_parameters: 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.) + :param Mapping[str, str] response_models: 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. + :param Mapping[str, bool] response_parameters: 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.) """ pulumi.set(__self__, "status_code", status_code) if response_models is not None: @@ -1355,7 +1355,7 @@ def status_code(self) -> str: @property @pulumi.getter(name="responseModels") - def response_models(self) -> Optional[Any]: + def response_models(self) -> Optional[Mapping[str, 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. """ @@ -1363,7 +1363,7 @@ def response_models(self) -> Optional[Any]: @property @pulumi.getter(name="responseParameters") - def response_parameters(self) -> Optional[Any]: + def response_parameters(self) -> Optional[Mapping[str, bool]]: """ 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.) """ @@ -1606,13 +1606,13 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, deployment_id: Optional[str] = None, percent_traffic: Optional[float] = None, - stage_variable_overrides: Optional[Any] = None, + stage_variable_overrides: Optional[Mapping[str, str]] = None, use_stage_cache: Optional[bool] = None): """ Configuration settings of a canary deployment. :param str deployment_id: The ID of the canary deployment. :param float percent_traffic: The percent (0-100) of traffic diverted to a canary deployment. - :param Any stage_variable_overrides: 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. + :param Mapping[str, str] stage_variable_overrides: 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. :param bool use_stage_cache: A Boolean flag to indicate whether the canary deployment uses the stage cache or not. """ if deployment_id is not None: @@ -1642,7 +1642,7 @@ def percent_traffic(self) -> Optional[float]: @property @pulumi.getter(name="stageVariableOverrides") - def stage_variable_overrides(self) -> Optional[Any]: + def stage_variable_overrides(self) -> Optional[Mapping[str, 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. """ @@ -1879,12 +1879,12 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, api_id: Optional[str] = None, stage: Optional[str] = None, - throttle: Optional[Any] = None): + throttle: Optional[Mapping[str, 'outputs.UsagePlanThrottleSettings']] = None): """ API stage name of the associated API stage in a usage plan. :param str api_id: API Id of the associated API stage in a usage plan. :param str stage: API stage name of the associated API stage in a usage plan. - :param Any throttle: Map containing method level throttling information for API stage in a usage plan. + :param Mapping[str, 'UsagePlanThrottleSettings'] throttle: Map containing method level throttling information for API stage in a usage plan. """ if api_id is not None: pulumi.set(__self__, "api_id", api_id) @@ -1911,7 +1911,7 @@ def stage(self) -> Optional[str]: @property @pulumi.getter - def throttle(self) -> Optional[Any]: + def throttle(self) -> Optional[Mapping[str, 'outputs.UsagePlanThrottleSettings']]: """ Map containing method level throttling information for API stage in a usage plan. """ diff --git a/sdk/python/pulumi_aws_native/apigateway/rest_api.py b/sdk/python/pulumi_aws_native/apigateway/rest_api.py index 1dbe3ec6a7..a1b4e2a128 100644 --- a/sdk/python/pulumi_aws_native/apigateway/rest_api.py +++ b/sdk/python/pulumi_aws_native/apigateway/rest_api.py @@ -28,7 +28,7 @@ def __init__(__self__, *, minimum_compression_size: Optional[pulumi.Input[int]] = None, mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, policy: Optional[Any] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['RestApiTagArgs']]]] = None): """ @@ -50,7 +50,7 @@ def __init__(__self__, *, If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is ``overwrite``. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level ``RestApi`` properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties. :param pulumi.Input[str] name: The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification. - :param Any parameters: Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. :param Any policy: A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``. :param pulumi.Input[Sequence[pulumi.Input['RestApiTagArgs']]] tags: The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters. """ @@ -236,14 +236,14 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def parameters(self) -> Optional[Any]: + def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. """ return pulumi.get(self, "parameters") @parameters.setter - def parameters(self, value: Optional[Any]): + def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "parameters", value) @property @@ -288,7 +288,7 @@ def __init__(__self__, minimum_compression_size: Optional[pulumi.Input[int]] = None, mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, policy: Optional[Any] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RestApiTagArgs']]]]] = None, __props__=None): @@ -315,7 +315,7 @@ def __init__(__self__, If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is ``overwrite``. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. Use the default mode to define top-level ``RestApi`` properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties. :param pulumi.Input[str] name: The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification. - :param Any parameters: Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. :param Any policy: A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RestApiTagArgs']]]] tags: The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters. """ @@ -356,7 +356,7 @@ def _internal_init(__self__, minimum_compression_size: Optional[pulumi.Input[int]] = None, mode: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, policy: Optional[Any] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RestApiTagArgs']]]]] = None, __props__=None): @@ -529,7 +529,7 @@ def name(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter - def parameters(self) -> pulumi.Output[Optional[Any]]: + def parameters(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. """ diff --git a/sdk/python/pulumi_aws_native/apigateway/stage.py b/sdk/python/pulumi_aws_native/apigateway/stage.py index 6066e3ffeb..57125d21f5 100644 --- a/sdk/python/pulumi_aws_native/apigateway/stage.py +++ b/sdk/python/pulumi_aws_native/apigateway/stage.py @@ -29,7 +29,7 @@ def __init__(__self__, *, stage_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['StageTagArgs']]]] = None, tracing_enabled: Optional[pulumi.Input[bool]] = None, - variables: Optional[Any] = None): + variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a Stage resource. :param pulumi.Input[str] rest_api_id: The string identifier of the associated RestApi. @@ -45,7 +45,7 @@ def __init__(__self__, *, :param pulumi.Input[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. :param pulumi.Input[Sequence[pulumi.Input['StageTagArgs']]] tags: The collection of tags. Each tag element is associated with a given resource. :param pulumi.Input[bool] tracing_enabled: Specifies whether active tracing with X-ray is enabled for the Stage. - :param Any variables: A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] variables: A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. """ pulumi.set(__self__, "rest_api_id", rest_api_id) if access_log_setting is not None: @@ -233,14 +233,14 @@ def tracing_enabled(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter - def variables(self) -> Optional[Any]: + def variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. """ return pulumi.get(self, "variables") @variables.setter - def variables(self, value: Optional[Any]): + def variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "variables", value) @@ -262,7 +262,7 @@ def __init__(__self__, stage_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StageTagArgs']]]]] = None, tracing_enabled: Optional[pulumi.Input[bool]] = None, - variables: Optional[Any] = None, + variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ The ``AWS::ApiGateway::Stage`` resource creates a stage for a deployment. @@ -282,7 +282,7 @@ def __init__(__self__, :param pulumi.Input[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. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StageTagArgs']]]] tags: The collection of tags. Each tag element is associated with a given resource. :param pulumi.Input[bool] tracing_enabled: Specifies whether active tracing with X-ray is enabled for the Stage. - :param Any variables: A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] variables: A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. """ ... @overload @@ -321,7 +321,7 @@ def _internal_init(__self__, stage_name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['StageTagArgs']]]]] = None, tracing_enabled: Optional[pulumi.Input[bool]] = None, - variables: Optional[Any] = None, + variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -493,7 +493,7 @@ def tracing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter - def variables(self) -> pulumi.Output[Optional[Any]]: + def variables(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. """ diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/api.py b/sdk/python/pulumi_aws_native/apigatewayv2/api.py index 5781dc5130..a5527d87e9 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/api.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/api.py @@ -30,7 +30,7 @@ def __init__(__self__, *, protocol_type: Optional[pulumi.Input[str]] = None, route_key: Optional[pulumi.Input[str]] = None, route_selection_expression: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None): """ @@ -49,7 +49,7 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol_type: The API protocol. Valid values are ``WEBSOCKET`` or ``HTTP``. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``. :param pulumi.Input[str] route_key: This property is part of quick create. If you don't specify a ``routeKey``, a default route of ``$default`` is created. The ``$default`` route acts as a catch-all for any request made to your API, for a particular stage. The ``$default`` route key can't be modified. You can add routes after creating the API, and you can update the route keys of additional routes. Supported only for HTTP APIs. :param pulumi.Input[str] route_selection_expression: The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs. - :param Any tags: The collection of tags. Each tag element is associated with a given resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The collection of tags. Each tag element is associated with a given resource. :param pulumi.Input[str] target: This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs. :param pulumi.Input[str] version: A version identifier for the API. """ @@ -258,14 +258,14 @@ def route_selection_expression(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The collection of tags. Each tag element is associated with a given resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -312,7 +312,7 @@ def __init__(__self__, protocol_type: Optional[pulumi.Input[str]] = None, route_key: Optional[pulumi.Input[str]] = None, route_selection_expression: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, __props__=None): @@ -335,7 +335,7 @@ def __init__(__self__, :param pulumi.Input[str] protocol_type: The API protocol. Valid values are ``WEBSOCKET`` or ``HTTP``. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``. :param pulumi.Input[str] route_key: This property is part of quick create. If you don't specify a ``routeKey``, a default route of ``$default`` is created. The ``$default`` route acts as a catch-all for any request made to your API, for a particular stage. The ``$default`` route key can't be modified. You can add routes after creating the API, and you can update the route keys of additional routes. Supported only for HTTP APIs. :param pulumi.Input[str] route_selection_expression: The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs. - :param Any tags: The collection of tags. Each tag element is associated with a given resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The collection of tags. Each tag element is associated with a given resource. :param pulumi.Input[str] target: This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs. :param pulumi.Input[str] version: A version identifier for the API. """ @@ -377,7 +377,7 @@ def _internal_init(__self__, protocol_type: Optional[pulumi.Input[str]] = None, route_key: Optional[pulumi.Input[str]] = None, route_selection_expression: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, __props__=None): @@ -577,7 +577,7 @@ def route_selection_expression(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The collection of tags. Each tag element is associated with a given resource. """ diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/domain_name.py b/sdk/python/pulumi_aws_native/apigatewayv2/domain_name.py index 2deed25c3e..c53ca06f3b 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/domain_name.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/domain_name.py @@ -19,13 +19,13 @@ def __init__(__self__, *, domain_name: pulumi.Input[str], domain_name_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['DomainNameConfigurationArgs']]]] = None, mutual_tls_authentication: Optional[pulumi.Input['DomainNameMutualTlsAuthenticationArgs']] = None, - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a DomainName resource. :param pulumi.Input[str] domain_name: The custom domain name for your API in Amazon API Gateway. Uppercase letters are not supported. :param pulumi.Input[Sequence[pulumi.Input['DomainNameConfigurationArgs']]] domain_name_configurations: The domain name configurations. :param pulumi.Input['DomainNameMutualTlsAuthenticationArgs'] mutual_tls_authentication: The mutual TLS authentication configuration for a custom domain name. - :param Any tags: The collection of tags associated with a domain name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The collection of tags associated with a domain name. """ pulumi.set(__self__, "domain_name", domain_name) if domain_name_configurations is not None: @@ -73,14 +73,14 @@ def mutual_tls_authentication(self, value: Optional[pulumi.Input['DomainNameMutu @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The collection of tags associated with a domain name. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -92,7 +92,7 @@ def __init__(__self__, domain_name: Optional[pulumi.Input[str]] = None, domain_name_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DomainNameConfigurationArgs']]]]] = None, mutual_tls_authentication: Optional[pulumi.Input[pulumi.InputType['DomainNameMutualTlsAuthenticationArgs']]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ The ``AWS::ApiGatewayV2::DomainName`` resource specifies a custom domain name for your API in Amazon API Gateway (API Gateway). @@ -103,7 +103,7 @@ def __init__(__self__, :param pulumi.Input[str] domain_name: The custom domain name for your API in Amazon API Gateway. Uppercase letters are not supported. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DomainNameConfigurationArgs']]]] domain_name_configurations: The domain name configurations. :param pulumi.Input[pulumi.InputType['DomainNameMutualTlsAuthenticationArgs']] mutual_tls_authentication: The mutual TLS authentication configuration for a custom domain name. - :param Any tags: The collection of tags associated with a domain name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The collection of tags associated with a domain name. """ ... @overload @@ -133,7 +133,7 @@ def _internal_init(__self__, domain_name: Optional[pulumi.Input[str]] = None, domain_name_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DomainNameConfigurationArgs']]]]] = None, mutual_tls_authentication: Optional[pulumi.Input[pulumi.InputType['DomainNameMutualTlsAuthenticationArgs']]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -219,7 +219,7 @@ def regional_hosted_zone_id(self) -> pulumi.Output[str]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The collection of tags associated with a domain name. """ diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_api.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_api.py index 7e8d7f359c..d70b20c76b 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_api.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_api.py @@ -111,7 +111,7 @@ def route_selection_expression(self) -> Optional[str]: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ The collection of tags. Each tag element is associated with a given resource. """ 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 31583f2e9c..64a13d2b5a 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_domain_name.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_domain_name.py @@ -64,7 +64,7 @@ def regional_hosted_zone_id(self) -> Optional[str]: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ The collection of tags associated with a domain name. """ 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 27d7b271fa..3904147f50 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_vpc_link.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_vpc_link.py @@ -36,7 +36,7 @@ def name(self) -> Optional[str]: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ This resource type use map for Tags, suggest to use List of Tag """ diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/vpc_link.py b/sdk/python/pulumi_aws_native/apigatewayv2/vpc_link.py index 433bc7414e..28e03c3e4b 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/vpc_link.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/vpc_link.py @@ -17,10 +17,10 @@ def __init__(__self__, *, subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]], name: Optional[pulumi.Input[str]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a VpcLink resource. - :param Any tags: This resource type use map for Tags, suggest to use List of Tag + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: This resource type use map for Tags, suggest to use List of Tag """ pulumi.set(__self__, "subnet_ids", subnet_ids) if name is not None: @@ -59,14 +59,14 @@ def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ This resource type use map for Tags, suggest to use List of Tag """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -78,14 +78,14 @@ def __init__(__self__, name: Optional[pulumi.Input[str]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ Resource Type definition for AWS::ApiGatewayV2::VpcLink :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param Any tags: This resource type use map for Tags, suggest to use List of Tag + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: This resource type use map for Tags, suggest to use List of Tag """ ... @overload @@ -114,7 +114,7 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -179,7 +179,7 @@ def subnet_ids(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ This resource type use map for Tags, suggest to use List of Tag """ diff --git a/sdk/python/pulumi_aws_native/appconfig/_inputs.py b/sdk/python/pulumi_aws_native/appconfig/_inputs.py index f816171566..6b882a07c4 100644 --- a/sdk/python/pulumi_aws_native/appconfig/_inputs.py +++ b/sdk/python/pulumi_aws_native/appconfig/_inputs.py @@ -17,7 +17,9 @@ 'DeploymentTagsArgs', 'EnvironmentMonitorArgs', 'EnvironmentTagArgs', + 'ExtensionActionArgs', 'ExtensionAssociationTagArgs', + 'ExtensionParameterArgs', 'ExtensionTagArgs', ] @@ -274,6 +276,76 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +@pulumi.input_type +class ExtensionActionArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + uri: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + role_arn: Optional[pulumi.Input[str]] = None): + """ + An action for an extension to take at a specific action point. + :param pulumi.Input[str] name: The name of the extension action. + :param pulumi.Input[str] uri: The URI of the extension action. + :param pulumi.Input[str] description: The description of the extension Action. + :param pulumi.Input[str] role_arn: The ARN of the role for invoking the extension action. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if description is not None: + pulumi.set(__self__, "description", description) + if role_arn is not None: + pulumi.set(__self__, "role_arn", role_arn) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The name of the extension action. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + """ + The URI of the extension action. + """ + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the extension Action. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="roleArn") + def role_arn(self) -> Optional[pulumi.Input[str]]: + """ + The ARN of the role for invoking the extension action. + """ + return pulumi.get(self, "role_arn") + + @role_arn.setter + def role_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role_arn", value) + + @pulumi.input_type class ExtensionAssociationTagArgs: def __init__(__self__, *, @@ -312,6 +384,41 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +@pulumi.input_type +class ExtensionParameterArgs: + def __init__(__self__, *, + required: pulumi.Input[bool], + description: Optional[pulumi.Input[str]] = None): + """ + A parameter for the extension to send to a specific action. + :param pulumi.Input[str] description: The description of the extension Parameter. + """ + pulumi.set(__self__, "required", required) + if description is not None: + pulumi.set(__self__, "description", description) + + @property + @pulumi.getter + def required(self) -> pulumi.Input[bool]: + return pulumi.get(self, "required") + + @required.setter + def required(self, value: pulumi.Input[bool]): + pulumi.set(self, "required", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the extension Parameter. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @pulumi.input_type class ExtensionTagArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/appconfig/extension.py b/sdk/python/pulumi_aws_native/appconfig/extension.py index 0d63b5f91d..1d673d85d1 100644 --- a/sdk/python/pulumi_aws_native/appconfig/extension.py +++ b/sdk/python/pulumi_aws_native/appconfig/extension.py @@ -16,11 +16,11 @@ @pulumi.input_type class ExtensionArgs: def __init__(__self__, *, - actions: Any, + actions: pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input['ExtensionActionArgs']]]]], description: Optional[pulumi.Input[str]] = None, latest_version_number: Optional[pulumi.Input[int]] = None, name: Optional[pulumi.Input[str]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input['ExtensionParameterArgs']]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['ExtensionTagArgs']]]] = None): """ The set of arguments for constructing a Extension resource. @@ -42,11 +42,11 @@ def __init__(__self__, *, @property @pulumi.getter - def actions(self) -> Any: + def actions(self) -> pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input['ExtensionActionArgs']]]]]: return pulumi.get(self, "actions") @actions.setter - def actions(self, value: Any): + def actions(self, value: pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input['ExtensionActionArgs']]]]]): pulumi.set(self, "actions", value) @property @@ -84,11 +84,11 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def parameters(self) -> Optional[Any]: + def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['ExtensionParameterArgs']]]]: return pulumi.get(self, "parameters") @parameters.setter - def parameters(self, value: Optional[Any]): + def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['ExtensionParameterArgs']]]]): pulumi.set(self, "parameters", value) @property @@ -109,11 +109,11 @@ class Extension(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - actions: Optional[Any] = None, + actions: Optional[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ExtensionActionArgs']]]]]]] = None, description: Optional[pulumi.Input[str]] = None, latest_version_number: Optional[pulumi.Input[int]] = None, name: Optional[pulumi.Input[str]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ExtensionParameterArgs']]]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ExtensionTagArgs']]]]] = None, __props__=None): """ @@ -149,11 +149,11 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - actions: Optional[Any] = None, + actions: Optional[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ExtensionActionArgs']]]]]]] = None, description: Optional[pulumi.Input[str]] = None, latest_version_number: Optional[pulumi.Input[int]] = None, name: Optional[pulumi.Input[str]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ExtensionParameterArgs']]]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ExtensionTagArgs']]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -210,7 +210,7 @@ def get(resource_name: str, @property @pulumi.getter - def actions(self) -> pulumi.Output[Any]: + def actions(self) -> pulumi.Output[Mapping[str, Sequence['outputs.ExtensionAction']]]: return pulumi.get(self, "actions") @property @@ -241,7 +241,7 @@ def name(self) -> pulumi.Output[str]: @property @pulumi.getter - def parameters(self) -> pulumi.Output[Optional[Any]]: + def parameters(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.ExtensionParameter']]]: return pulumi.get(self, "parameters") @property diff --git a/sdk/python/pulumi_aws_native/appconfig/extension_association.py b/sdk/python/pulumi_aws_native/appconfig/extension_association.py index 48d55612b9..dd14dd921a 100644 --- a/sdk/python/pulumi_aws_native/appconfig/extension_association.py +++ b/sdk/python/pulumi_aws_native/appconfig/extension_association.py @@ -18,7 +18,7 @@ class ExtensionAssociationArgs: def __init__(__self__, *, extension_identifier: Optional[pulumi.Input[str]] = None, extension_version_number: Optional[pulumi.Input[int]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, resource_identifier: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['ExtensionAssociationTagArgs']]]] = None): """ @@ -56,11 +56,11 @@ def extension_version_number(self, value: Optional[pulumi.Input[int]]): @property @pulumi.getter - def parameters(self) -> Optional[Any]: + def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "parameters") @parameters.setter - def parameters(self, value: Optional[Any]): + def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "parameters", value) @property @@ -92,7 +92,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, extension_identifier: Optional[pulumi.Input[str]] = None, extension_version_number: Optional[pulumi.Input[int]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, resource_identifier: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ExtensionAssociationTagArgs']]]]] = None, __props__=None): @@ -129,7 +129,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, extension_identifier: Optional[pulumi.Input[str]] = None, extension_version_number: Optional[pulumi.Input[int]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, resource_identifier: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ExtensionAssociationTagArgs']]]]] = None, __props__=None): @@ -205,7 +205,7 @@ def extension_version_number(self) -> pulumi.Output[Optional[int]]: @property @pulumi.getter - def parameters(self) -> pulumi.Output[Optional[Any]]: + def parameters(self) -> pulumi.Output[Optional[Mapping[str, str]]]: return pulumi.get(self, "parameters") @property diff --git a/sdk/python/pulumi_aws_native/appconfig/get_extension.py b/sdk/python/pulumi_aws_native/appconfig/get_extension.py index 58997a9c28..93c3ca585a 100644 --- a/sdk/python/pulumi_aws_native/appconfig/get_extension.py +++ b/sdk/python/pulumi_aws_native/appconfig/get_extension.py @@ -8,6 +8,7 @@ import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities +from . import outputs __all__ = [ 'GetExtensionResult', @@ -40,7 +41,7 @@ def __init__(__self__, actions=None, arn=None, description=None, id=None, parame @property @pulumi.getter - def actions(self) -> Optional[Any]: + def actions(self) -> Optional[Mapping[str, Sequence['outputs.ExtensionAction']]]: return pulumi.get(self, "actions") @property @@ -63,7 +64,7 @@ def id(self) -> Optional[str]: @property @pulumi.getter - def parameters(self) -> Optional[Any]: + def parameters(self) -> Optional[Mapping[str, 'outputs.ExtensionParameter']]: return pulumi.get(self, "parameters") @property 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 f0d19d386f..4b368e593f 100644 --- a/sdk/python/pulumi_aws_native/appconfig/get_extension_association.py +++ b/sdk/python/pulumi_aws_native/appconfig/get_extension_association.py @@ -52,7 +52,7 @@ def id(self) -> Optional[str]: @property @pulumi.getter - def parameters(self) -> Optional[Any]: + def parameters(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "parameters") @property diff --git a/sdk/python/pulumi_aws_native/appconfig/outputs.py b/sdk/python/pulumi_aws_native/appconfig/outputs.py index 57e23efdab..821f46385d 100644 --- a/sdk/python/pulumi_aws_native/appconfig/outputs.py +++ b/sdk/python/pulumi_aws_native/appconfig/outputs.py @@ -17,7 +17,9 @@ 'DeploymentTags', 'EnvironmentMonitor', 'EnvironmentTag', + 'ExtensionAction', 'ExtensionAssociationTag', + 'ExtensionParameter', 'ExtensionTag', ] @@ -252,6 +254,80 @@ def value(self) -> str: return pulumi.get(self, "value") +@pulumi.output_type +class ExtensionAction(dict): + """ + An action for an extension to take at a specific action point. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "roleArn": + suggest = "role_arn" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExtensionAction. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ExtensionAction.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ExtensionAction.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + uri: str, + description: Optional[str] = None, + role_arn: Optional[str] = None): + """ + An action for an extension to take at a specific action point. + :param str name: The name of the extension action. + :param str uri: The URI of the extension action. + :param str description: The description of the extension Action. + :param str role_arn: The ARN of the role for invoking the extension action. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "uri", uri) + if description is not None: + pulumi.set(__self__, "description", description) + if role_arn is not None: + pulumi.set(__self__, "role_arn", role_arn) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the extension action. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def uri(self) -> str: + """ + The URI of the extension action. + """ + return pulumi.get(self, "uri") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the extension Action. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="roleArn") + def role_arn(self) -> Optional[str]: + """ + The ARN of the role for invoking the extension action. + """ + return pulumi.get(self, "role_arn") + + @pulumi.output_type class ExtensionAssociationTag(dict): """ @@ -285,6 +361,36 @@ def value(self) -> str: return pulumi.get(self, "value") +@pulumi.output_type +class ExtensionParameter(dict): + """ + A parameter for the extension to send to a specific action. + """ + def __init__(__self__, *, + required: bool, + description: Optional[str] = None): + """ + A parameter for the extension to send to a specific action. + :param str description: The description of the extension Parameter. + """ + pulumi.set(__self__, "required", required) + if description is not None: + pulumi.set(__self__, "description", description) + + @property + @pulumi.getter + def required(self) -> bool: + return pulumi.get(self, "required") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the extension Parameter. + """ + return pulumi.get(self, "description") + + @pulumi.output_type class ExtensionTag(dict): """ diff --git a/sdk/python/pulumi_aws_native/appintegrations/_inputs.py b/sdk/python/pulumi_aws_native/appintegrations/_inputs.py index 93e3441371..a22427f051 100644 --- a/sdk/python/pulumi_aws_native/appintegrations/_inputs.py +++ b/sdk/python/pulumi_aws_native/appintegrations/_inputs.py @@ -22,11 +22,11 @@ class DataIntegrationFileConfigurationArgs: def __init__(__self__, *, folders: pulumi.Input[Sequence[pulumi.Input[str]]], - filters: Optional[Any] = None): + filters: Optional[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]]] = None): """ The configuration for what files should be pulled from the source. :param pulumi.Input[Sequence[pulumi.Input[str]]] folders: Identifiers for the source folders to pull all files from recursively. - :param Any filters: Restrictions for what files should be pulled from the source. + :param pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]] filters: Restrictions for what files should be pulled from the source. """ pulumi.set(__self__, "folders", folders) if filters is not None: @@ -46,14 +46,14 @@ def folders(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): @property @pulumi.getter - def filters(self) -> Optional[Any]: + def filters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]]]: """ Restrictions for what files should be pulled from the source. """ return pulumi.get(self, "filters") @filters.setter - def filters(self, value: Optional[Any]): + def filters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]]]): pulumi.set(self, "filters", value) diff --git a/sdk/python/pulumi_aws_native/appintegrations/outputs.py b/sdk/python/pulumi_aws_native/appintegrations/outputs.py index 8d687309a1..0daba24a6e 100644 --- a/sdk/python/pulumi_aws_native/appintegrations/outputs.py +++ b/sdk/python/pulumi_aws_native/appintegrations/outputs.py @@ -25,11 +25,11 @@ class DataIntegrationFileConfiguration(dict): """ def __init__(__self__, *, folders: Sequence[str], - filters: Optional[Any] = None): + filters: Optional[Mapping[str, Sequence[str]]] = None): """ The configuration for what files should be pulled from the source. :param Sequence[str] folders: Identifiers for the source folders to pull all files from recursively. - :param Any filters: Restrictions for what files should be pulled from the source. + :param Mapping[str, Sequence[str]] filters: Restrictions for what files should be pulled from the source. """ pulumi.set(__self__, "folders", folders) if filters is not None: @@ -45,7 +45,7 @@ def folders(self) -> Sequence[str]: @property @pulumi.getter - def filters(self) -> Optional[Any]: + def filters(self) -> Optional[Mapping[str, Sequence[str]]]: """ Restrictions for what files should be pulled from the source. """ diff --git a/sdk/python/pulumi_aws_native/athena/data_catalog.py b/sdk/python/pulumi_aws_native/athena/data_catalog.py index 95b106e3d4..3628a44732 100644 --- a/sdk/python/pulumi_aws_native/athena/data_catalog.py +++ b/sdk/python/pulumi_aws_native/athena/data_catalog.py @@ -20,14 +20,14 @@ def __init__(__self__, *, type: pulumi.Input['DataCatalogType'], description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['DataCatalogTagArgs']]]] = None): """ The set of arguments for constructing a DataCatalog resource. :param pulumi.Input['DataCatalogType'] type: The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. :param pulumi.Input[str] description: A description of the data catalog to be created. :param pulumi.Input[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. - :param Any parameters: Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. :param pulumi.Input[Sequence[pulumi.Input['DataCatalogTagArgs']]] tags: A list of comma separated tags to add to the data catalog that is created. """ pulumi.set(__self__, "type", type) @@ -78,14 +78,14 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def parameters(self) -> Optional[Any]: + def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. """ return pulumi.get(self, "parameters") @parameters.setter - def parameters(self, value: Optional[Any]): + def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "parameters", value) @property @@ -108,7 +108,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DataCatalogTagArgs']]]]] = None, type: Optional[pulumi.Input['DataCatalogType']] = None, __props__=None): @@ -119,7 +119,7 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] description: A description of the data catalog to be created. :param pulumi.Input[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. - :param Any parameters: Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] parameters: Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DataCatalogTagArgs']]]] tags: A list of comma separated tags to add to the data catalog that is created. :param pulumi.Input['DataCatalogType'] type: The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. """ @@ -149,7 +149,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DataCatalogTagArgs']]]]] = None, type: Optional[pulumi.Input['DataCatalogType']] = None, __props__=None): @@ -217,7 +217,7 @@ def name(self) -> pulumi.Output[str]: @property @pulumi.getter - def parameters(self) -> pulumi.Output[Optional[Any]]: + def parameters(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. """ 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 cee0dc3125..8785d2ea9e 100644 --- a/sdk/python/pulumi_aws_native/athena/get_data_catalog.py +++ b/sdk/python/pulumi_aws_native/athena/get_data_catalog.py @@ -44,7 +44,7 @@ def description(self) -> Optional[str]: @property @pulumi.getter - def parameters(self) -> Optional[Any]: + def parameters(self) -> Optional[Mapping[str, str]]: """ Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. """ diff --git a/sdk/python/pulumi_aws_native/backup/_inputs.py b/sdk/python/pulumi_aws_native/backup/_inputs.py index 227ee47e09..7129c030bc 100644 --- a/sdk/python/pulumi_aws_native/backup/_inputs.py +++ b/sdk/python/pulumi_aws_native/backup/_inputs.py @@ -72,7 +72,7 @@ def __init__(__self__, *, copy_actions: Optional[pulumi.Input[Sequence[pulumi.Input['BackupPlanCopyActionResourceTypeArgs']]]] = None, enable_continuous_backup: Optional[pulumi.Input[bool]] = None, lifecycle: Optional[pulumi.Input['BackupPlanLifecycleResourceTypeArgs']] = None, - recovery_point_tags: Optional[Any] = None, + recovery_point_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, schedule_expression: Optional[pulumi.Input[str]] = None, schedule_expression_timezone: Optional[pulumi.Input[str]] = None, start_window_minutes: Optional[pulumi.Input[float]] = None): @@ -151,11 +151,11 @@ def lifecycle(self, value: Optional[pulumi.Input['BackupPlanLifecycleResourceTyp @property @pulumi.getter(name="recoveryPointTags") - def recovery_point_tags(self) -> Optional[Any]: + def recovery_point_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "recovery_point_tags") @recovery_point_tags.setter - def recovery_point_tags(self, value: Optional[Any]): + def recovery_point_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "recovery_point_tags", value) @property diff --git a/sdk/python/pulumi_aws_native/backup/backup_plan.py b/sdk/python/pulumi_aws_native/backup/backup_plan.py index 085f9fee06..719b9f7922 100644 --- a/sdk/python/pulumi_aws_native/backup/backup_plan.py +++ b/sdk/python/pulumi_aws_native/backup/backup_plan.py @@ -17,7 +17,7 @@ class BackupPlanArgs: def __init__(__self__, *, backup_plan: pulumi.Input['BackupPlanResourceTypeArgs'], - backup_plan_tags: Optional[Any] = None): + backup_plan_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a BackupPlan resource. """ @@ -36,11 +36,11 @@ def backup_plan(self, value: pulumi.Input['BackupPlanResourceTypeArgs']): @property @pulumi.getter(name="backupPlanTags") - def backup_plan_tags(self) -> Optional[Any]: + def backup_plan_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "backup_plan_tags") @backup_plan_tags.setter - def backup_plan_tags(self, value: Optional[Any]): + def backup_plan_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "backup_plan_tags", value) @@ -50,7 +50,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, backup_plan: Optional[pulumi.Input[pulumi.InputType['BackupPlanResourceTypeArgs']]] = None, - backup_plan_tags: Optional[Any] = None, + backup_plan_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ Resource Type definition for AWS::Backup::BackupPlan @@ -83,7 +83,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, backup_plan: Optional[pulumi.Input[pulumi.InputType['BackupPlanResourceTypeArgs']]] = None, - backup_plan_tags: Optional[Any] = None, + backup_plan_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -146,7 +146,7 @@ def backup_plan_id(self) -> pulumi.Output[str]: @property @pulumi.getter(name="backupPlanTags") - def backup_plan_tags(self) -> pulumi.Output[Optional[Any]]: + def backup_plan_tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: return pulumi.get(self, "backup_plan_tags") @property diff --git a/sdk/python/pulumi_aws_native/backup/backup_vault.py b/sdk/python/pulumi_aws_native/backup/backup_vault.py index 93dc6c9e03..2a5b06cf1e 100644 --- a/sdk/python/pulumi_aws_native/backup/backup_vault.py +++ b/sdk/python/pulumi_aws_native/backup/backup_vault.py @@ -18,7 +18,7 @@ class BackupVaultArgs: def __init__(__self__, *, access_policy: Optional[Any] = None, backup_vault_name: Optional[pulumi.Input[str]] = None, - backup_vault_tags: Optional[Any] = None, + backup_vault_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, encryption_key_arn: Optional[pulumi.Input[str]] = None, lock_configuration: Optional[pulumi.Input['BackupVaultLockConfigurationTypeArgs']] = None, notifications: Optional[pulumi.Input['BackupVaultNotificationObjectTypeArgs']] = None): @@ -58,11 +58,11 @@ def backup_vault_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="backupVaultTags") - def backup_vault_tags(self) -> Optional[Any]: + def backup_vault_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "backup_vault_tags") @backup_vault_tags.setter - def backup_vault_tags(self, value: Optional[Any]): + def backup_vault_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "backup_vault_tags", value) @property @@ -100,7 +100,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, access_policy: Optional[Any] = None, backup_vault_name: Optional[pulumi.Input[str]] = None, - backup_vault_tags: Optional[Any] = None, + backup_vault_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, encryption_key_arn: Optional[pulumi.Input[str]] = None, lock_configuration: Optional[pulumi.Input[pulumi.InputType['BackupVaultLockConfigurationTypeArgs']]] = None, notifications: Optional[pulumi.Input[pulumi.InputType['BackupVaultNotificationObjectTypeArgs']]] = None, @@ -137,7 +137,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, access_policy: Optional[Any] = None, backup_vault_name: Optional[pulumi.Input[str]] = None, - backup_vault_tags: Optional[Any] = None, + backup_vault_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, encryption_key_arn: Optional[pulumi.Input[str]] = None, lock_configuration: Optional[pulumi.Input[pulumi.InputType['BackupVaultLockConfigurationTypeArgs']]] = None, notifications: Optional[pulumi.Input[pulumi.InputType['BackupVaultNotificationObjectTypeArgs']]] = None, @@ -207,7 +207,7 @@ def backup_vault_name(self) -> pulumi.Output[str]: @property @pulumi.getter(name="backupVaultTags") - def backup_vault_tags(self) -> pulumi.Output[Optional[Any]]: + def backup_vault_tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: return pulumi.get(self, "backup_vault_tags") @property 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 6697e2ea2c..91dfe39f82 100644 --- a/sdk/python/pulumi_aws_native/backup/get_backup_plan.py +++ b/sdk/python/pulumi_aws_native/backup/get_backup_plan.py @@ -53,7 +53,7 @@ def backup_plan_id(self) -> Optional[str]: @property @pulumi.getter(name="backupPlanTags") - def backup_plan_tags(self) -> Optional[Any]: + def backup_plan_tags(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "backup_plan_tags") @property 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 65b7e5b444..9237dd5672 100644 --- a/sdk/python/pulumi_aws_native/backup/get_backup_vault.py +++ b/sdk/python/pulumi_aws_native/backup/get_backup_vault.py @@ -48,7 +48,7 @@ def backup_vault_arn(self) -> Optional[str]: @property @pulumi.getter(name="backupVaultTags") - def backup_vault_tags(self) -> Optional[Any]: + def backup_vault_tags(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "backup_vault_tags") @property diff --git a/sdk/python/pulumi_aws_native/backup/outputs.py b/sdk/python/pulumi_aws_native/backup/outputs.py index 38fd744aca..e91c72bffa 100644 --- a/sdk/python/pulumi_aws_native/backup/outputs.py +++ b/sdk/python/pulumi_aws_native/backup/outputs.py @@ -117,7 +117,7 @@ def __init__(__self__, *, copy_actions: Optional[Sequence['outputs.BackupPlanCopyActionResourceType']] = None, enable_continuous_backup: Optional[bool] = None, lifecycle: Optional['outputs.BackupPlanLifecycleResourceType'] = None, - recovery_point_tags: Optional[Any] = None, + recovery_point_tags: Optional[Mapping[str, str]] = None, schedule_expression: Optional[str] = None, schedule_expression_timezone: Optional[str] = None, start_window_minutes: Optional[float] = None): @@ -172,7 +172,7 @@ def lifecycle(self) -> Optional['outputs.BackupPlanLifecycleResourceType']: @property @pulumi.getter(name="recoveryPointTags") - def recovery_point_tags(self) -> Optional[Any]: + def recovery_point_tags(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "recovery_point_tags") @property diff --git a/sdk/python/pulumi_aws_native/batch/_inputs.py b/sdk/python/pulumi_aws_native/batch/_inputs.py index 4e6165a348..3c0b6a3829 100644 --- a/sdk/python/pulumi_aws_native/batch/_inputs.py +++ b/sdk/python/pulumi_aws_native/batch/_inputs.py @@ -75,10 +75,10 @@ def __init__(__self__, *, placement_group: Optional[pulumi.Input[str]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, spot_iam_fleet_role: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, update_to_latest_image_version: Optional[pulumi.Input[bool]] = None): """ - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ pulumi.set(__self__, "maxv_cpus", maxv_cpus) pulumi.set(__self__, "subnets", subnets) @@ -260,14 +260,14 @@ def spot_iam_fleet_role(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A key-value pair to associate with a resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property diff --git a/sdk/python/pulumi_aws_native/batch/compute_environment.py b/sdk/python/pulumi_aws_native/batch/compute_environment.py index c5de48ae67..46a380ef36 100644 --- a/sdk/python/pulumi_aws_native/batch/compute_environment.py +++ b/sdk/python/pulumi_aws_native/batch/compute_environment.py @@ -23,12 +23,12 @@ def __init__(__self__, *, replace_compute_environment: Optional[pulumi.Input[bool]] = None, service_role: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, unmanagedv_cpus: Optional[pulumi.Input[int]] = None, update_policy: Optional[pulumi.Input['ComputeEnvironmentUpdatePolicyArgs']] = None): """ The set of arguments for constructing a ComputeEnvironment resource. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ pulumi.set(__self__, "type", type) if compute_environment_name is not None: @@ -115,14 +115,14 @@ def state(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A key-value pair to associate with a resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -155,7 +155,7 @@ def __init__(__self__, replace_compute_environment: Optional[pulumi.Input[bool]] = None, service_role: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, type: Optional[pulumi.Input[str]] = None, unmanagedv_cpus: Optional[pulumi.Input[int]] = None, update_policy: Optional[pulumi.Input[pulumi.InputType['ComputeEnvironmentUpdatePolicyArgs']]] = None, @@ -165,7 +165,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ ... @overload @@ -197,7 +197,7 @@ def _internal_init(__self__, replace_compute_environment: Optional[pulumi.Input[bool]] = None, service_role: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, type: Optional[pulumi.Input[str]] = None, unmanagedv_cpus: Optional[pulumi.Input[int]] = None, update_policy: Optional[pulumi.Input[pulumi.InputType['ComputeEnvironmentUpdatePolicyArgs']]] = None, @@ -223,7 +223,7 @@ def _internal_init(__self__, __props__.__dict__["unmanagedv_cpus"] = unmanagedv_cpus __props__.__dict__["update_policy"] = update_policy __props__.__dict__["compute_environment_arn"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["compute_environment_name", "compute_resources.spot_iam_fleet_role", "eks_configuration", "tags", "type"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["compute_environment_name", "compute_resources.spot_iam_fleet_role", "eks_configuration", "tags.*", "type"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(ComputeEnvironment, __self__).__init__( 'aws-native:batch:ComputeEnvironment', @@ -297,7 +297,7 @@ def state(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A key-value pair to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/batch/job_queue.py b/sdk/python/pulumi_aws_native/batch/job_queue.py index d2317caffa..dee94e1f82 100644 --- a/sdk/python/pulumi_aws_native/batch/job_queue.py +++ b/sdk/python/pulumi_aws_native/batch/job_queue.py @@ -22,10 +22,10 @@ def __init__(__self__, *, job_queue_name: Optional[pulumi.Input[str]] = None, scheduling_policy_arn: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input['JobQueueState']] = None, - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a JobQueue resource. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ pulumi.set(__self__, "compute_environment_order", compute_environment_order) pulumi.set(__self__, "priority", priority) @@ -85,14 +85,14 @@ def state(self, value: Optional[pulumi.Input['JobQueueState']]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A key-value pair to associate with a resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -106,14 +106,14 @@ def __init__(__self__, priority: Optional[pulumi.Input[int]] = None, scheduling_policy_arn: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input['JobQueueState']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ Resource Type definition for AWS::Batch::JobQueue :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ ... @overload @@ -144,7 +144,7 @@ def _internal_init(__self__, priority: Optional[pulumi.Input[int]] = None, scheduling_policy_arn: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input['JobQueueState']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -165,7 +165,7 @@ def _internal_init(__self__, __props__.__dict__["state"] = state __props__.__dict__["tags"] = tags __props__.__dict__["job_queue_arn"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["job_queue_name", "tags"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["job_queue_name", "tags.*"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(JobQueue, __self__).__init__( 'aws-native:batch:JobQueue', @@ -230,7 +230,7 @@ def state(self) -> pulumi.Output[Optional['JobQueueState']]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A key-value pair to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/batch/outputs.py b/sdk/python/pulumi_aws_native/batch/outputs.py index a06766f54c..7b08532795 100644 --- a/sdk/python/pulumi_aws_native/batch/outputs.py +++ b/sdk/python/pulumi_aws_native/batch/outputs.py @@ -121,10 +121,10 @@ def __init__(__self__, *, placement_group: Optional[str] = None, security_group_ids: Optional[Sequence[str]] = None, spot_iam_fleet_role: Optional[str] = None, - tags: Optional[Any] = None, + tags: Optional[Mapping[str, str]] = None, update_to_latest_image_version: Optional[bool] = None): """ - :param Any tags: A key-value pair to associate with a resource. + :param Mapping[str, str] tags: A key-value pair to associate with a resource. """ pulumi.set(__self__, "maxv_cpus", maxv_cpus) pulumi.set(__self__, "subnets", subnets) @@ -242,7 +242,7 @@ def spot_iam_fleet_role(self) -> Optional[str]: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ A key-value pair to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/batch/scheduling_policy.py b/sdk/python/pulumi_aws_native/batch/scheduling_policy.py index 612d593b0e..28e4f7c102 100644 --- a/sdk/python/pulumi_aws_native/batch/scheduling_policy.py +++ b/sdk/python/pulumi_aws_native/batch/scheduling_policy.py @@ -18,11 +18,11 @@ class SchedulingPolicyArgs: def __init__(__self__, *, fairshare_policy: Optional[pulumi.Input['SchedulingPolicyFairsharePolicyArgs']] = None, name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a SchedulingPolicy resource. :param pulumi.Input[str] name: Name of Scheduling Policy. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ if fairshare_policy is not None: pulumi.set(__self__, "fairshare_policy", fairshare_policy) @@ -54,14 +54,14 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A key-value pair to associate with a resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -72,7 +72,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, fairshare_policy: Optional[pulumi.Input[pulumi.InputType['SchedulingPolicyFairsharePolicyArgs']]] = None, name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ Resource Type schema for AWS::Batch::SchedulingPolicy @@ -80,7 +80,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] name: Name of Scheduling Policy. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ ... @overload @@ -108,7 +108,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, fairshare_policy: Optional[pulumi.Input[pulumi.InputType['SchedulingPolicyFairsharePolicyArgs']]] = None, name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -122,7 +122,7 @@ def _internal_init(__self__, __props__.__dict__["name"] = name __props__.__dict__["tags"] = tags __props__.__dict__["arn"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["name", "tags"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["name", "tags.*"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(SchedulingPolicy, __self__).__init__( 'aws-native:batch:SchedulingPolicy', @@ -172,7 +172,7 @@ def name(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A key-value pair to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_stack.py b/sdk/python/pulumi_aws_native/cloudformation/get_stack.py index 9295a8c24b..eff15548bb 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_stack.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_stack.py @@ -129,7 +129,7 @@ def outputs(self) -> Optional[Sequence['outputs.StackOutput']]: @property @pulumi.getter - def parameters(self) -> Optional[Any]: + def parameters(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "parameters") @property diff --git a/sdk/python/pulumi_aws_native/cloudformation/stack.py b/sdk/python/pulumi_aws_native/cloudformation/stack.py index c962abb218..3f3e50ffef 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/stack.py +++ b/sdk/python/pulumi_aws_native/cloudformation/stack.py @@ -22,7 +22,7 @@ def __init__(__self__, *, disable_rollback: Optional[pulumi.Input[bool]] = None, enable_termination_protection: Optional[pulumi.Input[bool]] = None, notification_arns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, role_arn: Optional[pulumi.Input[str]] = None, stack_name: Optional[pulumi.Input[str]] = None, stack_policy_body: Optional[Any] = None, @@ -113,11 +113,11 @@ def notification_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[s @property @pulumi.getter - def parameters(self) -> Optional[Any]: + def parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "parameters") @parameters.setter - def parameters(self, value: Optional[Any]): + def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "parameters", value) @property @@ -212,7 +212,7 @@ def __init__(__self__, disable_rollback: Optional[pulumi.Input[bool]] = None, enable_termination_protection: Optional[pulumi.Input[bool]] = None, notification_arns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, role_arn: Optional[pulumi.Input[str]] = None, stack_name: Optional[pulumi.Input[str]] = None, stack_policy_body: Optional[Any] = None, @@ -258,7 +258,7 @@ def _internal_init(__self__, disable_rollback: Optional[pulumi.Input[bool]] = None, enable_termination_protection: Optional[pulumi.Input[bool]] = None, notification_arns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - parameters: Optional[Any] = None, + parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, role_arn: Optional[pulumi.Input[str]] = None, stack_name: Optional[pulumi.Input[str]] = None, stack_policy_body: Optional[Any] = None, @@ -396,7 +396,7 @@ def outputs(self) -> pulumi.Output[Sequence['outputs.StackOutput']]: @property @pulumi.getter - def parameters(self) -> pulumi.Output[Optional[Any]]: + def parameters(self) -> pulumi.Output[Optional[Mapping[str, str]]]: return pulumi.get(self, "parameters") @property 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 f5a5e953b1..9187a6ea3b 100644 --- a/sdk/python/pulumi_aws_native/codestarnotifications/get_notification_rule.py +++ b/sdk/python/pulumi_aws_native/codestarnotifications/get_notification_rule.py @@ -78,7 +78,7 @@ def status(self) -> Optional['NotificationRuleStatus']: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "tags") @property diff --git a/sdk/python/pulumi_aws_native/codestarnotifications/notification_rule.py b/sdk/python/pulumi_aws_native/codestarnotifications/notification_rule.py index df1a77b47c..48d2a72065 100644 --- a/sdk/python/pulumi_aws_native/codestarnotifications/notification_rule.py +++ b/sdk/python/pulumi_aws_native/codestarnotifications/notification_rule.py @@ -25,7 +25,7 @@ def __init__(__self__, *, event_type_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input['NotificationRuleStatus']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target_address: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a NotificationRule resource. @@ -121,11 +121,11 @@ def status(self, value: Optional[pulumi.Input['NotificationRuleStatus']]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -150,7 +150,7 @@ def __init__(__self__, name: Optional[pulumi.Input[str]] = None, resource: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input['NotificationRuleStatus']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target_address: Optional[pulumi.Input[str]] = None, targets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationRuleTargetArgs']]]]] = None, __props__=None): @@ -191,7 +191,7 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, resource: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input['NotificationRuleStatus']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target_address: Optional[pulumi.Input[str]] = None, targets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationRuleTargetArgs']]]]] = None, __props__=None): @@ -301,7 +301,7 @@ def status(self) -> pulumi.Output[Optional['NotificationRuleStatus']]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: return pulumi.get(self, "tags") @property diff --git a/sdk/python/pulumi_aws_native/cognito/_inputs.py b/sdk/python/pulumi_aws_native/cognito/_inputs.py index 9f268e507a..9610e99b8a 100644 --- a/sdk/python/pulumi_aws_native/cognito/_inputs.py +++ b/sdk/python/pulumi_aws_native/cognito/_inputs.py @@ -13,6 +13,9 @@ 'IdentityPoolCognitoIdentityProviderArgs', 'IdentityPoolCognitoStreamsArgs', 'IdentityPoolPushSyncArgs', + 'IdentityPoolRoleAttachmentMappingRuleArgs', + 'IdentityPoolRoleAttachmentRoleMappingArgs', + 'IdentityPoolRoleAttachmentRulesConfigurationTypeArgs', 'LogDeliveryConfigurationCloudWatchLogsConfigurationArgs', 'LogDeliveryConfigurationLogConfigurationArgs', 'UserPoolAccountRecoverySettingArgs', @@ -159,6 +162,123 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +@pulumi.input_type +class IdentityPoolRoleAttachmentMappingRuleArgs: + def __init__(__self__, *, + claim: pulumi.Input[str], + match_type: pulumi.Input[str], + role_arn: pulumi.Input[str], + value: pulumi.Input[str]): + pulumi.set(__self__, "claim", claim) + pulumi.set(__self__, "match_type", match_type) + pulumi.set(__self__, "role_arn", role_arn) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def claim(self) -> pulumi.Input[str]: + return pulumi.get(self, "claim") + + @claim.setter + def claim(self, value: pulumi.Input[str]): + pulumi.set(self, "claim", value) + + @property + @pulumi.getter(name="matchType") + def match_type(self) -> pulumi.Input[str]: + return pulumi.get(self, "match_type") + + @match_type.setter + def match_type(self, value: pulumi.Input[str]): + pulumi.set(self, "match_type", value) + + @property + @pulumi.getter(name="roleArn") + def role_arn(self) -> pulumi.Input[str]: + return pulumi.get(self, "role_arn") + + @role_arn.setter + def role_arn(self, value: pulumi.Input[str]): + pulumi.set(self, "role_arn", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class IdentityPoolRoleAttachmentRoleMappingArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + ambiguous_role_resolution: Optional[pulumi.Input[str]] = None, + identity_provider: Optional[pulumi.Input[str]] = None, + rules_configuration: Optional[pulumi.Input['IdentityPoolRoleAttachmentRulesConfigurationTypeArgs']] = None): + pulumi.set(__self__, "type", type) + if ambiguous_role_resolution is not None: + pulumi.set(__self__, "ambiguous_role_resolution", ambiguous_role_resolution) + if identity_provider is not None: + pulumi.set(__self__, "identity_provider", identity_provider) + if rules_configuration is not None: + pulumi.set(__self__, "rules_configuration", rules_configuration) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="ambiguousRoleResolution") + def ambiguous_role_resolution(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ambiguous_role_resolution") + + @ambiguous_role_resolution.setter + def ambiguous_role_resolution(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ambiguous_role_resolution", value) + + @property + @pulumi.getter(name="identityProvider") + def identity_provider(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "identity_provider") + + @identity_provider.setter + def identity_provider(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "identity_provider", value) + + @property + @pulumi.getter(name="rulesConfiguration") + def rules_configuration(self) -> Optional[pulumi.Input['IdentityPoolRoleAttachmentRulesConfigurationTypeArgs']]: + return pulumi.get(self, "rules_configuration") + + @rules_configuration.setter + def rules_configuration(self, value: Optional[pulumi.Input['IdentityPoolRoleAttachmentRulesConfigurationTypeArgs']]): + pulumi.set(self, "rules_configuration", value) + + +@pulumi.input_type +class IdentityPoolRoleAttachmentRulesConfigurationTypeArgs: + def __init__(__self__, *, + rules: pulumi.Input[Sequence[pulumi.Input['IdentityPoolRoleAttachmentMappingRuleArgs']]]): + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter + def rules(self) -> pulumi.Input[Sequence[pulumi.Input['IdentityPoolRoleAttachmentMappingRuleArgs']]]: + return pulumi.get(self, "rules") + + @rules.setter + def rules(self, value: pulumi.Input[Sequence[pulumi.Input['IdentityPoolRoleAttachmentMappingRuleArgs']]]): + pulumi.set(self, "rules", value) + + @pulumi.input_type class LogDeliveryConfigurationCloudWatchLogsConfigurationArgs: def __init__(__self__, *, 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 463e58f6eb..9f1a3cc3c0 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 @@ -8,6 +8,7 @@ import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities +from . import outputs __all__ = [ 'GetIdentityPoolRoleAttachmentResult', @@ -36,12 +37,12 @@ def id(self) -> Optional[str]: @property @pulumi.getter(name="roleMappings") - def role_mappings(self) -> Optional[Any]: + def role_mappings(self) -> Optional[Mapping[str, 'outputs.IdentityPoolRoleAttachmentRoleMapping']]: return pulumi.get(self, "role_mappings") @property @pulumi.getter - def roles(self) -> Optional[Any]: + def roles(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "roles") 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 928e96d2be..469fad9980 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_user_pool.py +++ b/sdk/python/pulumi_aws_native/cognito/get_user_pool.py @@ -219,7 +219,7 @@ def user_pool_name(self) -> Optional[str]: @property @pulumi.getter(name="userPoolTags") - def user_pool_tags(self) -> Optional[Any]: + def user_pool_tags(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "user_pool_tags") @property 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 56847338b5..c9c6add187 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 @@ -8,6 +8,8 @@ import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities +from . import outputs +from ._inputs import * __all__ = ['IdentityPoolRoleAttachmentArgs', 'IdentityPoolRoleAttachment'] @@ -15,8 +17,8 @@ class IdentityPoolRoleAttachmentArgs: def __init__(__self__, *, identity_pool_id: pulumi.Input[str], - role_mappings: Optional[Any] = None, - roles: Optional[Any] = None): + role_mappings: Optional[pulumi.Input[Mapping[str, pulumi.Input['IdentityPoolRoleAttachmentRoleMappingArgs']]]] = None, + roles: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a IdentityPoolRoleAttachment resource. """ @@ -37,20 +39,20 @@ def identity_pool_id(self, value: pulumi.Input[str]): @property @pulumi.getter(name="roleMappings") - def role_mappings(self) -> Optional[Any]: + def role_mappings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['IdentityPoolRoleAttachmentRoleMappingArgs']]]]: return pulumi.get(self, "role_mappings") @role_mappings.setter - def role_mappings(self, value: Optional[Any]): + def role_mappings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['IdentityPoolRoleAttachmentRoleMappingArgs']]]]): pulumi.set(self, "role_mappings", value) @property @pulumi.getter - def roles(self) -> Optional[Any]: + def roles(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "roles") @roles.setter - def roles(self, value: Optional[Any]): + def roles(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "roles", value) @@ -60,8 +62,8 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, identity_pool_id: Optional[pulumi.Input[str]] = None, - role_mappings: Optional[Any] = None, - roles: Optional[Any] = None, + role_mappings: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['IdentityPoolRoleAttachmentRoleMappingArgs']]]]] = None, + roles: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ Resource Type definition for AWS::Cognito::IdentityPoolRoleAttachment @@ -94,8 +96,8 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, identity_pool_id: Optional[pulumi.Input[str]] = None, - role_mappings: Optional[Any] = None, - roles: Optional[Any] = None, + role_mappings: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['IdentityPoolRoleAttachmentRoleMappingArgs']]]]] = None, + roles: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -146,11 +148,11 @@ def identity_pool_id(self) -> pulumi.Output[str]: @property @pulumi.getter(name="roleMappings") - def role_mappings(self) -> pulumi.Output[Optional[Any]]: + def role_mappings(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.IdentityPoolRoleAttachmentRoleMapping']]]: return pulumi.get(self, "role_mappings") @property @pulumi.getter - def roles(self) -> pulumi.Output[Optional[Any]]: + def roles(self) -> pulumi.Output[Optional[Mapping[str, str]]]: return pulumi.get(self, "roles") diff --git a/sdk/python/pulumi_aws_native/cognito/outputs.py b/sdk/python/pulumi_aws_native/cognito/outputs.py index 33f897a467..a6f705bfb5 100644 --- a/sdk/python/pulumi_aws_native/cognito/outputs.py +++ b/sdk/python/pulumi_aws_native/cognito/outputs.py @@ -14,6 +14,9 @@ 'IdentityPoolCognitoIdentityProvider', 'IdentityPoolCognitoStreams', 'IdentityPoolPushSync', + 'IdentityPoolRoleAttachmentMappingRule', + 'IdentityPoolRoleAttachmentRoleMapping', + 'IdentityPoolRoleAttachmentRulesConfigurationType', 'LogDeliveryConfigurationCloudWatchLogsConfiguration', 'LogDeliveryConfigurationLogConfiguration', 'UserPoolAccountRecoverySetting', @@ -189,6 +192,127 @@ def role_arn(self) -> Optional[str]: return pulumi.get(self, "role_arn") +@pulumi.output_type +class IdentityPoolRoleAttachmentMappingRule(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "matchType": + suggest = "match_type" + elif key == "roleArn": + suggest = "role_arn" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentityPoolRoleAttachmentMappingRule. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IdentityPoolRoleAttachmentMappingRule.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IdentityPoolRoleAttachmentMappingRule.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + claim: str, + match_type: str, + role_arn: str, + value: str): + pulumi.set(__self__, "claim", claim) + pulumi.set(__self__, "match_type", match_type) + pulumi.set(__self__, "role_arn", role_arn) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def claim(self) -> str: + return pulumi.get(self, "claim") + + @property + @pulumi.getter(name="matchType") + def match_type(self) -> str: + return pulumi.get(self, "match_type") + + @property + @pulumi.getter(name="roleArn") + def role_arn(self) -> str: + return pulumi.get(self, "role_arn") + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + +@pulumi.output_type +class IdentityPoolRoleAttachmentRoleMapping(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ambiguousRoleResolution": + suggest = "ambiguous_role_resolution" + elif key == "identityProvider": + suggest = "identity_provider" + elif key == "rulesConfiguration": + suggest = "rules_configuration" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentityPoolRoleAttachmentRoleMapping. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IdentityPoolRoleAttachmentRoleMapping.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IdentityPoolRoleAttachmentRoleMapping.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + ambiguous_role_resolution: Optional[str] = None, + identity_provider: Optional[str] = None, + rules_configuration: Optional['outputs.IdentityPoolRoleAttachmentRulesConfigurationType'] = None): + pulumi.set(__self__, "type", type) + if ambiguous_role_resolution is not None: + pulumi.set(__self__, "ambiguous_role_resolution", ambiguous_role_resolution) + if identity_provider is not None: + pulumi.set(__self__, "identity_provider", identity_provider) + if rules_configuration is not None: + pulumi.set(__self__, "rules_configuration", rules_configuration) + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="ambiguousRoleResolution") + def ambiguous_role_resolution(self) -> Optional[str]: + return pulumi.get(self, "ambiguous_role_resolution") + + @property + @pulumi.getter(name="identityProvider") + def identity_provider(self) -> Optional[str]: + return pulumi.get(self, "identity_provider") + + @property + @pulumi.getter(name="rulesConfiguration") + def rules_configuration(self) -> Optional['outputs.IdentityPoolRoleAttachmentRulesConfigurationType']: + return pulumi.get(self, "rules_configuration") + + +@pulumi.output_type +class IdentityPoolRoleAttachmentRulesConfigurationType(dict): + def __init__(__self__, *, + rules: Sequence['outputs.IdentityPoolRoleAttachmentMappingRule']): + pulumi.set(__self__, "rules", rules) + + @property + @pulumi.getter + def rules(self) -> Sequence['outputs.IdentityPoolRoleAttachmentMappingRule']: + return pulumi.get(self, "rules") + + @pulumi.output_type class LogDeliveryConfigurationCloudWatchLogsConfiguration(dict): @staticmethod diff --git a/sdk/python/pulumi_aws_native/cognito/user_pool.py b/sdk/python/pulumi_aws_native/cognito/user_pool.py index fc08f3a943..3d8dad6fe9 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool.py @@ -36,7 +36,7 @@ def __init__(__self__, *, user_attribute_update_settings: Optional[pulumi.Input['UserPoolUserAttributeUpdateSettingsArgs']] = None, user_pool_add_ons: Optional[pulumi.Input['UserPoolAddOnsArgs']] = None, user_pool_name: Optional[pulumi.Input[str]] = None, - user_pool_tags: Optional[Any] = None, + user_pool_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, username_attributes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, username_configuration: Optional[pulumi.Input['UserPoolUsernameConfigurationArgs']] = None, verification_message_template: Optional[pulumi.Input['UserPoolVerificationMessageTemplateArgs']] = None): @@ -274,11 +274,11 @@ def user_pool_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="userPoolTags") - def user_pool_tags(self) -> Optional[Any]: + def user_pool_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "user_pool_tags") @user_pool_tags.setter - def user_pool_tags(self, value: Optional[Any]): + def user_pool_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "user_pool_tags", value) @property @@ -334,7 +334,7 @@ def __init__(__self__, user_attribute_update_settings: Optional[pulumi.Input[pulumi.InputType['UserPoolUserAttributeUpdateSettingsArgs']]] = None, user_pool_add_ons: Optional[pulumi.Input[pulumi.InputType['UserPoolAddOnsArgs']]] = None, user_pool_name: Optional[pulumi.Input[str]] = None, - user_pool_tags: Optional[Any] = None, + user_pool_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, username_attributes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, username_configuration: Optional[pulumi.Input[pulumi.InputType['UserPoolUsernameConfigurationArgs']]] = None, verification_message_template: Optional[pulumi.Input[pulumi.InputType['UserPoolVerificationMessageTemplateArgs']]] = None, @@ -389,7 +389,7 @@ def _internal_init(__self__, user_attribute_update_settings: Optional[pulumi.Input[pulumi.InputType['UserPoolUserAttributeUpdateSettingsArgs']]] = None, user_pool_add_ons: Optional[pulumi.Input[pulumi.InputType['UserPoolAddOnsArgs']]] = None, user_pool_name: Optional[pulumi.Input[str]] = None, - user_pool_tags: Optional[Any] = None, + user_pool_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, username_attributes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, username_configuration: Optional[pulumi.Input[pulumi.InputType['UserPoolUsernameConfigurationArgs']]] = None, verification_message_template: Optional[pulumi.Input[pulumi.InputType['UserPoolVerificationMessageTemplateArgs']]] = None, @@ -604,7 +604,7 @@ def user_pool_name(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="userPoolTags") - def user_pool_tags(self) -> pulumi.Output[Optional[Any]]: + def user_pool_tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: return pulumi.get(self, "user_pool_tags") @property 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 ba0238d9ff..ef89049d91 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool_user.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool_user.py @@ -17,7 +17,7 @@ class UserPoolUserArgs: def __init__(__self__, *, user_pool_id: pulumi.Input[str], - client_metadata: Optional[Any] = None, + client_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, desired_delivery_mediums: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, force_alias_creation: Optional[pulumi.Input[bool]] = None, message_action: Optional[pulumi.Input[str]] = None, @@ -54,11 +54,11 @@ def user_pool_id(self, value: pulumi.Input[str]): @property @pulumi.getter(name="clientMetadata") - def client_metadata(self) -> Optional[Any]: + def client_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "client_metadata") @client_metadata.setter - def client_metadata(self, value: Optional[Any]): + def client_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "client_metadata", value) @property @@ -121,7 +121,7 @@ class UserPoolUser(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - client_metadata: Optional[Any] = None, + client_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, desired_delivery_mediums: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, force_alias_creation: Optional[pulumi.Input[bool]] = None, message_action: Optional[pulumi.Input[str]] = None, @@ -160,7 +160,7 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - client_metadata: Optional[Any] = None, + client_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, desired_delivery_mediums: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, force_alias_creation: Optional[pulumi.Input[bool]] = None, message_action: Optional[pulumi.Input[str]] = None, @@ -187,7 +187,7 @@ def _internal_init(__self__, __props__.__dict__["user_pool_id"] = user_pool_id __props__.__dict__["username"] = username __props__.__dict__["validation_data"] = validation_data - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["client_metadata", "desired_delivery_mediums[*]", "force_alias_creation", "message_action", "user_attributes[*]", "user_pool_id", "username", "validation_data[*]"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["client_metadata.*", "desired_delivery_mediums[*]", "force_alias_creation", "message_action", "user_attributes[*]", "user_pool_id", "username", "validation_data[*]"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(UserPoolUser, __self__).__init__( 'aws-native:cognito:UserPoolUser', @@ -223,7 +223,7 @@ def get(resource_name: str, @property @pulumi.getter(name="clientMetadata") - def client_metadata(self) -> pulumi.Output[Optional[Any]]: + def client_metadata(self) -> pulumi.Output[Optional[Mapping[str, str]]]: return pulumi.get(self, "client_metadata") @property diff --git a/sdk/python/pulumi_aws_native/ecs/_inputs.py b/sdk/python/pulumi_aws_native/ecs/_inputs.py index 6d7e71c891..d37259163f 100644 --- a/sdk/python/pulumi_aws_native/ecs/_inputs.py +++ b/sdk/python/pulumi_aws_native/ecs/_inputs.py @@ -1063,7 +1063,7 @@ def target_group_arn(self, value: Optional[pulumi.Input[str]]): class ServiceLogConfigurationArgs: def __init__(__self__, *, log_driver: Optional[pulumi.Input[str]] = None, - options: Optional[Any] = None, + options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, secret_options: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceSecretArgs']]]] = None): if log_driver is not None: pulumi.set(__self__, "log_driver", log_driver) @@ -1083,11 +1083,11 @@ def log_driver(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def options(self) -> Optional[Any]: + def options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "options") @options.setter - def options(self, value: Optional[Any]): + def options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "options", value) @property @@ -1504,7 +1504,7 @@ def __init__(__self__, *, disable_networking: Optional[pulumi.Input[bool]] = None, dns_search_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - docker_labels: Optional[Any] = None, + docker_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, docker_security_options: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, entry_point: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, environment: Optional[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionKeyValuePairArgs']]]] = None, @@ -1712,11 +1712,11 @@ def dns_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] @property @pulumi.getter(name="dockerLabels") - def docker_labels(self) -> Optional[Any]: + def docker_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "docker_labels") @docker_labels.setter - def docker_labels(self, value: Optional[Any]): + def docker_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "docker_labels", value) @property @@ -2077,8 +2077,8 @@ class TaskDefinitionDockerVolumeConfigurationArgs: def __init__(__self__, *, autoprovision: Optional[pulumi.Input[bool]] = None, driver: Optional[pulumi.Input[str]] = None, - driver_opts: Optional[Any] = None, - labels: Optional[Any] = None, + driver_opts: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, scope: Optional[pulumi.Input[str]] = None): if autoprovision is not None: pulumi.set(__self__, "autoprovision", autoprovision) @@ -2111,20 +2111,20 @@ def driver(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="driverOpts") - def driver_opts(self) -> Optional[Any]: + def driver_opts(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "driver_opts") @driver_opts.setter - def driver_opts(self, value: Optional[Any]): + def driver_opts(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "driver_opts", value) @property @pulumi.getter - def labels(self) -> Optional[Any]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[Any]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "labels", value) @property @@ -2250,7 +2250,7 @@ def size_in_gi_b(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class TaskDefinitionFirelensConfigurationArgs: def __init__(__self__, *, - options: Optional[Any] = None, + options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, type: Optional[pulumi.Input[str]] = None): if options is not None: pulumi.set(__self__, "options", options) @@ -2259,11 +2259,11 @@ def __init__(__self__, *, @property @pulumi.getter - def options(self) -> Optional[Any]: + def options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "options") @options.setter - def options(self, value: Optional[Any]): + def options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "options", value) @property @@ -2590,7 +2590,7 @@ def tmpfs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TaskDefiniti class TaskDefinitionLogConfigurationArgs: def __init__(__self__, *, log_driver: pulumi.Input[str], - options: Optional[Any] = None, + options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, secret_options: Optional[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionSecretArgs']]]] = None): pulumi.set(__self__, "log_driver", log_driver) if options is not None: @@ -2609,11 +2609,11 @@ def log_driver(self, value: pulumi.Input[str]): @property @pulumi.getter - def options(self) -> Optional[Any]: + def options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "options") @options.setter - def options(self, value: Optional[Any]): + def options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "options", value) @property diff --git a/sdk/python/pulumi_aws_native/ecs/outputs.py b/sdk/python/pulumi_aws_native/ecs/outputs.py index abd475b35d..dfa881fe7d 100644 --- a/sdk/python/pulumi_aws_native/ecs/outputs.py +++ b/sdk/python/pulumi_aws_native/ecs/outputs.py @@ -1179,7 +1179,7 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, log_driver: Optional[str] = None, - options: Optional[Any] = None, + options: Optional[Mapping[str, str]] = None, secret_options: Optional[Sequence['outputs.ServiceSecret']] = None): if log_driver is not None: pulumi.set(__self__, "log_driver", log_driver) @@ -1195,7 +1195,7 @@ def log_driver(self) -> Optional[str]: @property @pulumi.getter - def options(self) -> Optional[Any]: + def options(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "options") @property @@ -1699,7 +1699,7 @@ def __init__(__self__, *, disable_networking: Optional[bool] = None, dns_search_domains: Optional[Sequence[str]] = None, dns_servers: Optional[Sequence[str]] = None, - docker_labels: Optional[Any] = None, + docker_labels: Optional[Mapping[str, str]] = None, docker_security_options: Optional[Sequence[str]] = None, entry_point: Optional[Sequence[str]] = None, environment: Optional[Sequence['outputs.TaskDefinitionKeyValuePair']] = None, @@ -1871,7 +1871,7 @@ def dns_servers(self) -> Optional[Sequence[str]]: @property @pulumi.getter(name="dockerLabels") - def docker_labels(self) -> Optional[Any]: + def docker_labels(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "docker_labels") @property @@ -2145,8 +2145,8 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, autoprovision: Optional[bool] = None, driver: Optional[str] = None, - driver_opts: Optional[Any] = None, - labels: Optional[Any] = None, + driver_opts: Optional[Mapping[str, str]] = None, + labels: Optional[Mapping[str, str]] = None, scope: Optional[str] = None): if autoprovision is not None: pulumi.set(__self__, "autoprovision", autoprovision) @@ -2171,12 +2171,12 @@ def driver(self) -> Optional[str]: @property @pulumi.getter(name="driverOpts") - def driver_opts(self) -> Optional[Any]: + def driver_opts(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "driver_opts") @property @pulumi.getter - def labels(self) -> Optional[Any]: + def labels(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "labels") @property @@ -2308,7 +2308,7 @@ def size_in_gi_b(self) -> Optional[int]: @pulumi.output_type class TaskDefinitionFirelensConfiguration(dict): def __init__(__self__, *, - options: Optional[Any] = None, + options: Optional[Mapping[str, str]] = None, type: Optional[str] = None): if options is not None: pulumi.set(__self__, "options", options) @@ -2317,7 +2317,7 @@ def __init__(__self__, *, @property @pulumi.getter - def options(self) -> Optional[Any]: + def options(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "options") @property @@ -2669,7 +2669,7 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, log_driver: str, - options: Optional[Any] = None, + options: Optional[Mapping[str, str]] = None, secret_options: Optional[Sequence['outputs.TaskDefinitionSecret']] = None): pulumi.set(__self__, "log_driver", log_driver) if options is not None: @@ -2684,7 +2684,7 @@ def log_driver(self) -> str: @property @pulumi.getter - def options(self) -> Optional[Any]: + def options(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "options") @property diff --git a/sdk/python/pulumi_aws_native/eks/get_nodegroup.py b/sdk/python/pulumi_aws_native/eks/get_nodegroup.py index 5c4d6d7526..5d25ae59a2 100644 --- a/sdk/python/pulumi_aws_native/eks/get_nodegroup.py +++ b/sdk/python/pulumi_aws_native/eks/get_nodegroup.py @@ -63,7 +63,7 @@ def id(self) -> Optional[str]: @property @pulumi.getter - def labels(self) -> Optional[Any]: + def labels(self) -> Optional[Mapping[str, str]]: """ The Kubernetes labels to be applied to the nodes in the node group when they are created. """ @@ -95,7 +95,7 @@ def scaling_config(self) -> Optional['outputs.NodegroupScalingConfig']: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. """ diff --git a/sdk/python/pulumi_aws_native/eks/nodegroup.py b/sdk/python/pulumi_aws_native/eks/nodegroup.py index a3347af705..d6769301e5 100644 --- a/sdk/python/pulumi_aws_native/eks/nodegroup.py +++ b/sdk/python/pulumi_aws_native/eks/nodegroup.py @@ -24,13 +24,13 @@ def __init__(__self__, *, disk_size: Optional[pulumi.Input[int]] = None, force_update_enabled: Optional[pulumi.Input[bool]] = None, instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - labels: Optional[Any] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, launch_template: Optional[pulumi.Input['NodegroupLaunchTemplateSpecificationArgs']] = None, nodegroup_name: Optional[pulumi.Input[str]] = None, release_version: Optional[pulumi.Input[str]] = None, remote_access: Optional[pulumi.Input['NodegroupRemoteAccessArgs']] = None, scaling_config: Optional[pulumi.Input['NodegroupScalingConfigArgs']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, taints: Optional[pulumi.Input[Sequence[pulumi.Input['NodegroupTaintArgs']]]] = None, update_config: Optional[pulumi.Input['NodegroupUpdateConfigArgs']] = None, version: Optional[pulumi.Input[str]] = None): @@ -44,13 +44,13 @@ def __init__(__self__, *, :param pulumi.Input[int] disk_size: The root device disk size (in GiB) for your node group instances. :param pulumi.Input[bool] force_update_enabled: Force the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue. :param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: Specify the instance types for a node group. - :param Any labels: The Kubernetes labels to be applied to the nodes in the node group when they are created. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The Kubernetes labels to be applied to the nodes in the node group when they are created. :param pulumi.Input['NodegroupLaunchTemplateSpecificationArgs'] launch_template: An object representing a node group's launch template specification. :param pulumi.Input[str] nodegroup_name: The unique name to give your node group. :param pulumi.Input[str] release_version: The AMI version of the Amazon EKS-optimized AMI to use with your node group. :param pulumi.Input['NodegroupRemoteAccessArgs'] remote_access: The remote access (SSH) configuration to use with your node group. :param pulumi.Input['NodegroupScalingConfigArgs'] scaling_config: The scaling configuration details for the Auto Scaling group that is created for your node group. - :param Any tags: The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. :param pulumi.Input[Sequence[pulumi.Input['NodegroupTaintArgs']]] taints: The Kubernetes taints to be applied to the nodes in the node group when they are created. :param pulumi.Input['NodegroupUpdateConfigArgs'] update_config: The node group update configuration. :param pulumi.Input[str] version: The Kubernetes version to use for your managed nodes. @@ -187,14 +187,14 @@ def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] @property @pulumi.getter - def labels(self) -> Optional[Any]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The Kubernetes labels to be applied to the nodes in the node group when they are created. """ return pulumi.get(self, "labels") @labels.setter - def labels(self, value: Optional[Any]): + def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "labels", value) @property @@ -259,14 +259,14 @@ def scaling_config(self, value: Optional[pulumi.Input['NodegroupScalingConfigArg @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -317,7 +317,7 @@ def __init__(__self__, disk_size: Optional[pulumi.Input[int]] = None, force_update_enabled: Optional[pulumi.Input[bool]] = None, instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - labels: Optional[Any] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, launch_template: Optional[pulumi.Input[pulumi.InputType['NodegroupLaunchTemplateSpecificationArgs']]] = None, node_role: Optional[pulumi.Input[str]] = None, nodegroup_name: Optional[pulumi.Input[str]] = None, @@ -325,7 +325,7 @@ def __init__(__self__, remote_access: Optional[pulumi.Input[pulumi.InputType['NodegroupRemoteAccessArgs']]] = None, scaling_config: Optional[pulumi.Input[pulumi.InputType['NodegroupScalingConfigArgs']]] = None, subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, taints: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NodegroupTaintArgs']]]]] = None, update_config: Optional[pulumi.Input[pulumi.InputType['NodegroupUpdateConfigArgs']]] = None, version: Optional[pulumi.Input[str]] = None, @@ -341,7 +341,7 @@ def __init__(__self__, :param pulumi.Input[int] disk_size: The root device disk size (in GiB) for your node group instances. :param pulumi.Input[bool] force_update_enabled: Force the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue. :param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: Specify the instance types for a node group. - :param Any labels: The Kubernetes labels to be applied to the nodes in the node group when they are created. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The Kubernetes labels to be applied to the nodes in the node group when they are created. :param pulumi.Input[pulumi.InputType['NodegroupLaunchTemplateSpecificationArgs']] launch_template: An object representing a node group's launch template specification. :param pulumi.Input[str] node_role: The Amazon Resource Name (ARN) of the IAM role to associate with your node group. :param pulumi.Input[str] nodegroup_name: The unique name to give your node group. @@ -349,7 +349,7 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['NodegroupRemoteAccessArgs']] remote_access: The remote access (SSH) configuration to use with your node group. :param pulumi.Input[pulumi.InputType['NodegroupScalingConfigArgs']] scaling_config: The scaling configuration details for the Auto Scaling group that is created for your node group. :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: The subnets to use for the Auto Scaling group that is created for your node group. - :param Any tags: The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NodegroupTaintArgs']]]] taints: The Kubernetes taints to be applied to the nodes in the node group when they are created. :param pulumi.Input[pulumi.InputType['NodegroupUpdateConfigArgs']] update_config: The node group update configuration. :param pulumi.Input[str] version: The Kubernetes version to use for your managed nodes. @@ -384,7 +384,7 @@ def _internal_init(__self__, disk_size: Optional[pulumi.Input[int]] = None, force_update_enabled: Optional[pulumi.Input[bool]] = None, instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - labels: Optional[Any] = None, + labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, launch_template: Optional[pulumi.Input[pulumi.InputType['NodegroupLaunchTemplateSpecificationArgs']]] = None, node_role: Optional[pulumi.Input[str]] = None, nodegroup_name: Optional[pulumi.Input[str]] = None, @@ -392,7 +392,7 @@ def _internal_init(__self__, remote_access: Optional[pulumi.Input[pulumi.InputType['NodegroupRemoteAccessArgs']]] = None, scaling_config: Optional[pulumi.Input[pulumi.InputType['NodegroupScalingConfigArgs']]] = None, subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, taints: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NodegroupTaintArgs']]]]] = None, update_config: Optional[pulumi.Input[pulumi.InputType['NodegroupUpdateConfigArgs']]] = None, version: Optional[pulumi.Input[str]] = None, @@ -530,7 +530,7 @@ def instance_types(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter - def labels(self) -> pulumi.Output[Optional[Any]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The Kubernetes labels to be applied to the nodes in the node group when they are created. """ @@ -594,7 +594,7 @@ def subnets(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The metadata, as key-value pairs, to apply to the node group to assist with categorization and organization. Follows same schema as Labels for consistency. """ diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/_inputs.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/_inputs.py index b4bbfca769..372739a1f6 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/_inputs.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/_inputs.py @@ -716,7 +716,7 @@ def __init__(__self__, *, user_pool_arn: pulumi.Input[str], user_pool_client_id: pulumi.Input[str], user_pool_domain: pulumi.Input[str], - authentication_request_extra_params: Optional[Any] = None, + authentication_request_extra_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, on_unauthenticated_request: Optional[pulumi.Input[str]] = None, scope: Optional[pulumi.Input[str]] = None, session_cookie_name: Optional[pulumi.Input[str]] = None, @@ -764,11 +764,11 @@ def user_pool_domain(self, value: pulumi.Input[str]): @property @pulumi.getter(name="authenticationRequestExtraParams") - def authentication_request_extra_params(self) -> Optional[Any]: + def authentication_request_extra_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "authentication_request_extra_params") @authentication_request_extra_params.setter - def authentication_request_extra_params(self, value: Optional[Any]): + def authentication_request_extra_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "authentication_request_extra_params", value) @property @@ -816,7 +816,7 @@ def __init__(__self__, *, issuer: pulumi.Input[str], token_endpoint: pulumi.Input[str], user_info_endpoint: pulumi.Input[str], - authentication_request_extra_params: Optional[Any] = None, + authentication_request_extra_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, client_secret: Optional[pulumi.Input[str]] = None, on_unauthenticated_request: Optional[pulumi.Input[str]] = None, scope: Optional[pulumi.Input[str]] = None, @@ -890,11 +890,11 @@ def user_info_endpoint(self, value: pulumi.Input[str]): @property @pulumi.getter(name="authenticationRequestExtraParams") - def authentication_request_extra_params(self) -> Optional[Any]: + def authentication_request_extra_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "authentication_request_extra_params") @authentication_request_extra_params.setter - def authentication_request_extra_params(self, value: Optional[Any]): + def authentication_request_extra_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "authentication_request_extra_params", value) @property diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/outputs.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/outputs.py index cc382a8b77..882d1129c0 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/outputs.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/outputs.py @@ -767,7 +767,7 @@ def __init__(__self__, *, user_pool_arn: str, user_pool_client_id: str, user_pool_domain: str, - authentication_request_extra_params: Optional[Any] = None, + authentication_request_extra_params: Optional[Mapping[str, str]] = None, on_unauthenticated_request: Optional[str] = None, scope: Optional[str] = None, session_cookie_name: Optional[str] = None, @@ -803,7 +803,7 @@ def user_pool_domain(self) -> str: @property @pulumi.getter(name="authenticationRequestExtraParams") - def authentication_request_extra_params(self) -> Optional[Any]: + def authentication_request_extra_params(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "authentication_request_extra_params") @property @@ -870,7 +870,7 @@ def __init__(__self__, *, issuer: str, token_endpoint: str, user_info_endpoint: str, - authentication_request_extra_params: Optional[Any] = None, + authentication_request_extra_params: Optional[Mapping[str, str]] = None, client_secret: Optional[str] = None, on_unauthenticated_request: Optional[str] = None, scope: Optional[str] = None, @@ -924,7 +924,7 @@ def user_info_endpoint(self) -> str: @property @pulumi.getter(name="authenticationRequestExtraParams") - def authentication_request_extra_params(self) -> Optional[Any]: + def authentication_request_extra_params(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "authentication_request_extra_params") @property diff --git a/sdk/python/pulumi_aws_native/emrserverless/_inputs.py b/sdk/python/pulumi_aws_native/emrserverless/_inputs.py index b17ee0eb17..be49a589f7 100644 --- a/sdk/python/pulumi_aws_native/emrserverless/_inputs.py +++ b/sdk/python/pulumi_aws_native/emrserverless/_inputs.py @@ -185,7 +185,7 @@ class ApplicationConfigurationObjectArgs: def __init__(__self__, *, classification: pulumi.Input[str], configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationConfigurationObjectArgs']]]] = None, - properties: Optional[Any] = None): + properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ Configuration for a JobRun. :param pulumi.Input[str] classification: String with a maximum length of 1024. @@ -219,11 +219,11 @@ def configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['App @property @pulumi.getter - def properties(self) -> Optional[Any]: + def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "properties") @properties.setter - def properties(self, value: Optional[Any]): + def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "properties", value) diff --git a/sdk/python/pulumi_aws_native/emrserverless/outputs.py b/sdk/python/pulumi_aws_native/emrserverless/outputs.py index b08bc4ff66..d996e100be 100644 --- a/sdk/python/pulumi_aws_native/emrserverless/outputs.py +++ b/sdk/python/pulumi_aws_native/emrserverless/outputs.py @@ -203,7 +203,7 @@ class ApplicationConfigurationObject(dict): def __init__(__self__, *, classification: str, configurations: Optional[Sequence['outputs.ApplicationConfigurationObject']] = None, - properties: Optional[Any] = None): + properties: Optional[Mapping[str, str]] = None): """ Configuration for a JobRun. :param str classification: String with a maximum length of 1024. @@ -229,7 +229,7 @@ def configurations(self) -> Optional[Sequence['outputs.ApplicationConfigurationO @property @pulumi.getter - def properties(self) -> Optional[Any]: + def properties(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "properties") diff --git a/sdk/python/pulumi_aws_native/entityresolution/_inputs.py b/sdk/python/pulumi_aws_native/entityresolution/_inputs.py index d7e292153c..f47bcad47d 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/_inputs.py +++ b/sdk/python/pulumi_aws_native/entityresolution/_inputs.py @@ -153,10 +153,10 @@ class IdMappingWorkflowProviderPropertiesArgs: def __init__(__self__, *, provider_service_arn: pulumi.Input[str], intermediate_source_configuration: Optional[pulumi.Input['IdMappingWorkflowIntermediateSourceConfigurationArgs']] = None, - provider_configuration: Optional[Any] = None): + provider_configuration: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ :param pulumi.Input[str] provider_service_arn: Arn of the Provider Service being used. - :param Any provider_configuration: Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] provider_configuration: Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format """ pulumi.set(__self__, "provider_service_arn", provider_service_arn) if intermediate_source_configuration is not None: @@ -187,14 +187,14 @@ def intermediate_source_configuration(self, value: Optional[pulumi.Input['IdMapp @property @pulumi.getter(name="providerConfiguration") - def provider_configuration(self) -> Optional[Any]: + def provider_configuration(self) -> Optional[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 """ return pulumi.get(self, "provider_configuration") @provider_configuration.setter - def provider_configuration(self, value: Optional[Any]): + def provider_configuration(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "provider_configuration", value) @@ -393,10 +393,10 @@ class MatchingWorkflowProviderPropertiesArgs: def __init__(__self__, *, provider_service_arn: pulumi.Input[str], intermediate_source_configuration: Optional[pulumi.Input['MatchingWorkflowIntermediateSourceConfigurationArgs']] = None, - provider_configuration: Optional[Any] = None): + provider_configuration: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ :param pulumi.Input[str] provider_service_arn: Arn of the Provider service being used. - :param Any provider_configuration: Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] provider_configuration: Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format """ pulumi.set(__self__, "provider_service_arn", provider_service_arn) if intermediate_source_configuration is not None: @@ -427,14 +427,14 @@ def intermediate_source_configuration(self, value: Optional[pulumi.Input['Matchi @property @pulumi.getter(name="providerConfiguration") - def provider_configuration(self) -> Optional[Any]: + def provider_configuration(self) -> Optional[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 """ return pulumi.get(self, "provider_configuration") @provider_configuration.setter - def provider_configuration(self, value: Optional[Any]): + def provider_configuration(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "provider_configuration", value) diff --git a/sdk/python/pulumi_aws_native/entityresolution/outputs.py b/sdk/python/pulumi_aws_native/entityresolution/outputs.py index 706e5a46c8..60bf68791a 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/outputs.py +++ b/sdk/python/pulumi_aws_native/entityresolution/outputs.py @@ -221,10 +221,10 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, provider_service_arn: str, intermediate_source_configuration: Optional['outputs.IdMappingWorkflowIntermediateSourceConfiguration'] = None, - provider_configuration: Optional[Any] = None): + provider_configuration: Optional[Mapping[str, str]] = None): """ :param str provider_service_arn: Arn of the Provider Service being used. - :param Any provider_configuration: Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format + :param Mapping[str, str] provider_configuration: Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format """ pulumi.set(__self__, "provider_service_arn", provider_service_arn) if intermediate_source_configuration is not None: @@ -247,7 +247,7 @@ def intermediate_source_configuration(self) -> Optional['outputs.IdMappingWorkfl @property @pulumi.getter(name="providerConfiguration") - def provider_configuration(self) -> Optional[Any]: + def provider_configuration(self) -> Optional[Mapping[str, str]]: """ Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format """ @@ -484,10 +484,10 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, provider_service_arn: str, intermediate_source_configuration: Optional['outputs.MatchingWorkflowIntermediateSourceConfiguration'] = None, - provider_configuration: Optional[Any] = None): + provider_configuration: Optional[Mapping[str, str]] = None): """ :param str provider_service_arn: Arn of the Provider service being used. - :param Any provider_configuration: Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format + :param Mapping[str, str] provider_configuration: Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format """ pulumi.set(__self__, "provider_service_arn", provider_service_arn) if intermediate_source_configuration is not None: @@ -510,7 +510,7 @@ def intermediate_source_configuration(self) -> Optional['outputs.MatchingWorkflo @property @pulumi.getter(name="providerConfiguration") - def provider_configuration(self) -> Optional[Any]: + def provider_configuration(self) -> Optional[Mapping[str, str]]: """ Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format """ diff --git a/sdk/python/pulumi_aws_native/events/_inputs.py b/sdk/python/pulumi_aws_native/events/_inputs.py index ce9d72fbf0..5ec7e399b5 100644 --- a/sdk/python/pulumi_aws_native/events/_inputs.py +++ b/sdk/python/pulumi_aws_native/events/_inputs.py @@ -863,9 +863,9 @@ def task_count(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class RuleHttpParametersArgs: def __init__(__self__, *, - header_parameters: Optional[Any] = None, + header_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, path_parameter_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - query_string_parameters: Optional[Any] = None): + query_string_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): if header_parameters is not None: pulumi.set(__self__, "header_parameters", header_parameters) if path_parameter_values is not None: @@ -875,11 +875,11 @@ def __init__(__self__, *, @property @pulumi.getter(name="headerParameters") - def header_parameters(self) -> Optional[Any]: + def header_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "header_parameters") @header_parameters.setter - def header_parameters(self, value: Optional[Any]): + def header_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "header_parameters", value) @property @@ -893,11 +893,11 @@ def path_parameter_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp @property @pulumi.getter(name="queryStringParameters") - def query_string_parameters(self) -> Optional[Any]: + def query_string_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "query_string_parameters") @query_string_parameters.setter - def query_string_parameters(self, value: Optional[Any]): + def query_string_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "query_string_parameters", value) @@ -905,7 +905,7 @@ def query_string_parameters(self, value: Optional[Any]): class RuleInputTransformerArgs: def __init__(__self__, *, input_template: pulumi.Input[str], - input_paths_map: Optional[Any] = None): + input_paths_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): pulumi.set(__self__, "input_template", input_template) if input_paths_map is not None: pulumi.set(__self__, "input_paths_map", input_paths_map) @@ -921,11 +921,11 @@ def input_template(self, value: pulumi.Input[str]): @property @pulumi.getter(name="inputPathsMap") - def input_paths_map(self) -> Optional[Any]: + def input_paths_map(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "input_paths_map") @input_paths_map.setter - def input_paths_map(self, value: Optional[Any]): + def input_paths_map(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "input_paths_map", value) diff --git a/sdk/python/pulumi_aws_native/events/outputs.py b/sdk/python/pulumi_aws_native/events/outputs.py index b6bbdf14e3..4935fd578b 100644 --- a/sdk/python/pulumi_aws_native/events/outputs.py +++ b/sdk/python/pulumi_aws_native/events/outputs.py @@ -935,9 +935,9 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - header_parameters: Optional[Any] = None, + header_parameters: Optional[Mapping[str, str]] = None, path_parameter_values: Optional[Sequence[str]] = None, - query_string_parameters: Optional[Any] = None): + query_string_parameters: Optional[Mapping[str, str]] = None): if header_parameters is not None: pulumi.set(__self__, "header_parameters", header_parameters) if path_parameter_values is not None: @@ -947,7 +947,7 @@ def __init__(__self__, *, @property @pulumi.getter(name="headerParameters") - def header_parameters(self) -> Optional[Any]: + def header_parameters(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "header_parameters") @property @@ -957,7 +957,7 @@ def path_parameter_values(self) -> Optional[Sequence[str]]: @property @pulumi.getter(name="queryStringParameters") - def query_string_parameters(self) -> Optional[Any]: + def query_string_parameters(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "query_string_parameters") @@ -984,7 +984,7 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, input_template: str, - input_paths_map: Optional[Any] = None): + input_paths_map: Optional[Mapping[str, str]] = None): pulumi.set(__self__, "input_template", input_template) if input_paths_map is not None: pulumi.set(__self__, "input_paths_map", input_paths_map) @@ -996,7 +996,7 @@ def input_template(self) -> str: @property @pulumi.getter(name="inputPathsMap") - def input_paths_map(self) -> Optional[Any]: + def input_paths_map(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "input_paths_map") diff --git a/sdk/python/pulumi_aws_native/fis/experiment_template.py b/sdk/python/pulumi_aws_native/fis/experiment_template.py index ab2d525b33..e62ef111e0 100644 --- a/sdk/python/pulumi_aws_native/fis/experiment_template.py +++ b/sdk/python/pulumi_aws_native/fis/experiment_template.py @@ -20,7 +20,7 @@ def __init__(__self__, *, description: pulumi.Input[str], role_arn: pulumi.Input[str], stop_conditions: pulumi.Input[Sequence[pulumi.Input['ExperimentTemplateStopConditionArgs']]], - tags: Any, + tags: pulumi.Input[Mapping[str, pulumi.Input[str]]], targets: pulumi.Input['ExperimentTemplateTargetMapArgs'], actions: Optional[pulumi.Input['ExperimentTemplateActionMapArgs']] = None, experiment_options: Optional[pulumi.Input['ExperimentTemplateExperimentOptionsArgs']] = None, @@ -69,11 +69,11 @@ def stop_conditions(self, value: pulumi.Input[Sequence[pulumi.Input['ExperimentT @property @pulumi.getter - def tags(self) -> Any: + def tags(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Any): + def tags(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): pulumi.set(self, "tags", value) @property @@ -124,7 +124,7 @@ def __init__(__self__, log_configuration: Optional[pulumi.Input[pulumi.InputType['ExperimentTemplateLogConfigurationArgs']]] = None, role_arn: Optional[pulumi.Input[str]] = None, stop_conditions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ExperimentTemplateStopConditionArgs']]]]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, targets: Optional[pulumi.Input[pulumi.InputType['ExperimentTemplateTargetMapArgs']]] = None, __props__=None): """ @@ -163,7 +163,7 @@ def _internal_init(__self__, log_configuration: Optional[pulumi.Input[pulumi.InputType['ExperimentTemplateLogConfigurationArgs']]] = None, role_arn: Optional[pulumi.Input[str]] = None, stop_conditions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ExperimentTemplateStopConditionArgs']]]]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, targets: Optional[pulumi.Input[pulumi.InputType['ExperimentTemplateTargetMapArgs']]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -192,7 +192,7 @@ def _internal_init(__self__, if targets is None and not opts.urn: raise TypeError("Missing required property 'targets'") __props__.__dict__["targets"] = targets - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["tags"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["tags.*"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(ExperimentTemplate, __self__).__init__( 'aws-native:fis:ExperimentTemplate', @@ -258,7 +258,7 @@ def stop_conditions(self) -> pulumi.Output[Sequence['outputs.ExperimentTemplateS @property @pulumi.getter - def tags(self) -> pulumi.Output[Any]: + def tags(self) -> pulumi.Output[Mapping[str, str]]: return pulumi.get(self, "tags") @property diff --git a/sdk/python/pulumi_aws_native/greengrassv2/_enums.py b/sdk/python/pulumi_aws_native/greengrassv2/_enums.py index 44d8f7f67b..15f0849d51 100644 --- a/sdk/python/pulumi_aws_native/greengrassv2/_enums.py +++ b/sdk/python/pulumi_aws_native/greengrassv2/_enums.py @@ -5,6 +5,7 @@ from enum import Enum __all__ = [ + 'ComponentVersionComponentDependencyRequirementDependencyType', 'ComponentVersionLambdaEventSourceType', 'ComponentVersionLambdaExecutionParametersInputPayloadEncodingType', 'ComponentVersionLambdaFilesystemPermission', @@ -16,6 +17,11 @@ ] +class ComponentVersionComponentDependencyRequirementDependencyType(str, Enum): + SOFT = "SOFT" + HARD = "HARD" + + class ComponentVersionLambdaEventSourceType(str, Enum): PUB_SUB = "PUB_SUB" IOT_CORE = "IOT_CORE" diff --git a/sdk/python/pulumi_aws_native/greengrassv2/_inputs.py b/sdk/python/pulumi_aws_native/greengrassv2/_inputs.py index c45908cab8..f42d36eca3 100644 --- a/sdk/python/pulumi_aws_native/greengrassv2/_inputs.py +++ b/sdk/python/pulumi_aws_native/greengrassv2/_inputs.py @@ -11,6 +11,7 @@ from ._enums import * __all__ = [ + 'ComponentVersionComponentDependencyRequirementArgs', 'ComponentVersionComponentPlatformArgs', 'ComponentVersionLambdaContainerParamsArgs', 'ComponentVersionLambdaDeviceMountArgs', @@ -19,6 +20,9 @@ 'ComponentVersionLambdaFunctionRecipeSourceArgs', 'ComponentVersionLambdaLinuxProcessParamsArgs', 'ComponentVersionLambdaVolumeMountArgs', + 'DeploymentComponentConfigurationUpdateArgs', + 'DeploymentComponentDeploymentSpecificationArgs', + 'DeploymentComponentRunWithArgs', 'DeploymentComponentUpdatePolicyArgs', 'DeploymentConfigurationValidationPolicyArgs', 'DeploymentIoTJobAbortConfigArgs', @@ -29,12 +33,42 @@ 'DeploymentIoTJobRateIncreaseCriteriaArgs', 'DeploymentIoTJobTimeoutConfigArgs', 'DeploymentPoliciesArgs', + 'DeploymentSystemResourceLimitsArgs', ] +@pulumi.input_type +class ComponentVersionComponentDependencyRequirementArgs: + def __init__(__self__, *, + dependency_type: Optional[pulumi.Input['ComponentVersionComponentDependencyRequirementDependencyType']] = None, + version_requirement: Optional[pulumi.Input[str]] = None): + if dependency_type is not None: + pulumi.set(__self__, "dependency_type", dependency_type) + if version_requirement is not None: + pulumi.set(__self__, "version_requirement", version_requirement) + + @property + @pulumi.getter(name="dependencyType") + def dependency_type(self) -> Optional[pulumi.Input['ComponentVersionComponentDependencyRequirementDependencyType']]: + return pulumi.get(self, "dependency_type") + + @dependency_type.setter + def dependency_type(self, value: Optional[pulumi.Input['ComponentVersionComponentDependencyRequirementDependencyType']]): + pulumi.set(self, "dependency_type", value) + + @property + @pulumi.getter(name="versionRequirement") + def version_requirement(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "version_requirement") + + @version_requirement.setter + def version_requirement(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "version_requirement", value) + + @pulumi.input_type class ComponentVersionComponentPlatformArgs: def __init__(__self__, *, - attributes: Optional[Any] = None, + attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, name: Optional[pulumi.Input[str]] = None): if attributes is not None: pulumi.set(__self__, "attributes", attributes) @@ -43,11 +77,11 @@ def __init__(__self__, *, @property @pulumi.getter - def attributes(self) -> Optional[Any]: + def attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "attributes") @attributes.setter - def attributes(self, value: Optional[Any]): + def attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "attributes", value) @property @@ -186,7 +220,7 @@ def type(self, value: Optional[pulumi.Input['ComponentVersionLambdaEventSourceTy @pulumi.input_type class ComponentVersionLambdaExecutionParametersArgs: def __init__(__self__, *, - environment_variables: Optional[Any] = None, + environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, event_sources: Optional[pulumi.Input[Sequence[pulumi.Input['ComponentVersionLambdaEventSourceArgs']]]] = None, exec_args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, input_payload_encoding_type: Optional[pulumi.Input['ComponentVersionLambdaExecutionParametersInputPayloadEncodingType']] = None, @@ -222,11 +256,11 @@ def __init__(__self__, *, @property @pulumi.getter(name="environmentVariables") - def environment_variables(self) -> Optional[Any]: + def environment_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "environment_variables") @environment_variables.setter - def environment_variables(self, value: Optional[Any]): + def environment_variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "environment_variables", value) @property @@ -323,7 +357,7 @@ def timeout_in_seconds(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class ComponentVersionLambdaFunctionRecipeSourceArgs: def __init__(__self__, *, - component_dependencies: Optional[Any] = None, + component_dependencies: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentVersionComponentDependencyRequirementArgs']]]] = None, component_lambda_parameters: Optional[pulumi.Input['ComponentVersionLambdaExecutionParametersArgs']] = None, component_name: Optional[pulumi.Input[str]] = None, component_platforms: Optional[pulumi.Input[Sequence[pulumi.Input['ComponentVersionComponentPlatformArgs']]]] = None, @@ -344,11 +378,11 @@ def __init__(__self__, *, @property @pulumi.getter(name="componentDependencies") - def component_dependencies(self) -> Optional[Any]: + def component_dependencies(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentVersionComponentDependencyRequirementArgs']]]]: return pulumi.get(self, "component_dependencies") @component_dependencies.setter - def component_dependencies(self, value: Optional[Any]): + def component_dependencies(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentVersionComponentDependencyRequirementArgs']]]]): pulumi.set(self, "component_dependencies", value) @property @@ -479,6 +513,117 @@ def source_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_path", value) +@pulumi.input_type +class DeploymentComponentConfigurationUpdateArgs: + def __init__(__self__, *, + merge: Optional[pulumi.Input[str]] = None, + reset: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if merge is not None: + pulumi.set(__self__, "merge", merge) + if reset is not None: + pulumi.set(__self__, "reset", reset) + + @property + @pulumi.getter + def merge(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "merge") + + @merge.setter + def merge(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "merge", value) + + @property + @pulumi.getter + def reset(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "reset") + + @reset.setter + def reset(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "reset", value) + + +@pulumi.input_type +class DeploymentComponentDeploymentSpecificationArgs: + def __init__(__self__, *, + component_version: Optional[pulumi.Input[str]] = None, + configuration_update: Optional[pulumi.Input['DeploymentComponentConfigurationUpdateArgs']] = None, + run_with: Optional[pulumi.Input['DeploymentComponentRunWithArgs']] = None): + if component_version is not None: + pulumi.set(__self__, "component_version", component_version) + if configuration_update is not None: + pulumi.set(__self__, "configuration_update", configuration_update) + if run_with is not None: + pulumi.set(__self__, "run_with", run_with) + + @property + @pulumi.getter(name="componentVersion") + def component_version(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "component_version") + + @component_version.setter + def component_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "component_version", value) + + @property + @pulumi.getter(name="configurationUpdate") + def configuration_update(self) -> Optional[pulumi.Input['DeploymentComponentConfigurationUpdateArgs']]: + return pulumi.get(self, "configuration_update") + + @configuration_update.setter + def configuration_update(self, value: Optional[pulumi.Input['DeploymentComponentConfigurationUpdateArgs']]): + pulumi.set(self, "configuration_update", value) + + @property + @pulumi.getter(name="runWith") + def run_with(self) -> Optional[pulumi.Input['DeploymentComponentRunWithArgs']]: + return pulumi.get(self, "run_with") + + @run_with.setter + def run_with(self, value: Optional[pulumi.Input['DeploymentComponentRunWithArgs']]): + pulumi.set(self, "run_with", value) + + +@pulumi.input_type +class DeploymentComponentRunWithArgs: + def __init__(__self__, *, + posix_user: Optional[pulumi.Input[str]] = None, + system_resource_limits: Optional[pulumi.Input['DeploymentSystemResourceLimitsArgs']] = None, + windows_user: Optional[pulumi.Input[str]] = None): + if posix_user is not None: + pulumi.set(__self__, "posix_user", posix_user) + if system_resource_limits is not None: + pulumi.set(__self__, "system_resource_limits", system_resource_limits) + if windows_user is not None: + pulumi.set(__self__, "windows_user", windows_user) + + @property + @pulumi.getter(name="posixUser") + def posix_user(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "posix_user") + + @posix_user.setter + def posix_user(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "posix_user", value) + + @property + @pulumi.getter(name="systemResourceLimits") + def system_resource_limits(self) -> Optional[pulumi.Input['DeploymentSystemResourceLimitsArgs']]: + return pulumi.get(self, "system_resource_limits") + + @system_resource_limits.setter + def system_resource_limits(self, value: Optional[pulumi.Input['DeploymentSystemResourceLimitsArgs']]): + pulumi.set(self, "system_resource_limits", value) + + @property + @pulumi.getter(name="windowsUser") + def windows_user(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "windows_user") + + @windows_user.setter + def windows_user(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "windows_user", value) + + @pulumi.input_type class DeploymentComponentUpdatePolicyArgs: def __init__(__self__, *, @@ -762,3 +907,32 @@ def failure_handling_policy(self, value: Optional[pulumi.Input['DeploymentPolici pulumi.set(self, "failure_handling_policy", value) +@pulumi.input_type +class DeploymentSystemResourceLimitsArgs: + def __init__(__self__, *, + cpus: Optional[pulumi.Input[float]] = None, + memory: Optional[pulumi.Input[int]] = None): + if cpus is not None: + pulumi.set(__self__, "cpus", cpus) + if memory is not None: + pulumi.set(__self__, "memory", memory) + + @property + @pulumi.getter + def cpus(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "cpus") + + @cpus.setter + def cpus(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "cpus", value) + + @property + @pulumi.getter + def memory(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "memory") + + @memory.setter + def memory(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "memory", value) + + diff --git a/sdk/python/pulumi_aws_native/greengrassv2/deployment.py b/sdk/python/pulumi_aws_native/greengrassv2/deployment.py index 308ce507b7..094b1158ce 100644 --- a/sdk/python/pulumi_aws_native/greengrassv2/deployment.py +++ b/sdk/python/pulumi_aws_native/greengrassv2/deployment.py @@ -18,12 +18,12 @@ class DeploymentArgs: def __init__(__self__, *, target_arn: pulumi.Input[str], - components: Optional[Any] = None, + components: Optional[pulumi.Input[Mapping[str, pulumi.Input['DeploymentComponentDeploymentSpecificationArgs']]]] = None, deployment_name: Optional[pulumi.Input[str]] = None, deployment_policies: Optional[pulumi.Input['DeploymentPoliciesArgs']] = None, iot_job_configuration: Optional[pulumi.Input['DeploymentIoTJobConfigurationArgs']] = None, parent_target_arn: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a Deployment resource. """ @@ -52,11 +52,11 @@ def target_arn(self, value: pulumi.Input[str]): @property @pulumi.getter - def components(self) -> Optional[Any]: + def components(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['DeploymentComponentDeploymentSpecificationArgs']]]]: return pulumi.get(self, "components") @components.setter - def components(self, value: Optional[Any]): + def components(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['DeploymentComponentDeploymentSpecificationArgs']]]]): pulumi.set(self, "components", value) @property @@ -97,11 +97,11 @@ def parent_target_arn(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -110,12 +110,12 @@ class Deployment(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - components: Optional[Any] = None, + components: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['DeploymentComponentDeploymentSpecificationArgs']]]]] = None, deployment_name: Optional[pulumi.Input[str]] = None, deployment_policies: Optional[pulumi.Input[pulumi.InputType['DeploymentPoliciesArgs']]] = None, iot_job_configuration: Optional[pulumi.Input[pulumi.InputType['DeploymentIoTJobConfigurationArgs']]] = None, parent_target_arn: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target_arn: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -148,12 +148,12 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - components: Optional[Any] = None, + components: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['DeploymentComponentDeploymentSpecificationArgs']]]]] = None, deployment_name: Optional[pulumi.Input[str]] = None, deployment_policies: Optional[pulumi.Input[pulumi.InputType['DeploymentPoliciesArgs']]] = None, iot_job_configuration: Optional[pulumi.Input[pulumi.InputType['DeploymentIoTJobConfigurationArgs']]] = None, parent_target_arn: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target_arn: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -174,7 +174,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'target_arn'") __props__.__dict__["target_arn"] = target_arn __props__.__dict__["deployment_id"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["components", "deployment_name", "deployment_policies", "iot_job_configuration", "parent_target_arn", "target_arn"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["components.*", "deployment_name", "deployment_policies", "iot_job_configuration", "parent_target_arn", "target_arn"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(Deployment, __self__).__init__( 'aws-native:greengrassv2:Deployment', @@ -210,7 +210,7 @@ def get(resource_name: str, @property @pulumi.getter - def components(self) -> pulumi.Output[Optional[Any]]: + def components(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.DeploymentComponentDeploymentSpecification']]]: return pulumi.get(self, "components") @property @@ -240,7 +240,7 @@ def parent_target_arn(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: return pulumi.get(self, "tags") @property diff --git a/sdk/python/pulumi_aws_native/greengrassv2/get_deployment.py b/sdk/python/pulumi_aws_native/greengrassv2/get_deployment.py index c92a67a657..a7c2897e4a 100644 --- a/sdk/python/pulumi_aws_native/greengrassv2/get_deployment.py +++ b/sdk/python/pulumi_aws_native/greengrassv2/get_deployment.py @@ -33,7 +33,7 @@ def deployment_id(self) -> Optional[str]: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "tags") diff --git a/sdk/python/pulumi_aws_native/greengrassv2/outputs.py b/sdk/python/pulumi_aws_native/greengrassv2/outputs.py index 500b638863..4ace7bc3ee 100644 --- a/sdk/python/pulumi_aws_native/greengrassv2/outputs.py +++ b/sdk/python/pulumi_aws_native/greengrassv2/outputs.py @@ -12,6 +12,7 @@ from ._enums import * __all__ = [ + 'ComponentVersionComponentDependencyRequirement', 'ComponentVersionComponentPlatform', 'ComponentVersionLambdaContainerParams', 'ComponentVersionLambdaDeviceMount', @@ -20,6 +21,9 @@ 'ComponentVersionLambdaFunctionRecipeSource', 'ComponentVersionLambdaLinuxProcessParams', 'ComponentVersionLambdaVolumeMount', + 'DeploymentComponentConfigurationUpdate', + 'DeploymentComponentDeploymentSpecification', + 'DeploymentComponentRunWith', 'DeploymentComponentUpdatePolicy', 'DeploymentConfigurationValidationPolicy', 'DeploymentIoTJobAbortConfig', @@ -30,12 +34,53 @@ 'DeploymentIoTJobRateIncreaseCriteria', 'DeploymentIoTJobTimeoutConfig', 'DeploymentPolicies', + 'DeploymentSystemResourceLimits', ] +@pulumi.output_type +class ComponentVersionComponentDependencyRequirement(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dependencyType": + suggest = "dependency_type" + elif key == "versionRequirement": + suggest = "version_requirement" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ComponentVersionComponentDependencyRequirement. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ComponentVersionComponentDependencyRequirement.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ComponentVersionComponentDependencyRequirement.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + dependency_type: Optional['ComponentVersionComponentDependencyRequirementDependencyType'] = None, + version_requirement: Optional[str] = None): + if dependency_type is not None: + pulumi.set(__self__, "dependency_type", dependency_type) + if version_requirement is not None: + pulumi.set(__self__, "version_requirement", version_requirement) + + @property + @pulumi.getter(name="dependencyType") + def dependency_type(self) -> Optional['ComponentVersionComponentDependencyRequirementDependencyType']: + return pulumi.get(self, "dependency_type") + + @property + @pulumi.getter(name="versionRequirement") + def version_requirement(self) -> Optional[str]: + return pulumi.get(self, "version_requirement") + + @pulumi.output_type class ComponentVersionComponentPlatform(dict): def __init__(__self__, *, - attributes: Optional[Any] = None, + attributes: Optional[Mapping[str, str]] = None, name: Optional[str] = None): if attributes is not None: pulumi.set(__self__, "attributes", attributes) @@ -44,7 +89,7 @@ def __init__(__self__, *, @property @pulumi.getter - def attributes(self) -> Optional[Any]: + def attributes(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "attributes") @property @@ -214,7 +259,7 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - environment_variables: Optional[Any] = None, + environment_variables: Optional[Mapping[str, str]] = None, event_sources: Optional[Sequence['outputs.ComponentVersionLambdaEventSource']] = None, exec_args: Optional[Sequence[str]] = None, input_payload_encoding_type: Optional['ComponentVersionLambdaExecutionParametersInputPayloadEncodingType'] = None, @@ -250,7 +295,7 @@ def __init__(__self__, *, @property @pulumi.getter(name="environmentVariables") - def environment_variables(self) -> Optional[Any]: + def environment_variables(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "environment_variables") @property @@ -334,7 +379,7 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - component_dependencies: Optional[Any] = None, + component_dependencies: Optional[Mapping[str, 'outputs.ComponentVersionComponentDependencyRequirement']] = None, component_lambda_parameters: Optional['outputs.ComponentVersionLambdaExecutionParameters'] = None, component_name: Optional[str] = None, component_platforms: Optional[Sequence['outputs.ComponentVersionComponentPlatform']] = None, @@ -355,7 +400,7 @@ def __init__(__self__, *, @property @pulumi.getter(name="componentDependencies") - def component_dependencies(self) -> Optional[Any]: + def component_dependencies(self) -> Optional[Mapping[str, 'outputs.ComponentVersionComponentDependencyRequirement']]: return pulumi.get(self, "component_dependencies") @property @@ -482,6 +527,127 @@ def source_path(self) -> Optional[str]: return pulumi.get(self, "source_path") +@pulumi.output_type +class DeploymentComponentConfigurationUpdate(dict): + def __init__(__self__, *, + merge: Optional[str] = None, + reset: Optional[Sequence[str]] = None): + if merge is not None: + pulumi.set(__self__, "merge", merge) + if reset is not None: + pulumi.set(__self__, "reset", reset) + + @property + @pulumi.getter + def merge(self) -> Optional[str]: + return pulumi.get(self, "merge") + + @property + @pulumi.getter + def reset(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "reset") + + +@pulumi.output_type +class DeploymentComponentDeploymentSpecification(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "componentVersion": + suggest = "component_version" + elif key == "configurationUpdate": + suggest = "configuration_update" + elif key == "runWith": + suggest = "run_with" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DeploymentComponentDeploymentSpecification. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DeploymentComponentDeploymentSpecification.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DeploymentComponentDeploymentSpecification.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + component_version: Optional[str] = None, + configuration_update: Optional['outputs.DeploymentComponentConfigurationUpdate'] = None, + run_with: Optional['outputs.DeploymentComponentRunWith'] = None): + if component_version is not None: + pulumi.set(__self__, "component_version", component_version) + if configuration_update is not None: + pulumi.set(__self__, "configuration_update", configuration_update) + if run_with is not None: + pulumi.set(__self__, "run_with", run_with) + + @property + @pulumi.getter(name="componentVersion") + def component_version(self) -> Optional[str]: + return pulumi.get(self, "component_version") + + @property + @pulumi.getter(name="configurationUpdate") + def configuration_update(self) -> Optional['outputs.DeploymentComponentConfigurationUpdate']: + return pulumi.get(self, "configuration_update") + + @property + @pulumi.getter(name="runWith") + def run_with(self) -> Optional['outputs.DeploymentComponentRunWith']: + return pulumi.get(self, "run_with") + + +@pulumi.output_type +class DeploymentComponentRunWith(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "posixUser": + suggest = "posix_user" + elif key == "systemResourceLimits": + suggest = "system_resource_limits" + elif key == "windowsUser": + suggest = "windows_user" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DeploymentComponentRunWith. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DeploymentComponentRunWith.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DeploymentComponentRunWith.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + posix_user: Optional[str] = None, + system_resource_limits: Optional['outputs.DeploymentSystemResourceLimits'] = None, + windows_user: Optional[str] = None): + if posix_user is not None: + pulumi.set(__self__, "posix_user", posix_user) + if system_resource_limits is not None: + pulumi.set(__self__, "system_resource_limits", system_resource_limits) + if windows_user is not None: + pulumi.set(__self__, "windows_user", windows_user) + + @property + @pulumi.getter(name="posixUser") + def posix_user(self) -> Optional[str]: + return pulumi.get(self, "posix_user") + + @property + @pulumi.getter(name="systemResourceLimits") + def system_resource_limits(self) -> Optional['outputs.DeploymentSystemResourceLimits']: + return pulumi.get(self, "system_resource_limits") + + @property + @pulumi.getter(name="windowsUser") + def windows_user(self) -> Optional[str]: + return pulumi.get(self, "windows_user") + + @pulumi.output_type class DeploymentComponentUpdatePolicy(dict): @staticmethod @@ -856,3 +1022,24 @@ def failure_handling_policy(self) -> Optional['DeploymentPoliciesFailureHandling return pulumi.get(self, "failure_handling_policy") +@pulumi.output_type +class DeploymentSystemResourceLimits(dict): + def __init__(__self__, *, + cpus: Optional[float] = None, + memory: Optional[int] = None): + if cpus is not None: + pulumi.set(__self__, "cpus", cpus) + if memory is not None: + pulumi.set(__self__, "memory", memory) + + @property + @pulumi.getter + def cpus(self) -> Optional[float]: + return pulumi.get(self, "cpus") + + @property + @pulumi.getter + def memory(self) -> Optional[int]: + return pulumi.get(self, "memory") + + diff --git a/sdk/python/pulumi_aws_native/guardduty/_inputs.py b/sdk/python/pulumi_aws_native/guardduty/_inputs.py index d9b1d849cf..b56f813b38 100644 --- a/sdk/python/pulumi_aws_native/guardduty/_inputs.py +++ b/sdk/python/pulumi_aws_native/guardduty/_inputs.py @@ -20,6 +20,7 @@ 'DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs', 'DetectorCfns3LogsConfigurationArgs', 'DetectorTagItemArgs', + 'FilterConditionArgs', 'FilterFindingCriteriaArgs', 'FilterTagItemArgs', 'IpSetTagItemArgs', @@ -244,20 +245,169 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +@pulumi.input_type +class FilterConditionArgs: + def __init__(__self__, *, + eq: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + equals: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + greater_than: Optional[pulumi.Input[int]] = None, + greater_than_or_equal: Optional[pulumi.Input[int]] = None, + gt: Optional[pulumi.Input[int]] = None, + gte: Optional[pulumi.Input[int]] = None, + less_than: Optional[pulumi.Input[int]] = None, + less_than_or_equal: Optional[pulumi.Input[int]] = None, + lt: Optional[pulumi.Input[int]] = None, + lte: Optional[pulumi.Input[int]] = None, + neq: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + not_equals: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if eq is not None: + pulumi.set(__self__, "eq", eq) + if equals is not None: + pulumi.set(__self__, "equals", equals) + if greater_than is not None: + pulumi.set(__self__, "greater_than", greater_than) + if greater_than_or_equal is not None: + pulumi.set(__self__, "greater_than_or_equal", greater_than_or_equal) + if gt is not None: + pulumi.set(__self__, "gt", gt) + if gte is not None: + pulumi.set(__self__, "gte", gte) + if less_than is not None: + pulumi.set(__self__, "less_than", less_than) + if less_than_or_equal is not None: + pulumi.set(__self__, "less_than_or_equal", less_than_or_equal) + if lt is not None: + pulumi.set(__self__, "lt", lt) + if lte is not None: + pulumi.set(__self__, "lte", lte) + if neq is not None: + pulumi.set(__self__, "neq", neq) + if not_equals is not None: + pulumi.set(__self__, "not_equals", not_equals) + + @property + @pulumi.getter + def eq(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "eq") + + @eq.setter + def eq(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "eq", value) + + @property + @pulumi.getter + def equals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "equals") + + @equals.setter + def equals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "equals", value) + + @property + @pulumi.getter(name="greaterThan") + def greater_than(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "greater_than") + + @greater_than.setter + def greater_than(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "greater_than", value) + + @property + @pulumi.getter(name="greaterThanOrEqual") + def greater_than_or_equal(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "greater_than_or_equal") + + @greater_than_or_equal.setter + def greater_than_or_equal(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "greater_than_or_equal", value) + + @property + @pulumi.getter + def gt(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "gt") + + @gt.setter + def gt(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "gt", value) + + @property + @pulumi.getter + def gte(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "gte") + + @gte.setter + def gte(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "gte", value) + + @property + @pulumi.getter(name="lessThan") + def less_than(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "less_than") + + @less_than.setter + def less_than(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "less_than", value) + + @property + @pulumi.getter(name="lessThanOrEqual") + def less_than_or_equal(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "less_than_or_equal") + + @less_than_or_equal.setter + def less_than_or_equal(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "less_than_or_equal", value) + + @property + @pulumi.getter + def lt(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "lt") + + @lt.setter + def lt(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "lt", value) + + @property + @pulumi.getter + def lte(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "lte") + + @lte.setter + def lte(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "lte", value) + + @property + @pulumi.getter + def neq(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "neq") + + @neq.setter + def neq(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "neq", value) + + @property + @pulumi.getter(name="notEquals") + def not_equals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "not_equals") + + @not_equals.setter + def not_equals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "not_equals", value) + + @pulumi.input_type class FilterFindingCriteriaArgs: def __init__(__self__, *, - criterion: Optional[Any] = None): + criterion: Optional[pulumi.Input[Mapping[str, pulumi.Input['FilterConditionArgs']]]] = None): if criterion is not None: pulumi.set(__self__, "criterion", criterion) @property @pulumi.getter - def criterion(self) -> Optional[Any]: + def criterion(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['FilterConditionArgs']]]]: return pulumi.get(self, "criterion") @criterion.setter - def criterion(self, value: Optional[Any]): + def criterion(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['FilterConditionArgs']]]]): pulumi.set(self, "criterion", value) diff --git a/sdk/python/pulumi_aws_native/guardduty/outputs.py b/sdk/python/pulumi_aws_native/guardduty/outputs.py index c5bd0dcf46..11e67d3de3 100644 --- a/sdk/python/pulumi_aws_native/guardduty/outputs.py +++ b/sdk/python/pulumi_aws_native/guardduty/outputs.py @@ -21,6 +21,7 @@ 'DetectorCfnScanEc2InstanceWithFindingsConfiguration', 'DetectorCfns3LogsConfiguration', 'DetectorTagItem', + 'FilterCondition', 'FilterFindingCriteria', 'FilterTagItem', 'IpSetTagItem', @@ -272,16 +273,142 @@ def value(self) -> str: return pulumi.get(self, "value") +@pulumi.output_type +class FilterCondition(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "greaterThan": + suggest = "greater_than" + elif key == "greaterThanOrEqual": + suggest = "greater_than_or_equal" + elif key == "lessThan": + suggest = "less_than" + elif key == "lessThanOrEqual": + suggest = "less_than_or_equal" + elif key == "notEquals": + suggest = "not_equals" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in FilterCondition. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + FilterCondition.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + FilterCondition.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + eq: Optional[Sequence[str]] = None, + equals: Optional[Sequence[str]] = None, + greater_than: Optional[int] = None, + greater_than_or_equal: Optional[int] = None, + gt: Optional[int] = None, + gte: Optional[int] = None, + less_than: Optional[int] = None, + less_than_or_equal: Optional[int] = None, + lt: Optional[int] = None, + lte: Optional[int] = None, + neq: Optional[Sequence[str]] = None, + not_equals: Optional[Sequence[str]] = None): + if eq is not None: + pulumi.set(__self__, "eq", eq) + if equals is not None: + pulumi.set(__self__, "equals", equals) + if greater_than is not None: + pulumi.set(__self__, "greater_than", greater_than) + if greater_than_or_equal is not None: + pulumi.set(__self__, "greater_than_or_equal", greater_than_or_equal) + if gt is not None: + pulumi.set(__self__, "gt", gt) + if gte is not None: + pulumi.set(__self__, "gte", gte) + if less_than is not None: + pulumi.set(__self__, "less_than", less_than) + if less_than_or_equal is not None: + pulumi.set(__self__, "less_than_or_equal", less_than_or_equal) + if lt is not None: + pulumi.set(__self__, "lt", lt) + if lte is not None: + pulumi.set(__self__, "lte", lte) + if neq is not None: + pulumi.set(__self__, "neq", neq) + if not_equals is not None: + pulumi.set(__self__, "not_equals", not_equals) + + @property + @pulumi.getter + def eq(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "eq") + + @property + @pulumi.getter + def equals(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "equals") + + @property + @pulumi.getter(name="greaterThan") + def greater_than(self) -> Optional[int]: + return pulumi.get(self, "greater_than") + + @property + @pulumi.getter(name="greaterThanOrEqual") + def greater_than_or_equal(self) -> Optional[int]: + return pulumi.get(self, "greater_than_or_equal") + + @property + @pulumi.getter + def gt(self) -> Optional[int]: + return pulumi.get(self, "gt") + + @property + @pulumi.getter + def gte(self) -> Optional[int]: + return pulumi.get(self, "gte") + + @property + @pulumi.getter(name="lessThan") + def less_than(self) -> Optional[int]: + return pulumi.get(self, "less_than") + + @property + @pulumi.getter(name="lessThanOrEqual") + def less_than_or_equal(self) -> Optional[int]: + return pulumi.get(self, "less_than_or_equal") + + @property + @pulumi.getter + def lt(self) -> Optional[int]: + return pulumi.get(self, "lt") + + @property + @pulumi.getter + def lte(self) -> Optional[int]: + return pulumi.get(self, "lte") + + @property + @pulumi.getter + def neq(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "neq") + + @property + @pulumi.getter(name="notEquals") + def not_equals(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "not_equals") + + @pulumi.output_type class FilterFindingCriteria(dict): def __init__(__self__, *, - criterion: Optional[Any] = None): + criterion: Optional[Mapping[str, 'outputs.FilterCondition']] = None): if criterion is not None: pulumi.set(__self__, "criterion", criterion) @property @pulumi.getter - def criterion(self) -> Optional[Any]: + def criterion(self) -> Optional[Mapping[str, 'outputs.FilterCondition']]: return pulumi.get(self, "criterion") diff --git a/sdk/python/pulumi_aws_native/imagebuilder/_inputs.py b/sdk/python/pulumi_aws_native/imagebuilder/_inputs.py index 45eaf9546a..21a9419c91 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/_inputs.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/_inputs.py @@ -426,7 +426,7 @@ def service(self, value: Optional[pulumi.Input['ContainerRecipeTargetContainerRe @pulumi.input_type class DistributionConfigurationAmiDistributionConfigurationArgs: def __init__(__self__, *, - ami_tags: Optional[Any] = None, + ami_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, kms_key_id: Optional[pulumi.Input[str]] = None, launch_permission_configuration: Optional[pulumi.Input['DistributionConfigurationLaunchPermissionConfigurationArgs']] = None, @@ -434,7 +434,7 @@ def __init__(__self__, *, target_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ The specific AMI settings (for example, launch permissions, AMI tags). - :param Any ami_tags: The tags to apply to AMIs distributed to this Region. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] ami_tags: The tags to apply to AMIs distributed to this Region. :param pulumi.Input[str] description: The description of the AMI distribution configuration. :param pulumi.Input[str] kms_key_id: The KMS key identifier used to encrypt the distributed image. :param pulumi.Input[str] name: The name of the AMI distribution configuration. @@ -455,14 +455,14 @@ def __init__(__self__, *, @property @pulumi.getter(name="amiTags") - def ami_tags(self) -> Optional[Any]: + def ami_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The tags to apply to AMIs distributed to this Region. """ return pulumi.get(self, "ami_tags") @ami_tags.setter - def ami_tags(self, value: Optional[Any]): + def ami_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "ami_tags", value) @property @@ -1990,14 +1990,14 @@ def __init__(__self__, *, last_launched: Optional[pulumi.Input['LifecyclePolicyLastLaunchedArgs']] = None, regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, shared_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tag_map: Optional[Any] = None): + tag_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The AMI exclusion rules for the policy detail. :param pulumi.Input[bool] is_public: Use to apply lifecycle policy actions on whether the AMI is public. :param pulumi.Input['LifecyclePolicyLastLaunchedArgs'] last_launched: Use to apply lifecycle policy actions on AMIs launched before a certain time. :param pulumi.Input[Sequence[pulumi.Input[str]]] regions: Use to apply lifecycle policy actions on AMIs distributed to a set of regions. :param pulumi.Input[Sequence[pulumi.Input[str]]] shared_accounts: Use to apply lifecycle policy actions on AMIs shared with a set of regions. - :param Any tag_map: The AMIs to select by tag. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tag_map: The AMIs to select by tag. """ if is_public is not None: pulumi.set(__self__, "is_public", is_public) @@ -2060,14 +2060,14 @@ def shared_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str @property @pulumi.getter(name="tagMap") - def tag_map(self) -> Optional[Any]: + def tag_map(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The AMIs to select by tag. """ return pulumi.get(self, "tag_map") @tag_map.setter - def tag_map(self, value: Optional[Any]): + def tag_map(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tag_map", value) @@ -2075,10 +2075,10 @@ def tag_map(self, value: Optional[Any]): class LifecyclePolicyExclusionRulesArgs: def __init__(__self__, *, amis: Optional[pulumi.Input['LifecyclePolicyAmiExclusionRulesArgs']] = None, - tag_map: Optional[Any] = None): + tag_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The exclusion rules to apply of the policy detail. - :param Any tag_map: The Image Builder tags to filter on. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tag_map: The Image Builder tags to filter on. """ if amis is not None: pulumi.set(__self__, "amis", amis) @@ -2096,14 +2096,14 @@ def amis(self, value: Optional[pulumi.Input['LifecyclePolicyAmiExclusionRulesArg @property @pulumi.getter(name="tagMap") - def tag_map(self) -> Optional[Any]: + def tag_map(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The Image Builder tags to filter on. """ return pulumi.get(self, "tag_map") @tag_map.setter - def tag_map(self, value: Optional[Any]): + def tag_map(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tag_map", value) @@ -2355,11 +2355,11 @@ def semantic_version(self, value: pulumi.Input[str]): class LifecyclePolicyResourceSelectionArgs: def __init__(__self__, *, recipes: Optional[pulumi.Input[Sequence[pulumi.Input['LifecyclePolicyRecipeSelectionArgs']]]] = None, - tag_map: Optional[Any] = None): + tag_map: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The resource selection for the lifecycle policy. :param pulumi.Input[Sequence[pulumi.Input['LifecyclePolicyRecipeSelectionArgs']]] recipes: The recipes to select. - :param Any tag_map: The Image Builder resources to select by tag. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tag_map: The Image Builder resources to select by tag. """ if recipes is not None: pulumi.set(__self__, "recipes", recipes) @@ -2380,14 +2380,14 @@ def recipes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LifecycleP @property @pulumi.getter(name="tagMap") - def tag_map(self) -> Optional[Any]: + def tag_map(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The Image Builder resources to select by tag. """ return pulumi.get(self, "tag_map") @tag_map.setter - def tag_map(self, value: Optional[Any]): + def tag_map(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tag_map", value) diff --git a/sdk/python/pulumi_aws_native/imagebuilder/component.py b/sdk/python/pulumi_aws_native/imagebuilder/component.py index 87e6a06018..4ae650493f 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/component.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/component.py @@ -23,7 +23,7 @@ def __init__(__self__, *, kms_key_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, supported_os_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, uri: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Component resource. @@ -35,7 +35,7 @@ def __init__(__self__, *, :param pulumi.Input[str] kms_key_id: The KMS key identifier used to encrypt the component. :param pulumi.Input[str] name: The name of the component. :param pulumi.Input[Sequence[pulumi.Input[str]]] supported_os_versions: The operating system (OS) version supported by the component. - :param Any tags: The tags associated with the component. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the component. :param pulumi.Input[str] uri: The uri of the component. """ pulumi.set(__self__, "platform", platform) @@ -155,14 +155,14 @@ def supported_os_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The tags associated with the component. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -190,7 +190,7 @@ def __init__(__self__, name: Optional[pulumi.Input[str]] = None, platform: Optional[pulumi.Input['ComponentPlatform']] = None, supported_os_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, uri: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, __props__=None): @@ -206,7 +206,7 @@ def __init__(__self__, :param pulumi.Input[str] name: The name of the component. :param pulumi.Input['ComponentPlatform'] platform: The platform of the component. :param pulumi.Input[Sequence[pulumi.Input[str]]] supported_os_versions: The operating system (OS) version supported by the component. - :param Any tags: The tags associated with the component. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the component. :param pulumi.Input[str] uri: The uri of the component. :param pulumi.Input[str] version: The version of the component. """ @@ -241,7 +241,7 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, platform: Optional[pulumi.Input['ComponentPlatform']] = None, supported_os_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, uri: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, __props__=None): @@ -270,7 +270,7 @@ def _internal_init(__self__, __props__.__dict__["arn"] = None __props__.__dict__["encrypted"] = None __props__.__dict__["type"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["change_description", "data", "description", "kms_key_id", "name", "platform", "supported_os_versions[*]", "tags", "uri", "version"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["change_description", "data", "description", "kms_key_id", "name", "platform", "supported_os_versions[*]", "tags.*", "uri", "version"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(Component, __self__).__init__( 'aws-native:imagebuilder:Component', @@ -383,7 +383,7 @@ def supported_os_versions(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The tags associated with the component. """ diff --git a/sdk/python/pulumi_aws_native/imagebuilder/container_recipe.py b/sdk/python/pulumi_aws_native/imagebuilder/container_recipe.py index d51cb792af..11725aa953 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/container_recipe.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/container_recipe.py @@ -28,7 +28,7 @@ def __init__(__self__, *, name: Optional[pulumi.Input[str]] = None, parent_image: Optional[pulumi.Input[str]] = None, platform_override: Optional[pulumi.Input['ContainerRecipePlatformOverride']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target_repository: Optional[pulumi.Input['ContainerRecipeTargetContainerRepositoryArgs']] = None, version: Optional[pulumi.Input[str]] = None, working_directory: Optional[pulumi.Input[str]] = None): @@ -45,7 +45,7 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the container recipe. :param pulumi.Input[str] parent_image: The source image for the container recipe. :param pulumi.Input['ContainerRecipePlatformOverride'] platform_override: Specifies the operating system platform when you use a custom source image. - :param Any tags: Tags that are attached to the container recipe. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags that are attached to the container recipe. :param pulumi.Input['ContainerRecipeTargetContainerRepositoryArgs'] target_repository: The destination repository for the container image. :param pulumi.Input[str] version: The semantic version of the container recipe (..). :param pulumi.Input[str] working_directory: The working directory to be used during build and test workflows. @@ -215,14 +215,14 @@ def platform_override(self, value: Optional[pulumi.Input['ContainerRecipePlatfor @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Tags that are attached to the container recipe. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -278,7 +278,7 @@ def __init__(__self__, name: Optional[pulumi.Input[str]] = None, parent_image: Optional[pulumi.Input[str]] = None, platform_override: Optional[pulumi.Input['ContainerRecipePlatformOverride']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target_repository: Optional[pulumi.Input[pulumi.InputType['ContainerRecipeTargetContainerRepositoryArgs']]] = None, version: Optional[pulumi.Input[str]] = None, working_directory: Optional[pulumi.Input[str]] = None, @@ -299,7 +299,7 @@ def __init__(__self__, :param pulumi.Input[str] name: The name of the container recipe. :param pulumi.Input[str] parent_image: The source image for the container recipe. :param pulumi.Input['ContainerRecipePlatformOverride'] platform_override: Specifies the operating system platform when you use a custom source image. - :param Any tags: Tags that are attached to the container recipe. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Tags that are attached to the container recipe. :param pulumi.Input[pulumi.InputType['ContainerRecipeTargetContainerRepositoryArgs']] target_repository: The destination repository for the container image. :param pulumi.Input[str] version: The semantic version of the container recipe (..). :param pulumi.Input[str] working_directory: The working directory to be used during build and test workflows. @@ -339,7 +339,7 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, parent_image: Optional[pulumi.Input[str]] = None, platform_override: Optional[pulumi.Input['ContainerRecipePlatformOverride']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, target_repository: Optional[pulumi.Input[pulumi.InputType['ContainerRecipeTargetContainerRepositoryArgs']]] = None, version: Optional[pulumi.Input[str]] = None, working_directory: Optional[pulumi.Input[str]] = None, @@ -368,7 +368,7 @@ def _internal_init(__self__, __props__.__dict__["version"] = version __props__.__dict__["working_directory"] = working_directory __props__.__dict__["arn"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["components[*]", "container_type", "description", "dockerfile_template_data", "dockerfile_template_uri", "image_os_version_override", "instance_configuration", "kms_key_id", "name", "parent_image", "platform_override", "tags", "target_repository", "version", "working_directory"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["components[*]", "container_type", "description", "dockerfile_template_data", "dockerfile_template_uri", "image_os_version_override", "instance_configuration", "kms_key_id", "name", "parent_image", "platform_override", "tags.*", "target_repository", "version", "working_directory"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(ContainerRecipe, __self__).__init__( 'aws-native:imagebuilder:ContainerRecipe', @@ -508,7 +508,7 @@ def platform_override(self) -> pulumi.Output[Optional['ContainerRecipePlatformOv @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ Tags that are attached to the container recipe. """ diff --git a/sdk/python/pulumi_aws_native/imagebuilder/distribution_configuration.py b/sdk/python/pulumi_aws_native/imagebuilder/distribution_configuration.py index df62fa8419..e6ee884f9f 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/distribution_configuration.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/distribution_configuration.py @@ -20,13 +20,13 @@ def __init__(__self__, *, distributions: pulumi.Input[Sequence[pulumi.Input['DistributionConfigurationDistributionArgs']]], description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a DistributionConfiguration resource. :param pulumi.Input[Sequence[pulumi.Input['DistributionConfigurationDistributionArgs']]] distributions: The distributions of the distribution configuration. :param pulumi.Input[str] description: The description of the distribution configuration. :param pulumi.Input[str] name: The name of the distribution configuration. - :param Any tags: The tags associated with the component. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the component. """ pulumi.set(__self__, "distributions", distributions) if description is not None: @@ -74,14 +74,14 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The tags associated with the component. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -93,7 +93,7 @@ def __init__(__self__, description: Optional[pulumi.Input[str]] = None, distributions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributionConfigurationDistributionArgs']]]]] = None, name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ Resource schema for AWS::ImageBuilder::DistributionConfiguration @@ -103,7 +103,7 @@ def __init__(__self__, :param pulumi.Input[str] description: The description of the distribution configuration. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributionConfigurationDistributionArgs']]]] distributions: The distributions of the distribution configuration. :param pulumi.Input[str] name: The name of the distribution configuration. - :param Any tags: The tags associated with the component. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the component. """ ... @overload @@ -132,7 +132,7 @@ def _internal_init(__self__, description: Optional[pulumi.Input[str]] = None, distributions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DistributionConfigurationDistributionArgs']]]]] = None, name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -214,7 +214,7 @@ def name(self) -> pulumi.Output[str]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The tags associated with the component. """ 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 308ea79328..3609a1c18e 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_distribution_configuration.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_distribution_configuration.py @@ -60,7 +60,7 @@ def distributions(self) -> Optional[Sequence['outputs.DistributionConfigurationD @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ The tags associated with the component. """ 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 4c139c7d7f..049c139374 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_image_pipeline.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_image_pipeline.py @@ -162,7 +162,7 @@ def status(self) -> Optional['ImagePipelineStatus']: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ The tags of this image pipeline. """ 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 117c417aee..b33886c4e7 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_infrastructure_configuration.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_infrastructure_configuration.py @@ -119,7 +119,7 @@ def logging(self) -> Optional['outputs.InfrastructureConfigurationLogging']: @property @pulumi.getter(name="resourceTags") - def resource_tags(self) -> Optional[Any]: + def resource_tags(self) -> Optional[Mapping[str, str]]: """ The tags attached to the resource created by Image Builder. """ @@ -151,7 +151,7 @@ def subnet_id(self) -> Optional[str]: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ The tags associated with the component. """ 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 b6fb6e9bf5..405aa88708 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_lifecycle_policy.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_lifecycle_policy.py @@ -104,7 +104,7 @@ def status(self) -> Optional['LifecyclePolicyStatus']: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ The tags associated with the lifecycle policy. """ diff --git a/sdk/python/pulumi_aws_native/imagebuilder/image.py b/sdk/python/pulumi_aws_native/imagebuilder/image.py index 970b4a4fc5..dba9256003 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/image.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/image.py @@ -25,7 +25,7 @@ def __init__(__self__, *, image_scanning_configuration: Optional[pulumi.Input['ImageScanningConfigurationArgs']] = None, image_tests_configuration: Optional[pulumi.Input['ImageTestsConfigurationArgs']] = None, infrastructure_configuration_arn: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workflows: Optional[pulumi.Input[Sequence[pulumi.Input['ImageWorkflowConfigurationArgs']]]] = None): """ The set of arguments for constructing a Image resource. @@ -37,7 +37,7 @@ def __init__(__self__, *, :param pulumi.Input['ImageScanningConfigurationArgs'] image_scanning_configuration: Contains settings for vulnerability scans. :param pulumi.Input['ImageTestsConfigurationArgs'] image_tests_configuration: The image tests configuration used when creating this image. :param pulumi.Input[str] infrastructure_configuration_arn: The Amazon Resource Name (ARN) of the infrastructure configuration. - :param Any tags: The tags associated with the image. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the image. :param pulumi.Input[Sequence[pulumi.Input['ImageWorkflowConfigurationArgs']]] workflows: Workflows to define the image build process """ if container_recipe_arn is not None: @@ -159,14 +159,14 @@ def infrastructure_configuration_arn(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The tags associated with the image. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -195,7 +195,7 @@ def __init__(__self__, image_scanning_configuration: Optional[pulumi.Input[pulumi.InputType['ImageScanningConfigurationArgs']]] = None, image_tests_configuration: Optional[pulumi.Input[pulumi.InputType['ImageTestsConfigurationArgs']]] = None, infrastructure_configuration_arn: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workflows: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageWorkflowConfigurationArgs']]]]] = None, __props__=None): """ @@ -211,7 +211,7 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['ImageScanningConfigurationArgs']] image_scanning_configuration: Contains settings for vulnerability scans. :param pulumi.Input[pulumi.InputType['ImageTestsConfigurationArgs']] image_tests_configuration: The image tests configuration used when creating this image. :param pulumi.Input[str] infrastructure_configuration_arn: The Amazon Resource Name (ARN) of the infrastructure configuration. - :param Any tags: The tags associated with the image. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the image. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageWorkflowConfigurationArgs']]]] workflows: Workflows to define the image build process """ ... @@ -246,7 +246,7 @@ def _internal_init(__self__, image_scanning_configuration: Optional[pulumi.Input[pulumi.InputType['ImageScanningConfigurationArgs']]] = None, image_tests_configuration: Optional[pulumi.Input[pulumi.InputType['ImageTestsConfigurationArgs']]] = None, infrastructure_configuration_arn: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workflows: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImageWorkflowConfigurationArgs']]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -271,7 +271,7 @@ def _internal_init(__self__, __props__.__dict__["image_id"] = None __props__.__dict__["image_uri"] = None __props__.__dict__["name"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["container_recipe_arn", "distribution_configuration_arn", "enhanced_image_metadata_enabled", "image_recipe_arn", "image_scanning_configuration", "image_tests_configuration", "infrastructure_configuration_arn", "tags", "workflows[*]"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["container_recipe_arn", "distribution_configuration_arn", "enhanced_image_metadata_enabled", "image_recipe_arn", "image_scanning_configuration", "image_tests_configuration", "infrastructure_configuration_arn", "tags.*", "workflows[*]"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(Image, __self__).__init__( 'aws-native:imagebuilder:Image', @@ -409,7 +409,7 @@ def name(self) -> pulumi.Output[str]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The tags associated with the image. """ diff --git a/sdk/python/pulumi_aws_native/imagebuilder/image_pipeline.py b/sdk/python/pulumi_aws_native/imagebuilder/image_pipeline.py index 221908c6da..22d1fb3579 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/image_pipeline.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/image_pipeline.py @@ -29,7 +29,7 @@ def __init__(__self__, *, name: Optional[pulumi.Input[str]] = None, schedule: Optional[pulumi.Input['ImagePipelineScheduleArgs']] = None, status: Optional[pulumi.Input['ImagePipelineStatus']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workflows: Optional[pulumi.Input[Sequence[pulumi.Input['ImagePipelineWorkflowConfigurationArgs']]]] = None): """ The set of arguments for constructing a ImagePipeline resource. @@ -45,7 +45,7 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the image pipeline. :param pulumi.Input['ImagePipelineScheduleArgs'] schedule: The schedule of the image pipeline. :param pulumi.Input['ImagePipelineStatus'] status: The status of the image pipeline. - :param Any tags: The tags of this image pipeline. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of this image pipeline. :param pulumi.Input[Sequence[pulumi.Input['ImagePipelineWorkflowConfigurationArgs']]] workflows: Workflows to define the image build process """ if container_recipe_arn is not None: @@ -223,14 +223,14 @@ def status(self, value: Optional[pulumi.Input['ImagePipelineStatus']]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The tags of this image pipeline. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -263,7 +263,7 @@ def __init__(__self__, name: Optional[pulumi.Input[str]] = None, schedule: Optional[pulumi.Input[pulumi.InputType['ImagePipelineScheduleArgs']]] = None, status: Optional[pulumi.Input['ImagePipelineStatus']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workflows: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImagePipelineWorkflowConfigurationArgs']]]]] = None, __props__=None): """ @@ -283,7 +283,7 @@ def __init__(__self__, :param pulumi.Input[str] name: The name of the image pipeline. :param pulumi.Input[pulumi.InputType['ImagePipelineScheduleArgs']] schedule: The schedule of the image pipeline. :param pulumi.Input['ImagePipelineStatus'] status: The status of the image pipeline. - :param Any tags: The tags of this image pipeline. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of this image pipeline. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImagePipelineWorkflowConfigurationArgs']]]] workflows: Workflows to define the image build process """ ... @@ -322,7 +322,7 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, schedule: Optional[pulumi.Input[pulumi.InputType['ImagePipelineScheduleArgs']]] = None, status: Optional[pulumi.Input['ImagePipelineStatus']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workflows: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ImagePipelineWorkflowConfigurationArgs']]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -495,7 +495,7 @@ def status(self) -> pulumi.Output[Optional['ImagePipelineStatus']]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The tags of this image pipeline. """ diff --git a/sdk/python/pulumi_aws_native/imagebuilder/image_recipe.py b/sdk/python/pulumi_aws_native/imagebuilder/image_recipe.py index 1a8e2df024..f152453fa9 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/image_recipe.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/image_recipe.py @@ -24,7 +24,7 @@ def __init__(__self__, *, block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['ImageRecipeInstanceBlockDeviceMappingArgs']]]] = None, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, working_directory: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a ImageRecipe resource. @@ -35,7 +35,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ImageRecipeInstanceBlockDeviceMappingArgs']]] block_device_mappings: The block device mappings to apply when creating images from this recipe. :param pulumi.Input[str] description: The description of the image recipe. :param pulumi.Input[str] name: The name of the image recipe. - :param Any tags: The tags of the image recipe. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the image recipe. :param pulumi.Input[str] working_directory: The working directory to be used during build and test workflows. """ pulumi.set(__self__, "components", components) @@ -140,14 +140,14 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The tags of the image recipe. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -174,7 +174,7 @@ def __init__(__self__, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, parent_image: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, version: Optional[pulumi.Input[str]] = None, working_directory: Optional[pulumi.Input[str]] = None, __props__=None): @@ -189,7 +189,7 @@ def __init__(__self__, :param pulumi.Input[str] description: The description of the image recipe. :param pulumi.Input[str] name: The name of the image recipe. :param pulumi.Input[str] parent_image: The parent image of the image recipe. - :param Any tags: The tags of the image recipe. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of the image recipe. :param pulumi.Input[str] version: The version of the image recipe. :param pulumi.Input[str] working_directory: The working directory to be used during build and test workflows. """ @@ -223,7 +223,7 @@ def _internal_init(__self__, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, parent_image: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, version: Optional[pulumi.Input[str]] = None, working_directory: Optional[pulumi.Input[str]] = None, __props__=None): @@ -251,7 +251,7 @@ def _internal_init(__self__, __props__.__dict__["version"] = version __props__.__dict__["working_directory"] = working_directory __props__.__dict__["arn"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["block_device_mappings[*]", "components[*]", "description", "name", "parent_image", "tags", "version", "working_directory"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["block_device_mappings[*]", "components[*]", "description", "name", "parent_image", "tags.*", "version", "working_directory"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(ImageRecipe, __self__).__init__( 'aws-native:imagebuilder:ImageRecipe', @@ -345,7 +345,7 @@ def parent_image(self) -> pulumi.Output[str]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The tags of the image recipe. """ diff --git a/sdk/python/pulumi_aws_native/imagebuilder/infrastructure_configuration.py b/sdk/python/pulumi_aws_native/imagebuilder/infrastructure_configuration.py index f91ed30309..a963a0a981 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/infrastructure_configuration.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/infrastructure_configuration.py @@ -24,11 +24,11 @@ def __init__(__self__, *, key_pair: Optional[pulumi.Input[str]] = None, logging: Optional[pulumi.Input['InfrastructureConfigurationLoggingArgs']] = None, name: Optional[pulumi.Input[str]] = None, - resource_tags: Optional[Any] = None, + resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, sns_topic_arn: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, terminate_instance_on_failure: Optional[pulumi.Input[bool]] = None): """ The set of arguments for constructing a InfrastructureConfiguration resource. @@ -39,11 +39,11 @@ def __init__(__self__, *, :param pulumi.Input[str] key_pair: The EC2 key pair of the infrastructure configuration.. :param pulumi.Input['InfrastructureConfigurationLoggingArgs'] logging: The logging configuration of the infrastructure configuration. :param pulumi.Input[str] name: The name of the infrastructure configuration. - :param Any resource_tags: The tags attached to the resource created by Image Builder. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: The tags attached to the resource created by Image Builder. :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group IDs of the infrastructure configuration. :param pulumi.Input[str] sns_topic_arn: The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration. :param pulumi.Input[str] subnet_id: The subnet ID of the infrastructure configuration. - :param Any tags: The tags associated with the component. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the component. :param pulumi.Input[bool] terminate_instance_on_failure: The terminate instance on failure configuration of the infrastructure configuration. """ pulumi.set(__self__, "instance_profile_name", instance_profile_name) @@ -158,14 +158,14 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="resourceTags") - def resource_tags(self) -> Optional[Any]: + def resource_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The tags attached to the resource created by Image Builder. """ return pulumi.get(self, "resource_tags") @resource_tags.setter - def resource_tags(self, value: Optional[Any]): + def resource_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "resource_tags", value) @property @@ -206,14 +206,14 @@ def subnet_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The tags associated with the component. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -241,11 +241,11 @@ def __init__(__self__, key_pair: Optional[pulumi.Input[str]] = None, logging: Optional[pulumi.Input[pulumi.InputType['InfrastructureConfigurationLoggingArgs']]] = None, name: Optional[pulumi.Input[str]] = None, - resource_tags: Optional[Any] = None, + resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, sns_topic_arn: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, terminate_instance_on_failure: Optional[pulumi.Input[bool]] = None, __props__=None): """ @@ -260,11 +260,11 @@ def __init__(__self__, :param pulumi.Input[str] key_pair: The EC2 key pair of the infrastructure configuration.. :param pulumi.Input[pulumi.InputType['InfrastructureConfigurationLoggingArgs']] logging: The logging configuration of the infrastructure configuration. :param pulumi.Input[str] name: The name of the infrastructure configuration. - :param Any resource_tags: The tags attached to the resource created by Image Builder. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: The tags attached to the resource created by Image Builder. :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group IDs of the infrastructure configuration. :param pulumi.Input[str] sns_topic_arn: The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration. :param pulumi.Input[str] subnet_id: The subnet ID of the infrastructure configuration. - :param Any tags: The tags associated with the component. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the component. :param pulumi.Input[bool] terminate_instance_on_failure: The terminate instance on failure configuration of the infrastructure configuration. """ ... @@ -298,11 +298,11 @@ def _internal_init(__self__, key_pair: Optional[pulumi.Input[str]] = None, logging: Optional[pulumi.Input[pulumi.InputType['InfrastructureConfigurationLoggingArgs']]] = None, name: Optional[pulumi.Input[str]] = None, - resource_tags: Optional[Any] = None, + resource_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, sns_topic_arn: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, terminate_instance_on_failure: Optional[pulumi.Input[bool]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -435,7 +435,7 @@ def name(self) -> pulumi.Output[str]: @property @pulumi.getter(name="resourceTags") - def resource_tags(self) -> pulumi.Output[Optional[Any]]: + def resource_tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The tags attached to the resource created by Image Builder. """ @@ -467,7 +467,7 @@ def subnet_id(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The tags associated with the component. """ diff --git a/sdk/python/pulumi_aws_native/imagebuilder/lifecycle_policy.py b/sdk/python/pulumi_aws_native/imagebuilder/lifecycle_policy.py index 956fd65bb3..f9cbd297f8 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/lifecycle_policy.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/lifecycle_policy.py @@ -24,7 +24,7 @@ def __init__(__self__, *, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input['LifecyclePolicyStatus']] = None, - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a LifecyclePolicy resource. :param pulumi.Input[str] execution_role: The execution role of the lifecycle policy. @@ -34,7 +34,7 @@ def __init__(__self__, *, :param pulumi.Input[str] description: The description of the lifecycle policy. :param pulumi.Input[str] name: The name of the lifecycle policy. :param pulumi.Input['LifecyclePolicyStatus'] status: The status of the lifecycle policy. - :param Any tags: The tags associated with the lifecycle policy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the lifecycle policy. """ pulumi.set(__self__, "execution_role", execution_role) pulumi.set(__self__, "policy_details", policy_details) @@ -135,14 +135,14 @@ def status(self, value: Optional[pulumi.Input['LifecyclePolicyStatus']]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The tags associated with the lifecycle policy. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -158,7 +158,7 @@ def __init__(__self__, resource_selection: Optional[pulumi.Input[pulumi.InputType['LifecyclePolicyResourceSelectionArgs']]] = None, resource_type: Optional[pulumi.Input['LifecyclePolicyResourceType']] = None, status: Optional[pulumi.Input['LifecyclePolicyStatus']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ Resource schema for AWS::ImageBuilder::LifecyclePolicy @@ -172,7 +172,7 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['LifecyclePolicyResourceSelectionArgs']] resource_selection: The resource selection of the lifecycle policy. :param pulumi.Input['LifecyclePolicyResourceType'] resource_type: The resource type of the lifecycle policy. :param pulumi.Input['LifecyclePolicyStatus'] status: The status of the lifecycle policy. - :param Any tags: The tags associated with the lifecycle policy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the lifecycle policy. """ ... @overload @@ -205,7 +205,7 @@ def _internal_init(__self__, resource_selection: Optional[pulumi.Input[pulumi.InputType['LifecyclePolicyResourceSelectionArgs']]] = None, resource_type: Optional[pulumi.Input['LifecyclePolicyResourceType']] = None, status: Optional[pulumi.Input['LifecyclePolicyStatus']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -333,7 +333,7 @@ def status(self) -> pulumi.Output[Optional['LifecyclePolicyStatus']]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The tags associated with the lifecycle policy. """ diff --git a/sdk/python/pulumi_aws_native/imagebuilder/outputs.py b/sdk/python/pulumi_aws_native/imagebuilder/outputs.py index bce7013abc..26d81ca5bd 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/outputs.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/outputs.py @@ -488,7 +488,7 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - ami_tags: Optional[Any] = None, + ami_tags: Optional[Mapping[str, str]] = None, description: Optional[str] = None, kms_key_id: Optional[str] = None, launch_permission_configuration: Optional['outputs.DistributionConfigurationLaunchPermissionConfiguration'] = None, @@ -496,7 +496,7 @@ def __init__(__self__, *, target_account_ids: Optional[Sequence[str]] = None): """ The specific AMI settings (for example, launch permissions, AMI tags). - :param Any ami_tags: The tags to apply to AMIs distributed to this Region. + :param Mapping[str, str] ami_tags: The tags to apply to AMIs distributed to this Region. :param str description: The description of the AMI distribution configuration. :param str kms_key_id: The KMS key identifier used to encrypt the distributed image. :param str name: The name of the AMI distribution configuration. @@ -517,7 +517,7 @@ def __init__(__self__, *, @property @pulumi.getter(name="amiTags") - def ami_tags(self) -> Optional[Any]: + def ami_tags(self) -> Optional[Mapping[str, str]]: """ The tags to apply to AMIs distributed to this Region. """ @@ -2337,14 +2337,14 @@ def __init__(__self__, *, last_launched: Optional['outputs.LifecyclePolicyLastLaunched'] = None, regions: Optional[Sequence[str]] = None, shared_accounts: Optional[Sequence[str]] = None, - tag_map: Optional[Any] = None): + tag_map: Optional[Mapping[str, str]] = None): """ The AMI exclusion rules for the policy detail. :param bool is_public: Use to apply lifecycle policy actions on whether the AMI is public. :param 'LifecyclePolicyLastLaunched' last_launched: Use to apply lifecycle policy actions on AMIs launched before a certain time. :param Sequence[str] regions: Use to apply lifecycle policy actions on AMIs distributed to a set of regions. :param Sequence[str] shared_accounts: Use to apply lifecycle policy actions on AMIs shared with a set of regions. - :param Any tag_map: The AMIs to select by tag. + :param Mapping[str, str] tag_map: The AMIs to select by tag. """ if is_public is not None: pulumi.set(__self__, "is_public", is_public) @@ -2391,7 +2391,7 @@ def shared_accounts(self) -> Optional[Sequence[str]]: @property @pulumi.getter(name="tagMap") - def tag_map(self) -> Optional[Any]: + def tag_map(self) -> Optional[Mapping[str, str]]: """ The AMIs to select by tag. """ @@ -2422,10 +2422,10 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, amis: Optional['outputs.LifecyclePolicyAmiExclusionRules'] = None, - tag_map: Optional[Any] = None): + tag_map: Optional[Mapping[str, str]] = None): """ The exclusion rules to apply of the policy detail. - :param Any tag_map: The Image Builder tags to filter on. + :param Mapping[str, str] tag_map: The Image Builder tags to filter on. """ if amis is not None: pulumi.set(__self__, "amis", amis) @@ -2439,7 +2439,7 @@ def amis(self) -> Optional['outputs.LifecyclePolicyAmiExclusionRules']: @property @pulumi.getter(name="tagMap") - def tag_map(self) -> Optional[Any]: + def tag_map(self) -> Optional[Mapping[str, str]]: """ The Image Builder tags to filter on. """ @@ -2724,11 +2724,11 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, recipes: Optional[Sequence['outputs.LifecyclePolicyRecipeSelection']] = None, - tag_map: Optional[Any] = None): + tag_map: Optional[Mapping[str, str]] = None): """ The resource selection for the lifecycle policy. :param Sequence['LifecyclePolicyRecipeSelection'] recipes: The recipes to select. - :param Any tag_map: The Image Builder resources to select by tag. + :param Mapping[str, str] tag_map: The Image Builder resources to select by tag. """ if recipes is not None: pulumi.set(__self__, "recipes", recipes) @@ -2745,7 +2745,7 @@ def recipes(self) -> Optional[Sequence['outputs.LifecyclePolicyRecipeSelection'] @property @pulumi.getter(name="tagMap") - def tag_map(self) -> Optional[Any]: + def tag_map(self) -> Optional[Mapping[str, str]]: """ The Image Builder resources to select by tag. """ diff --git a/sdk/python/pulumi_aws_native/imagebuilder/workflow.py b/sdk/python/pulumi_aws_native/imagebuilder/workflow.py index 0b29f819c2..d989cf6557 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/workflow.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/workflow.py @@ -22,7 +22,7 @@ def __init__(__self__, *, description: Optional[pulumi.Input[str]] = None, kms_key_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, uri: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Workflow resource. @@ -33,7 +33,7 @@ def __init__(__self__, *, :param pulumi.Input[str] description: The description of the workflow. :param pulumi.Input[str] kms_key_id: The KMS key identifier used to encrypt the workflow. :param pulumi.Input[str] name: The name of the workflow. - :param Any tags: The tags associated with the workflow. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the workflow. :param pulumi.Input[str] uri: The uri of the workflow. """ pulumi.set(__self__, "type", type) @@ -139,14 +139,14 @@ def name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ The tags associated with the workflow. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -172,7 +172,7 @@ def __init__(__self__, description: Optional[pulumi.Input[str]] = None, kms_key_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, type: Optional[pulumi.Input['WorkflowType']] = None, uri: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, @@ -187,7 +187,7 @@ def __init__(__self__, :param pulumi.Input[str] description: The description of the workflow. :param pulumi.Input[str] kms_key_id: The KMS key identifier used to encrypt the workflow. :param pulumi.Input[str] name: The name of the workflow. - :param Any tags: The tags associated with the workflow. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags associated with the workflow. :param pulumi.Input['WorkflowType'] type: The type of the workflow denotes whether the workflow is used to build, test, or distribute. :param pulumi.Input[str] uri: The uri of the workflow. :param pulumi.Input[str] version: The version of the workflow. @@ -221,7 +221,7 @@ def _internal_init(__self__, description: Optional[pulumi.Input[str]] = None, kms_key_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, type: Optional[pulumi.Input['WorkflowType']] = None, uri: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, @@ -248,7 +248,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'version'") __props__.__dict__["version"] = version __props__.__dict__["arn"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["change_description", "data", "description", "kms_key_id", "name", "tags", "type", "uri", "version"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["change_description", "data", "description", "kms_key_id", "name", "tags.*", "type", "uri", "version"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(Workflow, __self__).__init__( 'aws-native:imagebuilder:Workflow', @@ -334,7 +334,7 @@ def name(self) -> pulumi.Output[str]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ The tags associated with the workflow. """ diff --git a/sdk/python/pulumi_aws_native/iot/_inputs.py b/sdk/python/pulumi_aws_native/iot/_inputs.py index b0a5a0a271..e230d73c12 100644 --- a/sdk/python/pulumi_aws_native/iot/_inputs.py +++ b/sdk/python/pulumi_aws_native/iot/_inputs.py @@ -53,6 +53,7 @@ 'ProvisioningTemplateTagArgs', 'RoleAliasTagArgs', 'ScheduledAuditTagArgs', + 'SecurityProfileAlertTargetArgs', 'SecurityProfileBehaviorCriteriaArgs', 'SecurityProfileBehaviorArgs', 'SecurityProfileMachineLearningDetectionConfigArgs', @@ -1685,6 +1686,44 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +@pulumi.input_type +class SecurityProfileAlertTargetArgs: + def __init__(__self__, *, + alert_target_arn: pulumi.Input[str], + role_arn: pulumi.Input[str]): + """ + A structure containing the alert target ARN and the role ARN. + :param pulumi.Input[str] alert_target_arn: The ARN of the notification target to which alerts are sent. + :param pulumi.Input[str] role_arn: The ARN of the role that grants permission to send alerts to the notification target. + """ + pulumi.set(__self__, "alert_target_arn", alert_target_arn) + pulumi.set(__self__, "role_arn", role_arn) + + @property + @pulumi.getter(name="alertTargetArn") + def alert_target_arn(self) -> pulumi.Input[str]: + """ + The ARN of the notification target to which alerts are sent. + """ + return pulumi.get(self, "alert_target_arn") + + @alert_target_arn.setter + def alert_target_arn(self, value: pulumi.Input[str]): + pulumi.set(self, "alert_target_arn", value) + + @property + @pulumi.getter(name="roleArn") + def role_arn(self) -> pulumi.Input[str]: + """ + The ARN of the role that grants permission to send alerts to the notification target. + """ + return pulumi.get(self, "role_arn") + + @role_arn.setter + def role_arn(self, value: pulumi.Input[str]): + pulumi.set(self, "role_arn", value) + + @pulumi.input_type class SecurityProfileBehaviorCriteriaArgs: def __init__(__self__, *, @@ -2245,34 +2284,34 @@ def value(self, value: pulumi.Input[str]): @pulumi.input_type class ThingAttributePayloadArgs: def __init__(__self__, *, - attributes: Optional[Any] = None): + attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): if attributes is not None: pulumi.set(__self__, "attributes", attributes) @property @pulumi.getter - def attributes(self) -> Optional[Any]: + def attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "attributes") @attributes.setter - def attributes(self, value: Optional[Any]): + def attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "attributes", value) @pulumi.input_type class ThingGroupAttributePayloadArgs: def __init__(__self__, *, - attributes: Optional[Any] = None): + attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): if attributes is not None: pulumi.set(__self__, "attributes", attributes) @property @pulumi.getter - def attributes(self) -> Optional[Any]: + def attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "attributes") @attributes.setter - def attributes(self, value: Optional[Any]): + def attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "attributes", value) @@ -3540,7 +3579,7 @@ def value(self, value: pulumi.Input[str]): @pulumi.input_type class TopicRuleKafkaActionArgs: def __init__(__self__, *, - client_properties: Any, + client_properties: pulumi.Input[Mapping[str, pulumi.Input[str]]], destination_arn: pulumi.Input[str], topic: pulumi.Input[str], headers: Optional[pulumi.Input[Sequence[pulumi.Input['TopicRuleKafkaActionHeaderArgs']]]] = None, @@ -3558,11 +3597,11 @@ def __init__(__self__, *, @property @pulumi.getter(name="clientProperties") - def client_properties(self) -> Any: + def client_properties(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: return pulumi.get(self, "client_properties") @client_properties.setter - def client_properties(self, value: Any): + def client_properties(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): pulumi.set(self, "client_properties", value) @property diff --git a/sdk/python/pulumi_aws_native/iot/authorizer.py b/sdk/python/pulumi_aws_native/iot/authorizer.py index b84689f48d..404435cdb3 100644 --- a/sdk/python/pulumi_aws_native/iot/authorizer.py +++ b/sdk/python/pulumi_aws_native/iot/authorizer.py @@ -24,7 +24,7 @@ def __init__(__self__, *, status: Optional[pulumi.Input['AuthorizerStatus']] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input['AuthorizerTagArgs']]]] = None, token_key_name: Optional[pulumi.Input[str]] = None, - token_signing_public_keys: Optional[Any] = None): + token_signing_public_keys: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a Authorizer resource. """ @@ -109,11 +109,11 @@ def token_key_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="tokenSigningPublicKeys") - def token_signing_public_keys(self) -> Optional[Any]: + def token_signing_public_keys(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "token_signing_public_keys") @token_signing_public_keys.setter - def token_signing_public_keys(self, value: Optional[Any]): + def token_signing_public_keys(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "token_signing_public_keys", value) @@ -129,7 +129,7 @@ def __init__(__self__, status: Optional[pulumi.Input['AuthorizerStatus']] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AuthorizerTagArgs']]]]] = None, token_key_name: Optional[pulumi.Input[str]] = None, - token_signing_public_keys: Optional[Any] = None, + token_signing_public_keys: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ Creates an authorizer. @@ -168,7 +168,7 @@ def _internal_init(__self__, status: Optional[pulumi.Input['AuthorizerStatus']] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AuthorizerTagArgs']]]]] = None, token_key_name: Optional[pulumi.Input[str]] = None, - token_signing_public_keys: Optional[Any] = None, + token_signing_public_keys: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -266,6 +266,6 @@ def token_key_name(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="tokenSigningPublicKeys") - def token_signing_public_keys(self) -> pulumi.Output[Optional[Any]]: + def token_signing_public_keys(self) -> pulumi.Output[Optional[Mapping[str, str]]]: return pulumi.get(self, "token_signing_public_keys") diff --git a/sdk/python/pulumi_aws_native/iot/get_authorizer.py b/sdk/python/pulumi_aws_native/iot/get_authorizer.py index 325e2e9c63..0e7e9100fc 100644 --- a/sdk/python/pulumi_aws_native/iot/get_authorizer.py +++ b/sdk/python/pulumi_aws_native/iot/get_authorizer.py @@ -75,7 +75,7 @@ def token_key_name(self) -> Optional[str]: @property @pulumi.getter(name="tokenSigningPublicKeys") - def token_signing_public_keys(self) -> Optional[Any]: + def token_signing_public_keys(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "token_signing_public_keys") 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 3bf7d7b4e2..7cd44abd46 100644 --- a/sdk/python/pulumi_aws_native/iot/get_security_profile.py +++ b/sdk/python/pulumi_aws_native/iot/get_security_profile.py @@ -56,7 +56,7 @@ def additional_metrics_to_retain_v2(self) -> Optional[Sequence['outputs.Security @property @pulumi.getter(name="alertTargets") - def alert_targets(self) -> Optional[Any]: + def alert_targets(self) -> Optional[Mapping[str, 'outputs.SecurityProfileAlertTarget']]: """ Specifies the destinations to which alerts are sent. """ diff --git a/sdk/python/pulumi_aws_native/iot/outputs.py b/sdk/python/pulumi_aws_native/iot/outputs.py index 45389c5175..1e42ee3e1c 100644 --- a/sdk/python/pulumi_aws_native/iot/outputs.py +++ b/sdk/python/pulumi_aws_native/iot/outputs.py @@ -55,6 +55,7 @@ 'ProvisioningTemplateTag', 'RoleAliasTag', 'ScheduledAuditTag', + 'SecurityProfileAlertTarget', 'SecurityProfileBehavior', 'SecurityProfileBehaviorCriteria', 'SecurityProfileMachineLearningDetectionConfig', @@ -1905,6 +1906,58 @@ def value(self) -> str: return pulumi.get(self, "value") +@pulumi.output_type +class SecurityProfileAlertTarget(dict): + """ + A structure containing the alert target ARN and the role ARN. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "alertTargetArn": + suggest = "alert_target_arn" + elif key == "roleArn": + suggest = "role_arn" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecurityProfileAlertTarget. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecurityProfileAlertTarget.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecurityProfileAlertTarget.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + alert_target_arn: str, + role_arn: str): + """ + A structure containing the alert target ARN and the role ARN. + :param str alert_target_arn: The ARN of the notification target to which alerts are sent. + :param str role_arn: The ARN of the role that grants permission to send alerts to the notification target. + """ + pulumi.set(__self__, "alert_target_arn", alert_target_arn) + pulumi.set(__self__, "role_arn", role_arn) + + @property + @pulumi.getter(name="alertTargetArn") + def alert_target_arn(self) -> str: + """ + The ARN of the notification target to which alerts are sent. + """ + return pulumi.get(self, "alert_target_arn") + + @property + @pulumi.getter(name="roleArn") + def role_arn(self) -> str: + """ + The ARN of the role that grants permission to send alerts to the notification target. + """ + return pulumi.get(self, "role_arn") + + @pulumi.output_type class SecurityProfileBehavior(dict): """ @@ -2468,26 +2521,26 @@ def value(self) -> str: @pulumi.output_type class ThingAttributePayload(dict): def __init__(__self__, *, - attributes: Optional[Any] = None): + attributes: Optional[Mapping[str, str]] = None): if attributes is not None: pulumi.set(__self__, "attributes", attributes) @property @pulumi.getter - def attributes(self) -> Optional[Any]: + def attributes(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "attributes") @pulumi.output_type class ThingGroupAttributePayload(dict): def __init__(__self__, *, - attributes: Optional[Any] = None): + attributes: Optional[Mapping[str, str]] = None): if attributes is not None: pulumi.set(__self__, "attributes", attributes) @property @pulumi.getter - def attributes(self) -> Optional[Any]: + def attributes(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "attributes") @@ -3795,7 +3848,7 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - client_properties: Any, + client_properties: Mapping[str, str], destination_arn: str, topic: str, headers: Optional[Sequence['outputs.TopicRuleKafkaActionHeader']] = None, @@ -3813,7 +3866,7 @@ def __init__(__self__, *, @property @pulumi.getter(name="clientProperties") - def client_properties(self) -> Any: + def client_properties(self) -> Mapping[str, str]: return pulumi.get(self, "client_properties") @property diff --git a/sdk/python/pulumi_aws_native/iot/security_profile.py b/sdk/python/pulumi_aws_native/iot/security_profile.py index c471242dc4..909f716933 100644 --- a/sdk/python/pulumi_aws_native/iot/security_profile.py +++ b/sdk/python/pulumi_aws_native/iot/security_profile.py @@ -18,7 +18,7 @@ class SecurityProfileArgs: def __init__(__self__, *, additional_metrics_to_retain_v2: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityProfileMetricToRetainArgs']]]] = None, - alert_targets: Optional[Any] = None, + alert_targets: Optional[pulumi.Input[Mapping[str, pulumi.Input['SecurityProfileAlertTargetArgs']]]] = None, behaviors: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityProfileBehaviorArgs']]]] = None, metrics_export_config: Optional[pulumi.Input['MetricsExportConfigPropertiesArgs']] = None, security_profile_description: Optional[pulumi.Input[str]] = None, @@ -28,7 +28,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a SecurityProfile resource. :param pulumi.Input[Sequence[pulumi.Input['SecurityProfileMetricToRetainArgs']]] additional_metrics_to_retain_v2: A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here. - :param Any alert_targets: Specifies the destinations to which alerts are sent. + :param pulumi.Input[Mapping[str, pulumi.Input['SecurityProfileAlertTargetArgs']]] alert_targets: Specifies the destinations to which alerts are sent. :param pulumi.Input[Sequence[pulumi.Input['SecurityProfileBehaviorArgs']]] behaviors: Specifies the behaviors that, when violated by a device (thing), cause an alert. :param pulumi.Input['MetricsExportConfigPropertiesArgs'] metrics_export_config: A structure containing the mqtt topic for metrics export. :param pulumi.Input[str] security_profile_description: A description of the security profile. @@ -67,14 +67,14 @@ def additional_metrics_to_retain_v2(self, value: Optional[pulumi.Input[Sequence[ @property @pulumi.getter(name="alertTargets") - def alert_targets(self) -> Optional[Any]: + def alert_targets(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['SecurityProfileAlertTargetArgs']]]]: """ Specifies the destinations to which alerts are sent. """ return pulumi.get(self, "alert_targets") @alert_targets.setter - def alert_targets(self, value: Optional[Any]): + def alert_targets(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['SecurityProfileAlertTargetArgs']]]]): pulumi.set(self, "alert_targets", value) @property @@ -156,7 +156,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, additional_metrics_to_retain_v2: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityProfileMetricToRetainArgs']]]]] = None, - alert_targets: Optional[Any] = None, + alert_targets: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['SecurityProfileAlertTargetArgs']]]]] = None, behaviors: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityProfileBehaviorArgs']]]]] = None, metrics_export_config: Optional[pulumi.Input[pulumi.InputType['MetricsExportConfigPropertiesArgs']]] = None, security_profile_description: Optional[pulumi.Input[str]] = None, @@ -170,7 +170,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityProfileMetricToRetainArgs']]]] additional_metrics_to_retain_v2: A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here. - :param Any alert_targets: Specifies the destinations to which alerts are sent. + :param pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['SecurityProfileAlertTargetArgs']]]] alert_targets: Specifies the destinations to which alerts are sent. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityProfileBehaviorArgs']]]] behaviors: Specifies the behaviors that, when violated by a device (thing), cause an alert. :param pulumi.Input[pulumi.InputType['MetricsExportConfigPropertiesArgs']] metrics_export_config: A structure containing the mqtt topic for metrics export. :param pulumi.Input[str] security_profile_description: A description of the security profile. @@ -203,7 +203,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, additional_metrics_to_retain_v2: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityProfileMetricToRetainArgs']]]]] = None, - alert_targets: Optional[Any] = None, + alert_targets: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['SecurityProfileAlertTargetArgs']]]]] = None, behaviors: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SecurityProfileBehaviorArgs']]]]] = None, metrics_export_config: Optional[pulumi.Input[pulumi.InputType['MetricsExportConfigPropertiesArgs']]] = None, security_profile_description: Optional[pulumi.Input[str]] = None, @@ -273,7 +273,7 @@ def additional_metrics_to_retain_v2(self) -> pulumi.Output[Optional[Sequence['ou @property @pulumi.getter(name="alertTargets") - def alert_targets(self) -> pulumi.Output[Optional[Any]]: + def alert_targets(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.SecurityProfileAlertTarget']]]: """ Specifies the destinations to which alerts are sent. """ diff --git a/sdk/python/pulumi_aws_native/iotanalytics/_inputs.py b/sdk/python/pulumi_aws_native/iotanalytics/_inputs.py index e39f2e07a1..77b4008fc9 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/_inputs.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/_inputs.py @@ -1353,7 +1353,7 @@ def select_attributes(self, value: Optional[pulumi.Input['PipelineSelectAttribut @pulumi.input_type class PipelineAddAttributesArgs: def __init__(__self__, *, - attributes: Any, + attributes: pulumi.Input[Mapping[str, pulumi.Input[str]]], name: pulumi.Input[str], next: Optional[pulumi.Input[str]] = None): pulumi.set(__self__, "attributes", attributes) @@ -1363,11 +1363,11 @@ def __init__(__self__, *, @property @pulumi.getter - def attributes(self) -> Any: + def attributes(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: return pulumi.get(self, "attributes") @attributes.setter - def attributes(self, value: Any): + def attributes(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): pulumi.set(self, "attributes", value) @property diff --git a/sdk/python/pulumi_aws_native/iotanalytics/outputs.py b/sdk/python/pulumi_aws_native/iotanalytics/outputs.py index 1c06ed42fb..45d8127acd 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/outputs.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/outputs.py @@ -1654,7 +1654,7 @@ def select_attributes(self) -> Optional['outputs.PipelineSelectAttributes']: @pulumi.output_type class PipelineAddAttributes(dict): def __init__(__self__, *, - attributes: Any, + attributes: Mapping[str, str], name: str, next: Optional[str] = None): pulumi.set(__self__, "attributes", attributes) @@ -1664,7 +1664,7 @@ def __init__(__self__, *, @property @pulumi.getter - def attributes(self) -> Any: + def attributes(self) -> Mapping[str, str]: return pulumi.get(self, "attributes") @property diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/__init__.py b/sdk/python/pulumi_aws_native/iottwinmaker/__init__.py index c3f516450d..a30b398c81 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/__init__.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/__init__.py @@ -16,4 +16,5 @@ from .scene import * from .sync_job import * from .workspace import * +from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/_enums.py b/sdk/python/pulumi_aws_native/iottwinmaker/_enums.py index f3776ecc6a..168b257698 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/_enums.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/_enums.py @@ -5,15 +5,49 @@ from enum import Enum __all__ = [ + 'ComponentTypeDataTypeType', + 'ComponentTypeFunctionScope', + 'ComponentTypePropertyGroupGroupType', 'ComponentTypeStatusError1PropertiesCode', 'ComponentTypeStatusErrorPropertiesCode', 'ComponentTypeStatusState', + 'EntityDataTypeType', + 'EntityPropertyGroupGroupType', 'EntityStatusError1PropertiesCode', 'EntityStatusErrorPropertiesCode', 'EntityStatusState', ] +class ComponentTypeDataTypeType(str, Enum): + """ + The underlying type of the data type. + """ + RELATIONSHIP = "RELATIONSHIP" + STRING = "STRING" + LONG = "LONG" + BOOLEAN = "BOOLEAN" + INTEGER = "INTEGER" + DOUBLE = "DOUBLE" + LIST = "LIST" + MAP = "MAP" + + +class ComponentTypeFunctionScope(str, Enum): + """ + The scope of the function. + """ + ENTITY = "ENTITY" + WORKSPACE = "WORKSPACE" + + +class ComponentTypePropertyGroupGroupType(str, Enum): + """ + The type of property group. + """ + TABULAR = "TABULAR" + + class ComponentTypeStatusError1PropertiesCode(str, Enum): VALIDATION_ERROR = "VALIDATION_ERROR" INTERNAL_FAILURE = "INTERNAL_FAILURE" @@ -32,6 +66,27 @@ class ComponentTypeStatusState(str, Enum): ERROR = "ERROR" +class EntityDataTypeType(str, Enum): + """ + The underlying type of the data type. + """ + RELATIONSHIP = "RELATIONSHIP" + STRING = "STRING" + LONG = "LONG" + BOOLEAN = "BOOLEAN" + INTEGER = "INTEGER" + DOUBLE = "DOUBLE" + LIST = "LIST" + MAP = "MAP" + + +class EntityPropertyGroupGroupType(str, Enum): + """ + The type of property group. + """ + TABULAR = "TABULAR" + + class EntityStatusError1PropertiesCode(str, Enum): VALIDATION_ERROR = "VALIDATION_ERROR" INTERNAL_FAILURE = "INTERNAL_FAILURE" diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/_inputs.py b/sdk/python/pulumi_aws_native/iottwinmaker/_inputs.py new file mode 100644 index 0000000000..886104d5b6 --- /dev/null +++ b/sdk/python/pulumi_aws_native/iottwinmaker/_inputs.py @@ -0,0 +1,1511 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi SDK Generator. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from ._enums import * + +__all__ = [ + 'ComponentTypeCompositeComponentTypeArgs', + 'ComponentTypeDataConnectorArgs', + 'ComponentTypeDataTypeArgs', + 'ComponentTypeDataValueRelationshipValuePropertiesArgs', + 'ComponentTypeDataValueArgs', + 'ComponentTypeFunctionArgs', + 'ComponentTypeLambdaFunctionArgs', + 'ComponentTypePropertyDefinitionArgs', + 'ComponentTypePropertyGroupArgs', + 'ComponentTypeRelationshipArgs', + 'EntityComponentArgs', + 'EntityCompositeComponentArgs', + 'EntityDataTypeArgs', + 'EntityDataValueRelationshipValuePropertiesArgs', + 'EntityDataValueArgs', + 'EntityPropertyDefinitionConfigurationArgs', + 'EntityPropertyDefinitionPropertiesArgs', + 'EntityPropertyGroupArgs', + 'EntityPropertyArgs', + 'EntityRelationshipArgs', + 'EntityStatusErrorPropertiesArgs', + 'EntityStatusArgs', +] + +@pulumi.input_type +class ComponentTypeCompositeComponentTypeArgs: + def __init__(__self__, *, + component_type_id: Optional[pulumi.Input[str]] = None): + """ + An object that sets information about a composite component type. + :param pulumi.Input[str] component_type_id: The id of the composite component type. + """ + if component_type_id is not None: + pulumi.set(__self__, "component_type_id", component_type_id) + + @property + @pulumi.getter(name="componentTypeId") + def component_type_id(self) -> Optional[pulumi.Input[str]]: + """ + The id of the composite component type. + """ + return pulumi.get(self, "component_type_id") + + @component_type_id.setter + def component_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "component_type_id", value) + + +@pulumi.input_type +class ComponentTypeDataConnectorArgs: + def __init__(__self__, *, + is_native: Optional[pulumi.Input[bool]] = None, + lambda_: Optional[pulumi.Input['ComponentTypeLambdaFunctionArgs']] = None): + """ + The data connector. + :param pulumi.Input[bool] is_native: A Boolean value that specifies whether the data connector is native to IoT TwinMaker. + :param pulumi.Input['ComponentTypeLambdaFunctionArgs'] lambda_: The Lambda function associated with this data connector. + """ + if is_native is not None: + pulumi.set(__self__, "is_native", is_native) + if lambda_ is not None: + pulumi.set(__self__, "lambda_", lambda_) + + @property + @pulumi.getter(name="isNative") + def is_native(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the data connector is native to IoT TwinMaker. + """ + return pulumi.get(self, "is_native") + + @is_native.setter + def is_native(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_native", value) + + @property + @pulumi.getter(name="lambda") + def lambda_(self) -> Optional[pulumi.Input['ComponentTypeLambdaFunctionArgs']]: + """ + The Lambda function associated with this data connector. + """ + return pulumi.get(self, "lambda_") + + @lambda_.setter + def lambda_(self, value: Optional[pulumi.Input['ComponentTypeLambdaFunctionArgs']]): + pulumi.set(self, "lambda_", value) + + +@pulumi.input_type +class ComponentTypeDataTypeArgs: + def __init__(__self__, *, + type: pulumi.Input['ComponentTypeDataTypeType'], + allowed_values: Optional[pulumi.Input[Sequence[pulumi.Input['ComponentTypeDataValueArgs']]]] = None, + nested_type: Optional[pulumi.Input['ComponentTypeDataTypeArgs']] = None, + relationship: Optional[pulumi.Input['ComponentTypeRelationshipArgs']] = None, + unit_of_measure: Optional[pulumi.Input[str]] = None): + """ + An object that specifies the data type of a property. + :param pulumi.Input['ComponentTypeDataTypeType'] type: The underlying type of the data type. + :param pulumi.Input[Sequence[pulumi.Input['ComponentTypeDataValueArgs']]] allowed_values: The allowed values for this data type. + :param pulumi.Input['ComponentTypeDataTypeArgs'] nested_type: The nested type in the data type. + :param pulumi.Input['ComponentTypeRelationshipArgs'] relationship: A relationship that associates a component with another component. + :param pulumi.Input[str] unit_of_measure: The unit of measure used in this data type. + """ + pulumi.set(__self__, "type", type) + if allowed_values is not None: + pulumi.set(__self__, "allowed_values", allowed_values) + if nested_type is not None: + pulumi.set(__self__, "nested_type", nested_type) + if relationship is not None: + pulumi.set(__self__, "relationship", relationship) + if unit_of_measure is not None: + pulumi.set(__self__, "unit_of_measure", unit_of_measure) + + @property + @pulumi.getter + def type(self) -> pulumi.Input['ComponentTypeDataTypeType']: + """ + The underlying type of the data type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input['ComponentTypeDataTypeType']): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="allowedValues") + def allowed_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ComponentTypeDataValueArgs']]]]: + """ + The allowed values for this data type. + """ + return pulumi.get(self, "allowed_values") + + @allowed_values.setter + def allowed_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ComponentTypeDataValueArgs']]]]): + pulumi.set(self, "allowed_values", value) + + @property + @pulumi.getter(name="nestedType") + def nested_type(self) -> Optional[pulumi.Input['ComponentTypeDataTypeArgs']]: + """ + The nested type in the data type. + """ + return pulumi.get(self, "nested_type") + + @nested_type.setter + def nested_type(self, value: Optional[pulumi.Input['ComponentTypeDataTypeArgs']]): + pulumi.set(self, "nested_type", value) + + @property + @pulumi.getter + def relationship(self) -> Optional[pulumi.Input['ComponentTypeRelationshipArgs']]: + """ + A relationship that associates a component with another component. + """ + return pulumi.get(self, "relationship") + + @relationship.setter + def relationship(self, value: Optional[pulumi.Input['ComponentTypeRelationshipArgs']]): + pulumi.set(self, "relationship", value) + + @property + @pulumi.getter(name="unitOfMeasure") + def unit_of_measure(self) -> Optional[pulumi.Input[str]]: + """ + The unit of measure used in this data type. + """ + return pulumi.get(self, "unit_of_measure") + + @unit_of_measure.setter + def unit_of_measure(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "unit_of_measure", value) + + +@pulumi.input_type +class ComponentTypeDataValueRelationshipValuePropertiesArgs: + def __init__(__self__, *, + target_component_name: Optional[pulumi.Input[str]] = None, + target_entity_id: Optional[pulumi.Input[str]] = None): + """ + A value that relates a component to another component. + """ + if target_component_name is not None: + pulumi.set(__self__, "target_component_name", target_component_name) + if target_entity_id is not None: + pulumi.set(__self__, "target_entity_id", target_entity_id) + + @property + @pulumi.getter(name="targetComponentName") + def target_component_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "target_component_name") + + @target_component_name.setter + def target_component_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_component_name", value) + + @property + @pulumi.getter(name="targetEntityId") + def target_entity_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "target_entity_id") + + @target_entity_id.setter + def target_entity_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_entity_id", value) + + +@pulumi.input_type +class ComponentTypeDataValueArgs: + def __init__(__self__, *, + boolean_value: Optional[pulumi.Input[bool]] = None, + double_value: Optional[pulumi.Input[float]] = None, + expression: Optional[pulumi.Input[str]] = None, + integer_value: Optional[pulumi.Input[int]] = None, + list_value: Optional[pulumi.Input[Sequence[pulumi.Input['ComponentTypeDataValueArgs']]]] = None, + long_value: Optional[pulumi.Input[float]] = None, + map_value: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeDataValueArgs']]]] = None, + relationship_value: Optional[pulumi.Input['ComponentTypeDataValueRelationshipValuePropertiesArgs']] = None, + string_value: Optional[pulumi.Input[str]] = None): + """ + An object that specifies a value for a property. + :param pulumi.Input[bool] boolean_value: A Boolean value. + :param pulumi.Input[float] double_value: A double value. + :param pulumi.Input[str] expression: An expression that produces the value. + :param pulumi.Input[int] integer_value: An integer value. + :param pulumi.Input[Sequence[pulumi.Input['ComponentTypeDataValueArgs']]] list_value: A list of multiple values. + :param pulumi.Input[float] long_value: A long value. + :param pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeDataValueArgs']]] map_value: An object that maps strings to multiple DataValue objects. + :param pulumi.Input['ComponentTypeDataValueRelationshipValuePropertiesArgs'] relationship_value: A value that relates a component to another component. + :param pulumi.Input[str] string_value: A string value. + """ + if boolean_value is not None: + pulumi.set(__self__, "boolean_value", boolean_value) + if double_value is not None: + pulumi.set(__self__, "double_value", double_value) + if expression is not None: + pulumi.set(__self__, "expression", expression) + if integer_value is not None: + pulumi.set(__self__, "integer_value", integer_value) + if list_value is not None: + pulumi.set(__self__, "list_value", list_value) + if long_value is not None: + pulumi.set(__self__, "long_value", long_value) + if map_value is not None: + pulumi.set(__self__, "map_value", map_value) + if relationship_value is not None: + pulumi.set(__self__, "relationship_value", relationship_value) + if string_value is not None: + pulumi.set(__self__, "string_value", string_value) + + @property + @pulumi.getter(name="booleanValue") + def boolean_value(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value. + """ + return pulumi.get(self, "boolean_value") + + @boolean_value.setter + def boolean_value(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "boolean_value", value) + + @property + @pulumi.getter(name="doubleValue") + def double_value(self) -> Optional[pulumi.Input[float]]: + """ + A double value. + """ + return pulumi.get(self, "double_value") + + @double_value.setter + def double_value(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "double_value", value) + + @property + @pulumi.getter + def expression(self) -> Optional[pulumi.Input[str]]: + """ + An expression that produces the value. + """ + return pulumi.get(self, "expression") + + @expression.setter + def expression(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "expression", value) + + @property + @pulumi.getter(name="integerValue") + def integer_value(self) -> Optional[pulumi.Input[int]]: + """ + An integer value. + """ + return pulumi.get(self, "integer_value") + + @integer_value.setter + def integer_value(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "integer_value", value) + + @property + @pulumi.getter(name="listValue") + def list_value(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ComponentTypeDataValueArgs']]]]: + """ + A list of multiple values. + """ + return pulumi.get(self, "list_value") + + @list_value.setter + def list_value(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ComponentTypeDataValueArgs']]]]): + pulumi.set(self, "list_value", value) + + @property + @pulumi.getter(name="longValue") + def long_value(self) -> Optional[pulumi.Input[float]]: + """ + A long value. + """ + return pulumi.get(self, "long_value") + + @long_value.setter + def long_value(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "long_value", value) + + @property + @pulumi.getter(name="mapValue") + def map_value(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeDataValueArgs']]]]: + """ + An object that maps strings to multiple DataValue objects. + """ + return pulumi.get(self, "map_value") + + @map_value.setter + def map_value(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeDataValueArgs']]]]): + pulumi.set(self, "map_value", value) + + @property + @pulumi.getter(name="relationshipValue") + def relationship_value(self) -> Optional[pulumi.Input['ComponentTypeDataValueRelationshipValuePropertiesArgs']]: + """ + A value that relates a component to another component. + """ + return pulumi.get(self, "relationship_value") + + @relationship_value.setter + def relationship_value(self, value: Optional[pulumi.Input['ComponentTypeDataValueRelationshipValuePropertiesArgs']]): + pulumi.set(self, "relationship_value", value) + + @property + @pulumi.getter(name="stringValue") + def string_value(self) -> Optional[pulumi.Input[str]]: + """ + A string value. + """ + return pulumi.get(self, "string_value") + + @string_value.setter + def string_value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "string_value", value) + + +@pulumi.input_type +class ComponentTypeFunctionArgs: + def __init__(__self__, *, + implemented_by: Optional[pulumi.Input['ComponentTypeDataConnectorArgs']] = None, + required_properties: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scope: Optional[pulumi.Input['ComponentTypeFunctionScope']] = None): + """ + The function of component type. + :param pulumi.Input['ComponentTypeDataConnectorArgs'] implemented_by: The data connector. + :param pulumi.Input[Sequence[pulumi.Input[str]]] required_properties: The required properties of the function. + :param pulumi.Input['ComponentTypeFunctionScope'] scope: The scope of the function. + """ + if implemented_by is not None: + pulumi.set(__self__, "implemented_by", implemented_by) + if required_properties is not None: + pulumi.set(__self__, "required_properties", required_properties) + if scope is not None: + pulumi.set(__self__, "scope", scope) + + @property + @pulumi.getter(name="implementedBy") + def implemented_by(self) -> Optional[pulumi.Input['ComponentTypeDataConnectorArgs']]: + """ + The data connector. + """ + return pulumi.get(self, "implemented_by") + + @implemented_by.setter + def implemented_by(self, value: Optional[pulumi.Input['ComponentTypeDataConnectorArgs']]): + pulumi.set(self, "implemented_by", value) + + @property + @pulumi.getter(name="requiredProperties") + def required_properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The required properties of the function. + """ + return pulumi.get(self, "required_properties") + + @required_properties.setter + def required_properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "required_properties", value) + + @property + @pulumi.getter + def scope(self) -> Optional[pulumi.Input['ComponentTypeFunctionScope']]: + """ + The scope of the function. + """ + return pulumi.get(self, "scope") + + @scope.setter + def scope(self, value: Optional[pulumi.Input['ComponentTypeFunctionScope']]): + pulumi.set(self, "scope", value) + + +@pulumi.input_type +class ComponentTypeLambdaFunctionArgs: + def __init__(__self__, *, + arn: pulumi.Input[str]): + pulumi.set(__self__, "arn", arn) + + @property + @pulumi.getter + def arn(self) -> pulumi.Input[str]: + return pulumi.get(self, "arn") + + @arn.setter + def arn(self, value: pulumi.Input[str]): + pulumi.set(self, "arn", value) + + +@pulumi.input_type +class ComponentTypePropertyDefinitionArgs: + def __init__(__self__, *, + configurations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + data_type: Optional[pulumi.Input['ComponentTypeDataTypeArgs']] = None, + default_value: Optional[pulumi.Input['ComponentTypeDataValueArgs']] = None, + is_external_id: Optional[pulumi.Input[bool]] = None, + is_required_in_entity: Optional[pulumi.Input[bool]] = None, + is_stored_externally: Optional[pulumi.Input[bool]] = None, + is_time_series: Optional[pulumi.Input[bool]] = None): + """ + An object that sets information about a property. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] configurations: An object that specifies information about a property. + :param pulumi.Input['ComponentTypeDataTypeArgs'] data_type: An object that contains information about the data type. + :param pulumi.Input['ComponentTypeDataValueArgs'] default_value: An object that contains the default value. + :param pulumi.Input[bool] is_external_id: A Boolean value that specifies whether the property ID comes from an external data store. + :param pulumi.Input[bool] is_required_in_entity: A Boolean value that specifies whether the property is required. + :param pulumi.Input[bool] is_stored_externally: A Boolean value that specifies whether the property is stored externally. + :param pulumi.Input[bool] is_time_series: A Boolean value that specifies whether the property consists of time series data. + """ + if configurations is not None: + pulumi.set(__self__, "configurations", configurations) + if data_type is not None: + pulumi.set(__self__, "data_type", data_type) + if default_value is not None: + pulumi.set(__self__, "default_value", default_value) + if is_external_id is not None: + pulumi.set(__self__, "is_external_id", is_external_id) + if is_required_in_entity is not None: + pulumi.set(__self__, "is_required_in_entity", is_required_in_entity) + if is_stored_externally is not None: + pulumi.set(__self__, "is_stored_externally", is_stored_externally) + if is_time_series is not None: + pulumi.set(__self__, "is_time_series", is_time_series) + + @property + @pulumi.getter + def configurations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + An object that specifies information about a property. + """ + return pulumi.get(self, "configurations") + + @configurations.setter + def configurations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "configurations", value) + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> Optional[pulumi.Input['ComponentTypeDataTypeArgs']]: + """ + An object that contains information about the data type. + """ + return pulumi.get(self, "data_type") + + @data_type.setter + def data_type(self, value: Optional[pulumi.Input['ComponentTypeDataTypeArgs']]): + pulumi.set(self, "data_type", value) + + @property + @pulumi.getter(name="defaultValue") + def default_value(self) -> Optional[pulumi.Input['ComponentTypeDataValueArgs']]: + """ + An object that contains the default value. + """ + return pulumi.get(self, "default_value") + + @default_value.setter + def default_value(self, value: Optional[pulumi.Input['ComponentTypeDataValueArgs']]): + pulumi.set(self, "default_value", value) + + @property + @pulumi.getter(name="isExternalId") + def is_external_id(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the property ID comes from an external data store. + """ + return pulumi.get(self, "is_external_id") + + @is_external_id.setter + def is_external_id(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_external_id", value) + + @property + @pulumi.getter(name="isRequiredInEntity") + def is_required_in_entity(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the property is required. + """ + return pulumi.get(self, "is_required_in_entity") + + @is_required_in_entity.setter + def is_required_in_entity(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_required_in_entity", value) + + @property + @pulumi.getter(name="isStoredExternally") + def is_stored_externally(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the property is stored externally. + """ + return pulumi.get(self, "is_stored_externally") + + @is_stored_externally.setter + def is_stored_externally(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_stored_externally", value) + + @property + @pulumi.getter(name="isTimeSeries") + def is_time_series(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the property consists of time series data. + """ + return pulumi.get(self, "is_time_series") + + @is_time_series.setter + def is_time_series(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_time_series", value) + + +@pulumi.input_type +class ComponentTypePropertyGroupArgs: + def __init__(__self__, *, + group_type: Optional[pulumi.Input['ComponentTypePropertyGroupGroupType']] = None, + property_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + An object that sets information about a property group. + :param pulumi.Input['ComponentTypePropertyGroupGroupType'] group_type: The type of property group. + :param pulumi.Input[Sequence[pulumi.Input[str]]] property_names: The list of property names in the property group. + """ + if group_type is not None: + pulumi.set(__self__, "group_type", group_type) + if property_names is not None: + pulumi.set(__self__, "property_names", property_names) + + @property + @pulumi.getter(name="groupType") + def group_type(self) -> Optional[pulumi.Input['ComponentTypePropertyGroupGroupType']]: + """ + The type of property group. + """ + return pulumi.get(self, "group_type") + + @group_type.setter + def group_type(self, value: Optional[pulumi.Input['ComponentTypePropertyGroupGroupType']]): + pulumi.set(self, "group_type", value) + + @property + @pulumi.getter(name="propertyNames") + def property_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of property names in the property group. + """ + return pulumi.get(self, "property_names") + + @property_names.setter + def property_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "property_names", value) + + +@pulumi.input_type +class ComponentTypeRelationshipArgs: + def __init__(__self__, *, + relationship_type: Optional[pulumi.Input[str]] = None, + target_component_type_id: Optional[pulumi.Input[str]] = None): + """ + The type of the relationship. + :param pulumi.Input[str] relationship_type: The type of the relationship. + :param pulumi.Input[str] target_component_type_id: The ID of the target component type associated with this relationship. + """ + if relationship_type is not None: + pulumi.set(__self__, "relationship_type", relationship_type) + if target_component_type_id is not None: + pulumi.set(__self__, "target_component_type_id", target_component_type_id) + + @property + @pulumi.getter(name="relationshipType") + def relationship_type(self) -> Optional[pulumi.Input[str]]: + """ + The type of the relationship. + """ + return pulumi.get(self, "relationship_type") + + @relationship_type.setter + def relationship_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "relationship_type", value) + + @property + @pulumi.getter(name="targetComponentTypeId") + def target_component_type_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the target component type associated with this relationship. + """ + return pulumi.get(self, "target_component_type_id") + + @target_component_type_id.setter + def target_component_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_component_type_id", value) + + +@pulumi.input_type +class EntityComponentArgs: + def __init__(__self__, *, + component_name: Optional[pulumi.Input[str]] = None, + component_type_id: Optional[pulumi.Input[str]] = None, + defined_in: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyArgs']]]] = None, + property_groups: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyGroupArgs']]]] = None, + status: Optional[pulumi.Input['EntityStatusArgs']] = None): + """ + :param pulumi.Input[str] component_name: The name of the component. + :param pulumi.Input[str] component_type_id: The ID of the component type. + :param pulumi.Input[str] defined_in: The name of the property definition set in the component. + :param pulumi.Input[str] description: The description of the component. + :param pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyArgs']]] properties: 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. + :param pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyGroupArgs']]] property_groups: 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. + :param pulumi.Input['EntityStatusArgs'] status: The current status of the entity. + """ + if component_name is not None: + pulumi.set(__self__, "component_name", component_name) + if component_type_id is not None: + pulumi.set(__self__, "component_type_id", component_type_id) + if defined_in is not None: + pulumi.set(__self__, "defined_in", defined_in) + if description is not None: + pulumi.set(__self__, "description", description) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if property_groups is not None: + pulumi.set(__self__, "property_groups", property_groups) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="componentName") + def component_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the component. + """ + return pulumi.get(self, "component_name") + + @component_name.setter + def component_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "component_name", value) + + @property + @pulumi.getter(name="componentTypeId") + def component_type_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the component type. + """ + return pulumi.get(self, "component_type_id") + + @component_type_id.setter + def component_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "component_type_id", value) + + @property + @pulumi.getter(name="definedIn") + def defined_in(self) -> Optional[pulumi.Input[str]]: + """ + The name of the property definition set in the component. + """ + return pulumi.get(self, "defined_in") + + @defined_in.setter + def defined_in(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "defined_in", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the component. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyArgs']]]]: + """ + 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. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyArgs']]]]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter(name="propertyGroups") + def property_groups(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyGroupArgs']]]]: + """ + 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. + """ + return pulumi.get(self, "property_groups") + + @property_groups.setter + def property_groups(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyGroupArgs']]]]): + pulumi.set(self, "property_groups", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input['EntityStatusArgs']]: + """ + The current status of the entity. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input['EntityStatusArgs']]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class EntityCompositeComponentArgs: + def __init__(__self__, *, + component_name: Optional[pulumi.Input[str]] = None, + component_path: Optional[pulumi.Input[str]] = None, + component_type_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyArgs']]]] = None, + property_groups: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyGroupArgs']]]] = None, + status: Optional[pulumi.Input['EntityStatusArgs']] = None): + """ + :param pulumi.Input[str] component_name: The name of the component. + :param pulumi.Input[str] component_path: The path of the component. + :param pulumi.Input[str] component_type_id: The ID of the component type. + :param pulumi.Input[str] description: The description of the component. + :param pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyArgs']]] properties: 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. + :param pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyGroupArgs']]] property_groups: 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. + :param pulumi.Input['EntityStatusArgs'] status: The current status of the component. + """ + if component_name is not None: + pulumi.set(__self__, "component_name", component_name) + if component_path is not None: + pulumi.set(__self__, "component_path", component_path) + if component_type_id is not None: + pulumi.set(__self__, "component_type_id", component_type_id) + if description is not None: + pulumi.set(__self__, "description", description) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if property_groups is not None: + pulumi.set(__self__, "property_groups", property_groups) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="componentName") + def component_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the component. + """ + return pulumi.get(self, "component_name") + + @component_name.setter + def component_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "component_name", value) + + @property + @pulumi.getter(name="componentPath") + def component_path(self) -> Optional[pulumi.Input[str]]: + """ + The path of the component. + """ + return pulumi.get(self, "component_path") + + @component_path.setter + def component_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "component_path", value) + + @property + @pulumi.getter(name="componentTypeId") + def component_type_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the component type. + """ + return pulumi.get(self, "component_type_id") + + @component_type_id.setter + def component_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "component_type_id", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the component. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyArgs']]]]: + """ + 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. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyArgs']]]]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter(name="propertyGroups") + def property_groups(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyGroupArgs']]]]: + """ + 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. + """ + return pulumi.get(self, "property_groups") + + @property_groups.setter + def property_groups(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyGroupArgs']]]]): + pulumi.set(self, "property_groups", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input['EntityStatusArgs']]: + """ + The current status of the component. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input['EntityStatusArgs']]): + pulumi.set(self, "status", value) + + +@pulumi.input_type +class EntityDataTypeArgs: + def __init__(__self__, *, + allowed_values: Optional[pulumi.Input[Sequence[pulumi.Input['EntityDataValueArgs']]]] = None, + nested_type: Optional[pulumi.Input['EntityDataTypeArgs']] = None, + relationship: Optional[pulumi.Input['EntityRelationshipArgs']] = None, + type: Optional[pulumi.Input['EntityDataTypeType']] = None, + unit_of_measure: Optional[pulumi.Input[str]] = None): + """ + An object that specifies the data type of a property. + :param pulumi.Input[Sequence[pulumi.Input['EntityDataValueArgs']]] allowed_values: The allowed values for this data type. + :param pulumi.Input['EntityDataTypeArgs'] nested_type: The nested type in the data type. + :param pulumi.Input['EntityRelationshipArgs'] relationship: A relationship that associates a component with another component. + :param pulumi.Input['EntityDataTypeType'] type: The underlying type of the data type. + :param pulumi.Input[str] unit_of_measure: The unit of measure used in this data type. + """ + if allowed_values is not None: + pulumi.set(__self__, "allowed_values", allowed_values) + if nested_type is not None: + pulumi.set(__self__, "nested_type", nested_type) + if relationship is not None: + pulumi.set(__self__, "relationship", relationship) + if type is not None: + pulumi.set(__self__, "type", type) + if unit_of_measure is not None: + pulumi.set(__self__, "unit_of_measure", unit_of_measure) + + @property + @pulumi.getter(name="allowedValues") + def allowed_values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EntityDataValueArgs']]]]: + """ + The allowed values for this data type. + """ + return pulumi.get(self, "allowed_values") + + @allowed_values.setter + def allowed_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EntityDataValueArgs']]]]): + pulumi.set(self, "allowed_values", value) + + @property + @pulumi.getter(name="nestedType") + def nested_type(self) -> Optional[pulumi.Input['EntityDataTypeArgs']]: + """ + The nested type in the data type. + """ + return pulumi.get(self, "nested_type") + + @nested_type.setter + def nested_type(self, value: Optional[pulumi.Input['EntityDataTypeArgs']]): + pulumi.set(self, "nested_type", value) + + @property + @pulumi.getter + def relationship(self) -> Optional[pulumi.Input['EntityRelationshipArgs']]: + """ + A relationship that associates a component with another component. + """ + return pulumi.get(self, "relationship") + + @relationship.setter + def relationship(self, value: Optional[pulumi.Input['EntityRelationshipArgs']]): + pulumi.set(self, "relationship", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input['EntityDataTypeType']]: + """ + The underlying type of the data type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input['EntityDataTypeType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="unitOfMeasure") + def unit_of_measure(self) -> Optional[pulumi.Input[str]]: + """ + The unit of measure used in this data type. + """ + return pulumi.get(self, "unit_of_measure") + + @unit_of_measure.setter + def unit_of_measure(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "unit_of_measure", value) + + +@pulumi.input_type +class EntityDataValueRelationshipValuePropertiesArgs: + def __init__(__self__, *, + target_component_name: Optional[pulumi.Input[str]] = None, + target_entity_id: Optional[pulumi.Input[str]] = None): + """ + A value that relates a component to another component. + """ + if target_component_name is not None: + pulumi.set(__self__, "target_component_name", target_component_name) + if target_entity_id is not None: + pulumi.set(__self__, "target_entity_id", target_entity_id) + + @property + @pulumi.getter(name="targetComponentName") + def target_component_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "target_component_name") + + @target_component_name.setter + def target_component_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_component_name", value) + + @property + @pulumi.getter(name="targetEntityId") + def target_entity_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "target_entity_id") + + @target_entity_id.setter + def target_entity_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_entity_id", value) + + +@pulumi.input_type +class EntityDataValueArgs: + def __init__(__self__, *, + boolean_value: Optional[pulumi.Input[bool]] = None, + double_value: Optional[pulumi.Input[float]] = None, + expression: Optional[pulumi.Input[str]] = None, + integer_value: Optional[pulumi.Input[int]] = None, + list_value: Optional[pulumi.Input[Sequence[pulumi.Input['EntityDataValueArgs']]]] = None, + long_value: Optional[pulumi.Input[float]] = None, + map_value: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityDataValueArgs']]]] = None, + relationship_value: Optional[pulumi.Input['EntityDataValueRelationshipValuePropertiesArgs']] = None, + string_value: Optional[pulumi.Input[str]] = None): + """ + An object that specifies a value for a property. + :param pulumi.Input[bool] boolean_value: A Boolean value. + :param pulumi.Input[float] double_value: A double value. + :param pulumi.Input[str] expression: An expression that produces the value. + :param pulumi.Input[int] integer_value: An integer value. + :param pulumi.Input[Sequence[pulumi.Input['EntityDataValueArgs']]] list_value: A list of multiple values. + :param pulumi.Input[float] long_value: A long value. + :param pulumi.Input[Mapping[str, pulumi.Input['EntityDataValueArgs']]] map_value: An object that maps strings to multiple DataValue objects. + :param pulumi.Input['EntityDataValueRelationshipValuePropertiesArgs'] relationship_value: A value that relates a component to another component. + :param pulumi.Input[str] string_value: A string value. + """ + if boolean_value is not None: + pulumi.set(__self__, "boolean_value", boolean_value) + if double_value is not None: + pulumi.set(__self__, "double_value", double_value) + if expression is not None: + pulumi.set(__self__, "expression", expression) + if integer_value is not None: + pulumi.set(__self__, "integer_value", integer_value) + if list_value is not None: + pulumi.set(__self__, "list_value", list_value) + if long_value is not None: + pulumi.set(__self__, "long_value", long_value) + if map_value is not None: + pulumi.set(__self__, "map_value", map_value) + if relationship_value is not None: + pulumi.set(__self__, "relationship_value", relationship_value) + if string_value is not None: + pulumi.set(__self__, "string_value", string_value) + + @property + @pulumi.getter(name="booleanValue") + def boolean_value(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value. + """ + return pulumi.get(self, "boolean_value") + + @boolean_value.setter + def boolean_value(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "boolean_value", value) + + @property + @pulumi.getter(name="doubleValue") + def double_value(self) -> Optional[pulumi.Input[float]]: + """ + A double value. + """ + return pulumi.get(self, "double_value") + + @double_value.setter + def double_value(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "double_value", value) + + @property + @pulumi.getter + def expression(self) -> Optional[pulumi.Input[str]]: + """ + An expression that produces the value. + """ + return pulumi.get(self, "expression") + + @expression.setter + def expression(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "expression", value) + + @property + @pulumi.getter(name="integerValue") + def integer_value(self) -> Optional[pulumi.Input[int]]: + """ + An integer value. + """ + return pulumi.get(self, "integer_value") + + @integer_value.setter + def integer_value(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "integer_value", value) + + @property + @pulumi.getter(name="listValue") + def list_value(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EntityDataValueArgs']]]]: + """ + A list of multiple values. + """ + return pulumi.get(self, "list_value") + + @list_value.setter + def list_value(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EntityDataValueArgs']]]]): + pulumi.set(self, "list_value", value) + + @property + @pulumi.getter(name="longValue") + def long_value(self) -> Optional[pulumi.Input[float]]: + """ + A long value. + """ + return pulumi.get(self, "long_value") + + @long_value.setter + def long_value(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "long_value", value) + + @property + @pulumi.getter(name="mapValue") + def map_value(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityDataValueArgs']]]]: + """ + An object that maps strings to multiple DataValue objects. + """ + return pulumi.get(self, "map_value") + + @map_value.setter + def map_value(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityDataValueArgs']]]]): + pulumi.set(self, "map_value", value) + + @property + @pulumi.getter(name="relationshipValue") + def relationship_value(self) -> Optional[pulumi.Input['EntityDataValueRelationshipValuePropertiesArgs']]: + """ + A value that relates a component to another component. + """ + return pulumi.get(self, "relationship_value") + + @relationship_value.setter + def relationship_value(self, value: Optional[pulumi.Input['EntityDataValueRelationshipValuePropertiesArgs']]): + pulumi.set(self, "relationship_value", value) + + @property + @pulumi.getter(name="stringValue") + def string_value(self) -> Optional[pulumi.Input[str]]: + """ + A string value. + """ + return pulumi.get(self, "string_value") + + @string_value.setter + def string_value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "string_value", value) + + +@pulumi.input_type +class EntityPropertyDefinitionConfigurationArgs: + def __init__(__self__): + """ + An object that specifies information about a property. + """ + pass + + +@pulumi.input_type +class EntityPropertyDefinitionPropertiesArgs: + def __init__(__self__, *, + configuration: Optional[pulumi.Input['EntityPropertyDefinitionConfigurationArgs']] = None, + data_type: Optional[pulumi.Input['EntityDataTypeArgs']] = None, + default_value: Optional[pulumi.Input['EntityDataValueArgs']] = None, + is_external_id: Optional[pulumi.Input[bool]] = None, + is_final: Optional[pulumi.Input[bool]] = None, + is_imported: Optional[pulumi.Input[bool]] = None, + is_inherited: Optional[pulumi.Input[bool]] = None, + is_required_in_entity: Optional[pulumi.Input[bool]] = None, + is_stored_externally: Optional[pulumi.Input[bool]] = None, + is_time_series: Optional[pulumi.Input[bool]] = None): + """ + An object that specifies information about a property. + :param pulumi.Input['EntityPropertyDefinitionConfigurationArgs'] configuration: An object that specifies information about a property. + :param pulumi.Input['EntityDataTypeArgs'] data_type: An object that contains information about the data type. + :param pulumi.Input['EntityDataValueArgs'] default_value: An object that contains the default value. + :param pulumi.Input[bool] is_external_id: A Boolean value that specifies whether the property ID comes from an external data store. + :param pulumi.Input[bool] is_final: A Boolean value that specifies whether the property definition can be updated. + :param pulumi.Input[bool] is_imported: A Boolean value that specifies whether the property definition is imported from an external data store. + :param pulumi.Input[bool] is_inherited: A Boolean value that specifies whether the property definition is inherited from a parent entity. + :param pulumi.Input[bool] is_required_in_entity: A Boolean value that specifies whether the property is required. + :param pulumi.Input[bool] is_stored_externally: A Boolean value that specifies whether the property is stored externally. + :param pulumi.Input[bool] is_time_series: A Boolean value that specifies whether the property consists of time series data. + """ + if configuration is not None: + pulumi.set(__self__, "configuration", configuration) + if data_type is not None: + pulumi.set(__self__, "data_type", data_type) + if default_value is not None: + pulumi.set(__self__, "default_value", default_value) + if is_external_id is not None: + pulumi.set(__self__, "is_external_id", is_external_id) + if is_final is not None: + pulumi.set(__self__, "is_final", is_final) + if is_imported is not None: + pulumi.set(__self__, "is_imported", is_imported) + if is_inherited is not None: + pulumi.set(__self__, "is_inherited", is_inherited) + if is_required_in_entity is not None: + pulumi.set(__self__, "is_required_in_entity", is_required_in_entity) + if is_stored_externally is not None: + pulumi.set(__self__, "is_stored_externally", is_stored_externally) + if is_time_series is not None: + pulumi.set(__self__, "is_time_series", is_time_series) + + @property + @pulumi.getter + def configuration(self) -> Optional[pulumi.Input['EntityPropertyDefinitionConfigurationArgs']]: + """ + An object that specifies information about a property. + """ + return pulumi.get(self, "configuration") + + @configuration.setter + def configuration(self, value: Optional[pulumi.Input['EntityPropertyDefinitionConfigurationArgs']]): + pulumi.set(self, "configuration", value) + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> Optional[pulumi.Input['EntityDataTypeArgs']]: + """ + An object that contains information about the data type. + """ + return pulumi.get(self, "data_type") + + @data_type.setter + def data_type(self, value: Optional[pulumi.Input['EntityDataTypeArgs']]): + pulumi.set(self, "data_type", value) + + @property + @pulumi.getter(name="defaultValue") + def default_value(self) -> Optional[pulumi.Input['EntityDataValueArgs']]: + """ + An object that contains the default value. + """ + return pulumi.get(self, "default_value") + + @default_value.setter + def default_value(self, value: Optional[pulumi.Input['EntityDataValueArgs']]): + pulumi.set(self, "default_value", value) + + @property + @pulumi.getter(name="isExternalId") + def is_external_id(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the property ID comes from an external data store. + """ + return pulumi.get(self, "is_external_id") + + @is_external_id.setter + def is_external_id(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_external_id", value) + + @property + @pulumi.getter(name="isFinal") + def is_final(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the property definition can be updated. + """ + return pulumi.get(self, "is_final") + + @is_final.setter + def is_final(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_final", value) + + @property + @pulumi.getter(name="isImported") + def is_imported(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the property definition is imported from an external data store. + """ + return pulumi.get(self, "is_imported") + + @is_imported.setter + def is_imported(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_imported", value) + + @property + @pulumi.getter(name="isInherited") + def is_inherited(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the property definition is inherited from a parent entity. + """ + return pulumi.get(self, "is_inherited") + + @is_inherited.setter + def is_inherited(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_inherited", value) + + @property + @pulumi.getter(name="isRequiredInEntity") + def is_required_in_entity(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the property is required. + """ + return pulumi.get(self, "is_required_in_entity") + + @is_required_in_entity.setter + def is_required_in_entity(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_required_in_entity", value) + + @property + @pulumi.getter(name="isStoredExternally") + def is_stored_externally(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the property is stored externally. + """ + return pulumi.get(self, "is_stored_externally") + + @is_stored_externally.setter + def is_stored_externally(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_stored_externally", value) + + @property + @pulumi.getter(name="isTimeSeries") + def is_time_series(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that specifies whether the property consists of time series data. + """ + return pulumi.get(self, "is_time_series") + + @is_time_series.setter + def is_time_series(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_time_series", value) + + +@pulumi.input_type +class EntityPropertyGroupArgs: + def __init__(__self__, *, + group_type: Optional[pulumi.Input['EntityPropertyGroupGroupType']] = None, + property_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + An object that specifies information about a property group. + :param pulumi.Input['EntityPropertyGroupGroupType'] group_type: The type of property group. + :param pulumi.Input[Sequence[pulumi.Input[str]]] property_names: The list of property names in the property group. + """ + if group_type is not None: + pulumi.set(__self__, "group_type", group_type) + if property_names is not None: + pulumi.set(__self__, "property_names", property_names) + + @property + @pulumi.getter(name="groupType") + def group_type(self) -> Optional[pulumi.Input['EntityPropertyGroupGroupType']]: + """ + The type of property group. + """ + return pulumi.get(self, "group_type") + + @group_type.setter + def group_type(self, value: Optional[pulumi.Input['EntityPropertyGroupGroupType']]): + pulumi.set(self, "group_type", value) + + @property + @pulumi.getter(name="propertyNames") + def property_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of property names in the property group. + """ + return pulumi.get(self, "property_names") + + @property_names.setter + def property_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "property_names", value) + + +@pulumi.input_type +class EntityPropertyArgs: + def __init__(__self__, *, + definition: Optional[pulumi.Input['EntityPropertyDefinitionPropertiesArgs']] = None, + value: Optional[pulumi.Input['EntityDataValueArgs']] = None): + """ + :param pulumi.Input['EntityPropertyDefinitionPropertiesArgs'] definition: An object that specifies information about a property. + :param pulumi.Input['EntityDataValueArgs'] value: The value of the property. + """ + if definition is not None: + pulumi.set(__self__, "definition", definition) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def definition(self) -> Optional[pulumi.Input['EntityPropertyDefinitionPropertiesArgs']]: + """ + An object that specifies information about a property. + """ + return pulumi.get(self, "definition") + + @definition.setter + def definition(self, value: Optional[pulumi.Input['EntityPropertyDefinitionPropertiesArgs']]): + pulumi.set(self, "definition", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input['EntityDataValueArgs']]: + """ + The value of the property. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input['EntityDataValueArgs']]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class EntityRelationshipArgs: + def __init__(__self__, *, + relationship_type: Optional[pulumi.Input[str]] = None, + target_component_type_id: Optional[pulumi.Input[str]] = None): + """ + The type of the relationship. + :param pulumi.Input[str] relationship_type: The type of the relationship. + :param pulumi.Input[str] target_component_type_id: The ID of the target component type associated with this relationship. + """ + if relationship_type is not None: + pulumi.set(__self__, "relationship_type", relationship_type) + if target_component_type_id is not None: + pulumi.set(__self__, "target_component_type_id", target_component_type_id) + + @property + @pulumi.getter(name="relationshipType") + def relationship_type(self) -> Optional[pulumi.Input[str]]: + """ + The type of the relationship. + """ + return pulumi.get(self, "relationship_type") + + @relationship_type.setter + def relationship_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "relationship_type", value) + + @property + @pulumi.getter(name="targetComponentTypeId") + def target_component_type_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the target component type associated with this relationship. + """ + return pulumi.get(self, "target_component_type_id") + + @target_component_type_id.setter + def target_component_type_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_component_type_id", value) + + +@pulumi.input_type +class EntityStatusErrorPropertiesArgs: + def __init__(__self__, *, + code: Optional[pulumi.Input['EntityStatusErrorPropertiesCode']] = None, + message: Optional[pulumi.Input[str]] = None): + """ + Error object with Message and Code. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if message is not None: + pulumi.set(__self__, "message", message) + + @property + @pulumi.getter + def code(self) -> Optional[pulumi.Input['EntityStatusErrorPropertiesCode']]: + return pulumi.get(self, "code") + + @code.setter + def code(self, value: Optional[pulumi.Input['EntityStatusErrorPropertiesCode']]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def message(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "message") + + @message.setter + def message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "message", value) + + +@pulumi.input_type +class EntityStatusArgs: + def __init__(__self__, *, + error: Optional[pulumi.Input[Union[Any, 'EntityStatusErrorPropertiesArgs']]] = None, + state: Optional[pulumi.Input['EntityStatusState']] = None): + if error is not None: + pulumi.set(__self__, "error", error) + if state is not None: + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def error(self) -> Optional[pulumi.Input[Union[Any, 'EntityStatusErrorPropertiesArgs']]]: + return pulumi.get(self, "error") + + @error.setter + def error(self, value: Optional[pulumi.Input[Union[Any, 'EntityStatusErrorPropertiesArgs']]]): + pulumi.set(self, "error", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input['EntityStatusState']]: + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input['EntityStatusState']]): + pulumi.set(self, "state", value) + + diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/component_type.py b/sdk/python/pulumi_aws_native/iottwinmaker/component_type.py index 7372f5041a..73b4db1b46 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/component_type.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/component_type.py @@ -10,6 +10,7 @@ from .. import _utilities from . import outputs from ._enums import * +from ._inputs import * __all__ = ['ComponentTypeArgs', 'ComponentType'] @@ -18,26 +19,26 @@ class ComponentTypeArgs: def __init__(__self__, *, component_type_id: pulumi.Input[str], workspace_id: pulumi.Input[str], - composite_component_types: Optional[Any] = None, + composite_component_types: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeCompositeComponentTypeArgs']]]] = None, description: Optional[pulumi.Input[str]] = None, extends_from: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - functions: Optional[Any] = None, + functions: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeFunctionArgs']]]] = None, is_singleton: Optional[pulumi.Input[bool]] = None, - property_definitions: Optional[Any] = None, - property_groups: Optional[Any] = None, - tags: Optional[Any] = None): + property_definitions: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypePropertyDefinitionArgs']]]] = None, + property_groups: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypePropertyGroupArgs']]]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a ComponentType resource. :param pulumi.Input[str] component_type_id: The ID of the component type. :param pulumi.Input[str] workspace_id: The ID of the workspace that contains the component type. - :param Any composite_component_types: An map of the composite component types in the component type. Each composite component type's key must be unique to this map. + :param pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeCompositeComponentTypeArgs']]] composite_component_types: An map of the composite component types in the component type. Each composite component type's key must be unique to this map. :param pulumi.Input[str] description: The description of the component type. :param pulumi.Input[Sequence[pulumi.Input[str]]] extends_from: Specifies the parent component type to extend. - :param Any functions: a Map of functions in the component type. Each function's key must be unique to this map. + :param pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeFunctionArgs']]] functions: a Map of functions in the component type. Each function's key must be unique to this map. :param pulumi.Input[bool] is_singleton: A Boolean value that specifies whether an entity can have more than one component of this type. - :param Any property_definitions: An map of the property definitions in the component type. Each property definition's key must be unique to this map. - :param Any property_groups: An map of the property groups in the component type. Each property group's key must be unique to this map. - :param Any tags: A map of key-value pairs to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input['ComponentTypePropertyDefinitionArgs']]] property_definitions: An map of the property definitions in the component type. Each property definition's key must be unique to this map. + :param pulumi.Input[Mapping[str, pulumi.Input['ComponentTypePropertyGroupArgs']]] property_groups: An map of the property groups in the component type. Each property group's key must be unique to this map. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of key-value pairs to associate with a resource. """ pulumi.set(__self__, "component_type_id", component_type_id) pulumi.set(__self__, "workspace_id", workspace_id) @@ -84,14 +85,14 @@ def workspace_id(self, value: pulumi.Input[str]): @property @pulumi.getter(name="compositeComponentTypes") - def composite_component_types(self) -> Optional[Any]: + def composite_component_types(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeCompositeComponentTypeArgs']]]]: """ An map of the composite component types in the component type. Each composite component type's key must be unique to this map. """ return pulumi.get(self, "composite_component_types") @composite_component_types.setter - def composite_component_types(self, value: Optional[Any]): + def composite_component_types(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeCompositeComponentTypeArgs']]]]): pulumi.set(self, "composite_component_types", value) @property @@ -120,14 +121,14 @@ def extends_from(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]] @property @pulumi.getter - def functions(self) -> Optional[Any]: + def functions(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeFunctionArgs']]]]: """ a Map of functions in the component type. Each function's key must be unique to this map. """ return pulumi.get(self, "functions") @functions.setter - def functions(self, value: Optional[Any]): + def functions(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeFunctionArgs']]]]): pulumi.set(self, "functions", value) @property @@ -144,38 +145,38 @@ def is_singleton(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter(name="propertyDefinitions") - def property_definitions(self) -> Optional[Any]: + def property_definitions(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypePropertyDefinitionArgs']]]]: """ An map of the property definitions in the component type. Each property definition's key must be unique to this map. """ return pulumi.get(self, "property_definitions") @property_definitions.setter - def property_definitions(self, value: Optional[Any]): + def property_definitions(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypePropertyDefinitionArgs']]]]): pulumi.set(self, "property_definitions", value) @property @pulumi.getter(name="propertyGroups") - def property_groups(self) -> Optional[Any]: + def property_groups(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypePropertyGroupArgs']]]]: """ An map of the property groups in the component type. Each property group's key must be unique to this map. """ return pulumi.get(self, "property_groups") @property_groups.setter - def property_groups(self, value: Optional[Any]): + def property_groups(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypePropertyGroupArgs']]]]): pulumi.set(self, "property_groups", value) @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A map of key-value pairs to associate with a resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -185,14 +186,14 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, component_type_id: Optional[pulumi.Input[str]] = None, - composite_component_types: Optional[Any] = None, + composite_component_types: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypeCompositeComponentTypeArgs']]]]] = None, description: Optional[pulumi.Input[str]] = None, extends_from: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - functions: Optional[Any] = None, + functions: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypeFunctionArgs']]]]] = None, is_singleton: Optional[pulumi.Input[bool]] = None, - property_definitions: Optional[Any] = None, - property_groups: Optional[Any] = None, - tags: Optional[Any] = None, + property_definitions: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypePropertyDefinitionArgs']]]]] = None, + property_groups: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypePropertyGroupArgs']]]]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -201,14 +202,14 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] component_type_id: The ID of the component type. - :param Any composite_component_types: An map of the composite component types in the component type. Each composite component type's key must be unique to this map. + :param pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypeCompositeComponentTypeArgs']]]] composite_component_types: An map of the composite component types in the component type. Each composite component type's key must be unique to this map. :param pulumi.Input[str] description: The description of the component type. :param pulumi.Input[Sequence[pulumi.Input[str]]] extends_from: Specifies the parent component type to extend. - :param Any functions: a Map of functions in the component type. Each function's key must be unique to this map. + :param pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypeFunctionArgs']]]] functions: a Map of functions in the component type. Each function's key must be unique to this map. :param pulumi.Input[bool] is_singleton: A Boolean value that specifies whether an entity can have more than one component of this type. - :param Any property_definitions: An map of the property definitions in the component type. Each property definition's key must be unique to this map. - :param Any property_groups: An map of the property groups in the component type. Each property group's key must be unique to this map. - :param Any tags: A map of key-value pairs to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypePropertyDefinitionArgs']]]] property_definitions: An map of the property definitions in the component type. Each property definition's key must be unique to this map. + :param pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypePropertyGroupArgs']]]] property_groups: An map of the property groups in the component type. Each property group's key must be unique to this map. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of key-value pairs to associate with a resource. :param pulumi.Input[str] workspace_id: The ID of the workspace that contains the component type. """ ... @@ -236,14 +237,14 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, component_type_id: Optional[pulumi.Input[str]] = None, - composite_component_types: Optional[Any] = None, + composite_component_types: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypeCompositeComponentTypeArgs']]]]] = None, description: Optional[pulumi.Input[str]] = None, extends_from: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - functions: Optional[Any] = None, + functions: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypeFunctionArgs']]]]] = None, is_singleton: Optional[pulumi.Input[bool]] = None, - property_definitions: Optional[Any] = None, - property_groups: Optional[Any] = None, - tags: Optional[Any] = None, + property_definitions: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypePropertyDefinitionArgs']]]]] = None, + property_groups: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['ComponentTypePropertyGroupArgs']]]]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -334,7 +335,7 @@ def component_type_id(self) -> pulumi.Output[str]: @property @pulumi.getter(name="compositeComponentTypes") - def composite_component_types(self) -> pulumi.Output[Optional[Any]]: + def composite_component_types(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.ComponentTypeCompositeComponentType']]]: """ An map of the composite component types in the component type. Each composite component type's key must be unique to this map. """ @@ -366,7 +367,7 @@ def extends_from(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter - def functions(self) -> pulumi.Output[Optional[Any]]: + def functions(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.ComponentTypeFunction']]]: """ a Map of functions in the component type. Each function's key must be unique to this map. """ @@ -398,7 +399,7 @@ def is_singleton(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="propertyDefinitions") - def property_definitions(self) -> pulumi.Output[Optional[Any]]: + def property_definitions(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.ComponentTypePropertyDefinition']]]: """ An map of the property definitions in the component type. Each property definition's key must be unique to this map. """ @@ -406,7 +407,7 @@ def property_definitions(self) -> pulumi.Output[Optional[Any]]: @property @pulumi.getter(name="propertyGroups") - def property_groups(self) -> pulumi.Output[Optional[Any]]: + def property_groups(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.ComponentTypePropertyGroup']]]: """ An map of the property groups in the component type. Each property group's key must be unique to this map. """ @@ -422,7 +423,7 @@ def status(self) -> pulumi.Output['outputs.ComponentTypeStatus']: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A map of key-value pairs to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/entity.py b/sdk/python/pulumi_aws_native/iottwinmaker/entity.py index 080e46238e..047652c60a 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/entity.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/entity.py @@ -10,6 +10,7 @@ from .. import _utilities from . import outputs from ._enums import * +from ._inputs import * __all__ = ['EntityArgs', 'Entity'] @@ -17,23 +18,23 @@ class EntityArgs: def __init__(__self__, *, workspace_id: pulumi.Input[str], - components: Optional[Any] = None, - composite_components: Optional[Any] = None, + components: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityComponentArgs']]]] = None, + composite_components: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityCompositeComponentArgs']]]] = None, description: Optional[pulumi.Input[str]] = None, entity_id: Optional[pulumi.Input[str]] = None, entity_name: Optional[pulumi.Input[str]] = None, parent_entity_id: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a Entity resource. :param pulumi.Input[str] workspace_id: The ID of the workspace. - :param Any components: A map that sets information about a component type. - :param Any composite_components: A map that sets information about a composite component. + :param pulumi.Input[Mapping[str, pulumi.Input['EntityComponentArgs']]] components: A map that sets information about a component type. + :param pulumi.Input[Mapping[str, pulumi.Input['EntityCompositeComponentArgs']]] composite_components: A map that sets information about a composite component. :param pulumi.Input[str] description: The description of the entity. :param pulumi.Input[str] entity_id: The ID of the entity. :param pulumi.Input[str] entity_name: The name of the entity. :param pulumi.Input[str] parent_entity_id: The ID of the parent entity. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ pulumi.set(__self__, "workspace_id", workspace_id) if components is not None: @@ -65,26 +66,26 @@ def workspace_id(self, value: pulumi.Input[str]): @property @pulumi.getter - def components(self) -> Optional[Any]: + def components(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityComponentArgs']]]]: """ A map that sets information about a component type. """ return pulumi.get(self, "components") @components.setter - def components(self, value: Optional[Any]): + def components(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityComponentArgs']]]]): pulumi.set(self, "components", value) @property @pulumi.getter(name="compositeComponents") - def composite_components(self) -> Optional[Any]: + def composite_components(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityCompositeComponentArgs']]]]: """ A map that sets information about a composite component. """ return pulumi.get(self, "composite_components") @composite_components.setter - def composite_components(self, value: Optional[Any]): + def composite_components(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['EntityCompositeComponentArgs']]]]): pulumi.set(self, "composite_components", value) @property @@ -137,14 +138,14 @@ def parent_entity_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A key-value pair to associate with a resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -153,13 +154,13 @@ class Entity(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - components: Optional[Any] = None, - composite_components: Optional[Any] = None, + components: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['EntityComponentArgs']]]]] = None, + composite_components: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['EntityCompositeComponentArgs']]]]] = None, description: Optional[pulumi.Input[str]] = None, entity_id: Optional[pulumi.Input[str]] = None, entity_name: Optional[pulumi.Input[str]] = None, parent_entity_id: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -167,13 +168,13 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param Any components: A map that sets information about a component type. - :param Any composite_components: A map that sets information about a composite component. + :param pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['EntityComponentArgs']]]] components: A map that sets information about a component type. + :param pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['EntityCompositeComponentArgs']]]] composite_components: A map that sets information about a composite component. :param pulumi.Input[str] description: The description of the entity. :param pulumi.Input[str] entity_id: The ID of the entity. :param pulumi.Input[str] entity_name: The name of the entity. :param pulumi.Input[str] parent_entity_id: The ID of the parent entity. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. :param pulumi.Input[str] workspace_id: The ID of the workspace. """ ... @@ -200,13 +201,13 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - components: Optional[Any] = None, - composite_components: Optional[Any] = None, + components: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['EntityComponentArgs']]]]] = None, + composite_components: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['EntityCompositeComponentArgs']]]]] = None, description: Optional[pulumi.Input[str]] = None, entity_id: Optional[pulumi.Input[str]] = None, entity_name: Optional[pulumi.Input[str]] = None, parent_entity_id: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -281,7 +282,7 @@ def arn(self) -> pulumi.Output[str]: @property @pulumi.getter - def components(self) -> pulumi.Output[Optional[Any]]: + def components(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.EntityComponent']]]: """ A map that sets information about a component type. """ @@ -289,7 +290,7 @@ def components(self) -> pulumi.Output[Optional[Any]]: @property @pulumi.getter(name="compositeComponents") - def composite_components(self) -> pulumi.Output[Optional[Any]]: + def composite_components(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.EntityCompositeComponent']]]: """ A map that sets information about a composite component. """ @@ -353,7 +354,7 @@ def status(self) -> pulumi.Output['outputs.EntityStatus']: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A key-value pair to associate with a resource. """ 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 44d0f761bd..c2a0040a33 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/get_component_type.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/get_component_type.py @@ -74,7 +74,7 @@ def arn(self) -> Optional[str]: @property @pulumi.getter(name="compositeComponentTypes") - def composite_component_types(self) -> Optional[Any]: + def composite_component_types(self) -> Optional[Mapping[str, 'outputs.ComponentTypeCompositeComponentType']]: """ An map of the composite component types in the component type. Each composite component type's key must be unique to this map. """ @@ -106,7 +106,7 @@ def extends_from(self) -> Optional[Sequence[str]]: @property @pulumi.getter - def functions(self) -> Optional[Any]: + def functions(self) -> Optional[Mapping[str, 'outputs.ComponentTypeFunction']]: """ a Map of functions in the component type. Each function's key must be unique to this map. """ @@ -138,7 +138,7 @@ def is_singleton(self) -> Optional[bool]: @property @pulumi.getter(name="propertyDefinitions") - def property_definitions(self) -> Optional[Any]: + def property_definitions(self) -> Optional[Mapping[str, 'outputs.ComponentTypePropertyDefinition']]: """ An map of the property definitions in the component type. Each property definition's key must be unique to this map. """ @@ -146,7 +146,7 @@ def property_definitions(self) -> Optional[Any]: @property @pulumi.getter(name="propertyGroups") - def property_groups(self) -> Optional[Any]: + def property_groups(self) -> Optional[Mapping[str, 'outputs.ComponentTypePropertyGroup']]: """ An map of the property groups in the component type. Each property group's key must be unique to this map. """ @@ -162,7 +162,7 @@ def status(self) -> Optional['outputs.ComponentTypeStatus']: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ A map of key-value pairs to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/get_entity.py b/sdk/python/pulumi_aws_native/iottwinmaker/get_entity.py index af7a514beb..06ab364e9c 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/get_entity.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/get_entity.py @@ -65,7 +65,7 @@ def arn(self) -> Optional[str]: @property @pulumi.getter - def components(self) -> Optional[Any]: + def components(self) -> Optional[Mapping[str, 'outputs.EntityComponent']]: """ A map that sets information about a component type. """ @@ -73,7 +73,7 @@ def components(self) -> Optional[Any]: @property @pulumi.getter(name="compositeComponents") - def composite_components(self) -> Optional[Any]: + def composite_components(self) -> Optional[Mapping[str, 'outputs.EntityCompositeComponent']]: """ A map that sets information about a composite component. """ @@ -129,7 +129,7 @@ def status(self) -> Optional['outputs.EntityStatus']: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ A key-value pair to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/get_scene.py b/sdk/python/pulumi_aws_native/iottwinmaker/get_scene.py index 57103ca27d..a3ef35160d 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/get_scene.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/get_scene.py @@ -89,7 +89,7 @@ def description(self) -> Optional[str]: @property @pulumi.getter(name="generatedSceneMetadata") - def generated_scene_metadata(self) -> Optional[Any]: + def generated_scene_metadata(self) -> Optional[Mapping[str, str]]: """ A key-value pair of generated scene metadata for the scene. """ @@ -97,7 +97,7 @@ def generated_scene_metadata(self) -> Optional[Any]: @property @pulumi.getter(name="sceneMetadata") - def scene_metadata(self) -> Optional[Any]: + def scene_metadata(self) -> Optional[Mapping[str, str]]: """ A key-value pair of scene metadata for the scene. """ @@ -105,7 +105,7 @@ def scene_metadata(self) -> Optional[Any]: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ A key-value pair to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/get_workspace.py b/sdk/python/pulumi_aws_native/iottwinmaker/get_workspace.py index 601b356962..3796ce6cc0 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/get_workspace.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/get_workspace.py @@ -83,7 +83,7 @@ def s3_location(self) -> Optional[str]: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ A map of key-value pairs to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/outputs.py b/sdk/python/pulumi_aws_native/iottwinmaker/outputs.py index 76ddafc62a..6a85ee592a 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/outputs.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/outputs.py @@ -12,12 +12,721 @@ from ._enums import * __all__ = [ + 'ComponentTypeCompositeComponentType', + 'ComponentTypeDataConnector', + 'ComponentTypeDataType', + 'ComponentTypeDataValue', + 'ComponentTypeDataValueRelationshipValueProperties', + 'ComponentTypeFunction', + 'ComponentTypeLambdaFunction', + 'ComponentTypePropertyDefinition', + 'ComponentTypePropertyGroup', + 'ComponentTypeRelationship', 'ComponentTypeStatus', 'ComponentTypeStatusErrorProperties', + 'EntityComponent', + 'EntityCompositeComponent', + 'EntityDataType', + 'EntityDataValue', + 'EntityDataValueRelationshipValueProperties', + 'EntityProperty', + 'EntityPropertyDefinitionConfiguration', + 'EntityPropertyDefinitionProperties', + 'EntityPropertyGroup', + 'EntityRelationship', 'EntityStatus', 'EntityStatusErrorProperties', ] +@pulumi.output_type +class ComponentTypeCompositeComponentType(dict): + """ + An object that sets information about a composite component type. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "componentTypeId": + suggest = "component_type_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ComponentTypeCompositeComponentType. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ComponentTypeCompositeComponentType.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ComponentTypeCompositeComponentType.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + component_type_id: Optional[str] = None): + """ + An object that sets information about a composite component type. + :param str component_type_id: The id of the composite component type. + """ + if component_type_id is not None: + pulumi.set(__self__, "component_type_id", component_type_id) + + @property + @pulumi.getter(name="componentTypeId") + def component_type_id(self) -> Optional[str]: + """ + The id of the composite component type. + """ + return pulumi.get(self, "component_type_id") + + +@pulumi.output_type +class ComponentTypeDataConnector(dict): + """ + The data connector. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isNative": + suggest = "is_native" + elif key == "lambda": + suggest = "lambda_" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ComponentTypeDataConnector. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ComponentTypeDataConnector.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ComponentTypeDataConnector.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + is_native: Optional[bool] = None, + lambda_: Optional['outputs.ComponentTypeLambdaFunction'] = None): + """ + The data connector. + :param bool is_native: A Boolean value that specifies whether the data connector is native to IoT TwinMaker. + :param 'ComponentTypeLambdaFunction' lambda_: The Lambda function associated with this data connector. + """ + if is_native is not None: + pulumi.set(__self__, "is_native", is_native) + if lambda_ is not None: + pulumi.set(__self__, "lambda_", lambda_) + + @property + @pulumi.getter(name="isNative") + def is_native(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the data connector is native to IoT TwinMaker. + """ + return pulumi.get(self, "is_native") + + @property + @pulumi.getter(name="lambda") + def lambda_(self) -> Optional['outputs.ComponentTypeLambdaFunction']: + """ + The Lambda function associated with this data connector. + """ + return pulumi.get(self, "lambda_") + + +@pulumi.output_type +class ComponentTypeDataType(dict): + """ + An object that specifies the data type of a property. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allowedValues": + suggest = "allowed_values" + elif key == "nestedType": + suggest = "nested_type" + elif key == "unitOfMeasure": + suggest = "unit_of_measure" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ComponentTypeDataType. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ComponentTypeDataType.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ComponentTypeDataType.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: 'ComponentTypeDataTypeType', + allowed_values: Optional[Sequence['outputs.ComponentTypeDataValue']] = None, + nested_type: Optional['outputs.ComponentTypeDataType'] = None, + relationship: Optional['outputs.ComponentTypeRelationship'] = None, + unit_of_measure: Optional[str] = None): + """ + An object that specifies the data type of a property. + :param 'ComponentTypeDataTypeType' type: The underlying type of the data type. + :param Sequence['ComponentTypeDataValue'] allowed_values: The allowed values for this data type. + :param 'ComponentTypeDataType' nested_type: The nested type in the data type. + :param 'ComponentTypeRelationship' relationship: A relationship that associates a component with another component. + :param str unit_of_measure: The unit of measure used in this data type. + """ + pulumi.set(__self__, "type", type) + if allowed_values is not None: + pulumi.set(__self__, "allowed_values", allowed_values) + if nested_type is not None: + pulumi.set(__self__, "nested_type", nested_type) + if relationship is not None: + pulumi.set(__self__, "relationship", relationship) + if unit_of_measure is not None: + pulumi.set(__self__, "unit_of_measure", unit_of_measure) + + @property + @pulumi.getter + def type(self) -> 'ComponentTypeDataTypeType': + """ + The underlying type of the data type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="allowedValues") + def allowed_values(self) -> Optional[Sequence['outputs.ComponentTypeDataValue']]: + """ + The allowed values for this data type. + """ + return pulumi.get(self, "allowed_values") + + @property + @pulumi.getter(name="nestedType") + def nested_type(self) -> Optional['outputs.ComponentTypeDataType']: + """ + The nested type in the data type. + """ + return pulumi.get(self, "nested_type") + + @property + @pulumi.getter + def relationship(self) -> Optional['outputs.ComponentTypeRelationship']: + """ + A relationship that associates a component with another component. + """ + return pulumi.get(self, "relationship") + + @property + @pulumi.getter(name="unitOfMeasure") + def unit_of_measure(self) -> Optional[str]: + """ + The unit of measure used in this data type. + """ + return pulumi.get(self, "unit_of_measure") + + +@pulumi.output_type +class ComponentTypeDataValue(dict): + """ + An object that specifies a value for a property. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "booleanValue": + suggest = "boolean_value" + elif key == "doubleValue": + suggest = "double_value" + elif key == "integerValue": + suggest = "integer_value" + elif key == "listValue": + suggest = "list_value" + elif key == "longValue": + suggest = "long_value" + elif key == "mapValue": + suggest = "map_value" + elif key == "relationshipValue": + suggest = "relationship_value" + elif key == "stringValue": + suggest = "string_value" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ComponentTypeDataValue. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ComponentTypeDataValue.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ComponentTypeDataValue.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + boolean_value: Optional[bool] = None, + double_value: Optional[float] = None, + expression: Optional[str] = None, + integer_value: Optional[int] = None, + list_value: Optional[Sequence['outputs.ComponentTypeDataValue']] = None, + long_value: Optional[float] = None, + map_value: Optional[Mapping[str, 'outputs.ComponentTypeDataValue']] = None, + relationship_value: Optional['outputs.ComponentTypeDataValueRelationshipValueProperties'] = None, + string_value: Optional[str] = None): + """ + An object that specifies a value for a property. + :param bool boolean_value: A Boolean value. + :param float double_value: A double value. + :param str expression: An expression that produces the value. + :param int integer_value: An integer value. + :param Sequence['ComponentTypeDataValue'] list_value: A list of multiple values. + :param float long_value: A long value. + :param Mapping[str, 'ComponentTypeDataValue'] map_value: An object that maps strings to multiple DataValue objects. + :param 'ComponentTypeDataValueRelationshipValueProperties' relationship_value: A value that relates a component to another component. + :param str string_value: A string value. + """ + if boolean_value is not None: + pulumi.set(__self__, "boolean_value", boolean_value) + if double_value is not None: + pulumi.set(__self__, "double_value", double_value) + if expression is not None: + pulumi.set(__self__, "expression", expression) + if integer_value is not None: + pulumi.set(__self__, "integer_value", integer_value) + if list_value is not None: + pulumi.set(__self__, "list_value", list_value) + if long_value is not None: + pulumi.set(__self__, "long_value", long_value) + if map_value is not None: + pulumi.set(__self__, "map_value", map_value) + if relationship_value is not None: + pulumi.set(__self__, "relationship_value", relationship_value) + if string_value is not None: + pulumi.set(__self__, "string_value", string_value) + + @property + @pulumi.getter(name="booleanValue") + def boolean_value(self) -> Optional[bool]: + """ + A Boolean value. + """ + return pulumi.get(self, "boolean_value") + + @property + @pulumi.getter(name="doubleValue") + def double_value(self) -> Optional[float]: + """ + A double value. + """ + return pulumi.get(self, "double_value") + + @property + @pulumi.getter + def expression(self) -> Optional[str]: + """ + An expression that produces the value. + """ + return pulumi.get(self, "expression") + + @property + @pulumi.getter(name="integerValue") + def integer_value(self) -> Optional[int]: + """ + An integer value. + """ + return pulumi.get(self, "integer_value") + + @property + @pulumi.getter(name="listValue") + def list_value(self) -> Optional[Sequence['outputs.ComponentTypeDataValue']]: + """ + A list of multiple values. + """ + return pulumi.get(self, "list_value") + + @property + @pulumi.getter(name="longValue") + def long_value(self) -> Optional[float]: + """ + A long value. + """ + return pulumi.get(self, "long_value") + + @property + @pulumi.getter(name="mapValue") + def map_value(self) -> Optional[Mapping[str, 'outputs.ComponentTypeDataValue']]: + """ + An object that maps strings to multiple DataValue objects. + """ + return pulumi.get(self, "map_value") + + @property + @pulumi.getter(name="relationshipValue") + def relationship_value(self) -> Optional['outputs.ComponentTypeDataValueRelationshipValueProperties']: + """ + A value that relates a component to another component. + """ + return pulumi.get(self, "relationship_value") + + @property + @pulumi.getter(name="stringValue") + def string_value(self) -> Optional[str]: + """ + A string value. + """ + return pulumi.get(self, "string_value") + + +@pulumi.output_type +class ComponentTypeDataValueRelationshipValueProperties(dict): + """ + A value that relates a component to another component. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "targetComponentName": + suggest = "target_component_name" + elif key == "targetEntityId": + suggest = "target_entity_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ComponentTypeDataValueRelationshipValueProperties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ComponentTypeDataValueRelationshipValueProperties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ComponentTypeDataValueRelationshipValueProperties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + target_component_name: Optional[str] = None, + target_entity_id: Optional[str] = None): + """ + A value that relates a component to another component. + """ + if target_component_name is not None: + pulumi.set(__self__, "target_component_name", target_component_name) + if target_entity_id is not None: + pulumi.set(__self__, "target_entity_id", target_entity_id) + + @property + @pulumi.getter(name="targetComponentName") + def target_component_name(self) -> Optional[str]: + return pulumi.get(self, "target_component_name") + + @property + @pulumi.getter(name="targetEntityId") + def target_entity_id(self) -> Optional[str]: + return pulumi.get(self, "target_entity_id") + + +@pulumi.output_type +class ComponentTypeFunction(dict): + """ + The function of component type. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "implementedBy": + suggest = "implemented_by" + elif key == "requiredProperties": + suggest = "required_properties" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ComponentTypeFunction. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ComponentTypeFunction.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ComponentTypeFunction.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + implemented_by: Optional['outputs.ComponentTypeDataConnector'] = None, + required_properties: Optional[Sequence[str]] = None, + scope: Optional['ComponentTypeFunctionScope'] = None): + """ + The function of component type. + :param 'ComponentTypeDataConnector' implemented_by: The data connector. + :param Sequence[str] required_properties: The required properties of the function. + :param 'ComponentTypeFunctionScope' scope: The scope of the function. + """ + if implemented_by is not None: + pulumi.set(__self__, "implemented_by", implemented_by) + if required_properties is not None: + pulumi.set(__self__, "required_properties", required_properties) + if scope is not None: + pulumi.set(__self__, "scope", scope) + + @property + @pulumi.getter(name="implementedBy") + def implemented_by(self) -> Optional['outputs.ComponentTypeDataConnector']: + """ + The data connector. + """ + return pulumi.get(self, "implemented_by") + + @property + @pulumi.getter(name="requiredProperties") + def required_properties(self) -> Optional[Sequence[str]]: + """ + The required properties of the function. + """ + return pulumi.get(self, "required_properties") + + @property + @pulumi.getter + def scope(self) -> Optional['ComponentTypeFunctionScope']: + """ + The scope of the function. + """ + return pulumi.get(self, "scope") + + +@pulumi.output_type +class ComponentTypeLambdaFunction(dict): + def __init__(__self__, *, + arn: str): + pulumi.set(__self__, "arn", arn) + + @property + @pulumi.getter + def arn(self) -> str: + return pulumi.get(self, "arn") + + +@pulumi.output_type +class ComponentTypePropertyDefinition(dict): + """ + An object that sets information about a property. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataType": + suggest = "data_type" + elif key == "defaultValue": + suggest = "default_value" + elif key == "isExternalId": + suggest = "is_external_id" + elif key == "isRequiredInEntity": + suggest = "is_required_in_entity" + elif key == "isStoredExternally": + suggest = "is_stored_externally" + elif key == "isTimeSeries": + suggest = "is_time_series" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ComponentTypePropertyDefinition. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ComponentTypePropertyDefinition.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ComponentTypePropertyDefinition.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + configurations: Optional[Mapping[str, str]] = None, + data_type: Optional['outputs.ComponentTypeDataType'] = None, + default_value: Optional['outputs.ComponentTypeDataValue'] = None, + is_external_id: Optional[bool] = None, + is_required_in_entity: Optional[bool] = None, + is_stored_externally: Optional[bool] = None, + is_time_series: Optional[bool] = None): + """ + An object that sets information about a property. + :param Mapping[str, str] configurations: An object that specifies information about a property. + :param 'ComponentTypeDataType' data_type: An object that contains information about the data type. + :param 'ComponentTypeDataValue' default_value: An object that contains the default value. + :param bool is_external_id: A Boolean value that specifies whether the property ID comes from an external data store. + :param bool is_required_in_entity: A Boolean value that specifies whether the property is required. + :param bool is_stored_externally: A Boolean value that specifies whether the property is stored externally. + :param bool is_time_series: A Boolean value that specifies whether the property consists of time series data. + """ + if configurations is not None: + pulumi.set(__self__, "configurations", configurations) + if data_type is not None: + pulumi.set(__self__, "data_type", data_type) + if default_value is not None: + pulumi.set(__self__, "default_value", default_value) + if is_external_id is not None: + pulumi.set(__self__, "is_external_id", is_external_id) + if is_required_in_entity is not None: + pulumi.set(__self__, "is_required_in_entity", is_required_in_entity) + if is_stored_externally is not None: + pulumi.set(__self__, "is_stored_externally", is_stored_externally) + if is_time_series is not None: + pulumi.set(__self__, "is_time_series", is_time_series) + + @property + @pulumi.getter + def configurations(self) -> Optional[Mapping[str, str]]: + """ + An object that specifies information about a property. + """ + return pulumi.get(self, "configurations") + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> Optional['outputs.ComponentTypeDataType']: + """ + An object that contains information about the data type. + """ + return pulumi.get(self, "data_type") + + @property + @pulumi.getter(name="defaultValue") + def default_value(self) -> Optional['outputs.ComponentTypeDataValue']: + """ + An object that contains the default value. + """ + return pulumi.get(self, "default_value") + + @property + @pulumi.getter(name="isExternalId") + def is_external_id(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the property ID comes from an external data store. + """ + return pulumi.get(self, "is_external_id") + + @property + @pulumi.getter(name="isRequiredInEntity") + def is_required_in_entity(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the property is required. + """ + return pulumi.get(self, "is_required_in_entity") + + @property + @pulumi.getter(name="isStoredExternally") + def is_stored_externally(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the property is stored externally. + """ + return pulumi.get(self, "is_stored_externally") + + @property + @pulumi.getter(name="isTimeSeries") + def is_time_series(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the property consists of time series data. + """ + return pulumi.get(self, "is_time_series") + + +@pulumi.output_type +class ComponentTypePropertyGroup(dict): + """ + An object that sets information about a property group. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "groupType": + suggest = "group_type" + elif key == "propertyNames": + suggest = "property_names" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ComponentTypePropertyGroup. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ComponentTypePropertyGroup.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ComponentTypePropertyGroup.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + group_type: Optional['ComponentTypePropertyGroupGroupType'] = None, + property_names: Optional[Sequence[str]] = None): + """ + An object that sets information about a property group. + :param 'ComponentTypePropertyGroupGroupType' group_type: The type of property group. + :param Sequence[str] property_names: The list of property names in the property group. + """ + if group_type is not None: + pulumi.set(__self__, "group_type", group_type) + if property_names is not None: + pulumi.set(__self__, "property_names", property_names) + + @property + @pulumi.getter(name="groupType") + def group_type(self) -> Optional['ComponentTypePropertyGroupGroupType']: + """ + The type of property group. + """ + return pulumi.get(self, "group_type") + + @property + @pulumi.getter(name="propertyNames") + def property_names(self) -> Optional[Sequence[str]]: + """ + The list of property names in the property group. + """ + return pulumi.get(self, "property_names") + + +@pulumi.output_type +class ComponentTypeRelationship(dict): + """ + The type of the relationship. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "relationshipType": + suggest = "relationship_type" + elif key == "targetComponentTypeId": + suggest = "target_component_type_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ComponentTypeRelationship. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ComponentTypeRelationship.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ComponentTypeRelationship.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + relationship_type: Optional[str] = None, + target_component_type_id: Optional[str] = None): + """ + The type of the relationship. + :param str relationship_type: The type of the relationship. + :param str target_component_type_id: The ID of the target component type associated with this relationship. + """ + if relationship_type is not None: + pulumi.set(__self__, "relationship_type", relationship_type) + if target_component_type_id is not None: + pulumi.set(__self__, "target_component_type_id", target_component_type_id) + + @property + @pulumi.getter(name="relationshipType") + def relationship_type(self) -> Optional[str]: + """ + The type of the relationship. + """ + return pulumi.get(self, "relationship_type") + + @property + @pulumi.getter(name="targetComponentTypeId") + def target_component_type_id(self) -> Optional[str]: + """ + The ID of the target component type associated with this relationship. + """ + return pulumi.get(self, "target_component_type_id") + + @pulumi.output_type class ComponentTypeStatus(dict): def __init__(__self__, *, @@ -66,6 +775,837 @@ def message(self) -> Optional[str]: return pulumi.get(self, "message") +@pulumi.output_type +class EntityComponent(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "componentName": + suggest = "component_name" + elif key == "componentTypeId": + suggest = "component_type_id" + elif key == "definedIn": + suggest = "defined_in" + elif key == "propertyGroups": + suggest = "property_groups" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EntityComponent. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EntityComponent.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EntityComponent.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + component_name: Optional[str] = None, + component_type_id: Optional[str] = None, + defined_in: Optional[str] = None, + description: Optional[str] = None, + properties: Optional[Mapping[str, 'outputs.EntityProperty']] = None, + property_groups: Optional[Mapping[str, 'outputs.EntityPropertyGroup']] = None, + status: Optional['outputs.EntityStatus'] = None): + """ + :param str component_name: The name of the component. + :param str component_type_id: The ID of the component type. + :param str defined_in: The name of the property definition set in the component. + :param str description: The description of the component. + :param Mapping[str, 'EntityProperty'] properties: 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. + :param Mapping[str, 'EntityPropertyGroup'] property_groups: 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. + :param 'EntityStatus' status: The current status of the entity. + """ + if component_name is not None: + pulumi.set(__self__, "component_name", component_name) + if component_type_id is not None: + pulumi.set(__self__, "component_type_id", component_type_id) + if defined_in is not None: + pulumi.set(__self__, "defined_in", defined_in) + if description is not None: + pulumi.set(__self__, "description", description) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if property_groups is not None: + pulumi.set(__self__, "property_groups", property_groups) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="componentName") + def component_name(self) -> Optional[str]: + """ + The name of the component. + """ + return pulumi.get(self, "component_name") + + @property + @pulumi.getter(name="componentTypeId") + def component_type_id(self) -> Optional[str]: + """ + The ID of the component type. + """ + return pulumi.get(self, "component_type_id") + + @property + @pulumi.getter(name="definedIn") + def defined_in(self) -> Optional[str]: + """ + The name of the property definition set in the component. + """ + return pulumi.get(self, "defined_in") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the component. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def properties(self) -> Optional[Mapping[str, 'outputs.EntityProperty']]: + """ + 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. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="propertyGroups") + def property_groups(self) -> Optional[Mapping[str, 'outputs.EntityPropertyGroup']]: + """ + 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. + """ + return pulumi.get(self, "property_groups") + + @property + @pulumi.getter + def status(self) -> Optional['outputs.EntityStatus']: + """ + The current status of the entity. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class EntityCompositeComponent(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "componentName": + suggest = "component_name" + elif key == "componentPath": + suggest = "component_path" + elif key == "componentTypeId": + suggest = "component_type_id" + elif key == "propertyGroups": + suggest = "property_groups" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EntityCompositeComponent. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EntityCompositeComponent.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EntityCompositeComponent.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + component_name: Optional[str] = None, + component_path: Optional[str] = None, + component_type_id: Optional[str] = None, + description: Optional[str] = None, + properties: Optional[Mapping[str, 'outputs.EntityProperty']] = None, + property_groups: Optional[Mapping[str, 'outputs.EntityPropertyGroup']] = None, + status: Optional['outputs.EntityStatus'] = None): + """ + :param str component_name: The name of the component. + :param str component_path: The path of the component. + :param str component_type_id: The ID of the component type. + :param str description: The description of the component. + :param Mapping[str, 'EntityProperty'] properties: 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. + :param Mapping[str, 'EntityPropertyGroup'] property_groups: 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. + :param 'EntityStatus' status: The current status of the component. + """ + if component_name is not None: + pulumi.set(__self__, "component_name", component_name) + if component_path is not None: + pulumi.set(__self__, "component_path", component_path) + if component_type_id is not None: + pulumi.set(__self__, "component_type_id", component_type_id) + if description is not None: + pulumi.set(__self__, "description", description) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if property_groups is not None: + pulumi.set(__self__, "property_groups", property_groups) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="componentName") + def component_name(self) -> Optional[str]: + """ + The name of the component. + """ + return pulumi.get(self, "component_name") + + @property + @pulumi.getter(name="componentPath") + def component_path(self) -> Optional[str]: + """ + The path of the component. + """ + return pulumi.get(self, "component_path") + + @property + @pulumi.getter(name="componentTypeId") + def component_type_id(self) -> Optional[str]: + """ + The ID of the component type. + """ + return pulumi.get(self, "component_type_id") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description of the component. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def properties(self) -> Optional[Mapping[str, 'outputs.EntityProperty']]: + """ + 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. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="propertyGroups") + def property_groups(self) -> Optional[Mapping[str, 'outputs.EntityPropertyGroup']]: + """ + 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. + """ + return pulumi.get(self, "property_groups") + + @property + @pulumi.getter + def status(self) -> Optional['outputs.EntityStatus']: + """ + The current status of the component. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class EntityDataType(dict): + """ + An object that specifies the data type of a property. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allowedValues": + suggest = "allowed_values" + elif key == "nestedType": + suggest = "nested_type" + elif key == "unitOfMeasure": + suggest = "unit_of_measure" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EntityDataType. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EntityDataType.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EntityDataType.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allowed_values: Optional[Sequence['outputs.EntityDataValue']] = None, + nested_type: Optional['outputs.EntityDataType'] = None, + relationship: Optional['outputs.EntityRelationship'] = None, + type: Optional['EntityDataTypeType'] = None, + unit_of_measure: Optional[str] = None): + """ + An object that specifies the data type of a property. + :param Sequence['EntityDataValue'] allowed_values: The allowed values for this data type. + :param 'EntityDataType' nested_type: The nested type in the data type. + :param 'EntityRelationship' relationship: A relationship that associates a component with another component. + :param 'EntityDataTypeType' type: The underlying type of the data type. + :param str unit_of_measure: The unit of measure used in this data type. + """ + if allowed_values is not None: + pulumi.set(__self__, "allowed_values", allowed_values) + if nested_type is not None: + pulumi.set(__self__, "nested_type", nested_type) + if relationship is not None: + pulumi.set(__self__, "relationship", relationship) + if type is not None: + pulumi.set(__self__, "type", type) + if unit_of_measure is not None: + pulumi.set(__self__, "unit_of_measure", unit_of_measure) + + @property + @pulumi.getter(name="allowedValues") + def allowed_values(self) -> Optional[Sequence['outputs.EntityDataValue']]: + """ + The allowed values for this data type. + """ + return pulumi.get(self, "allowed_values") + + @property + @pulumi.getter(name="nestedType") + def nested_type(self) -> Optional['outputs.EntityDataType']: + """ + The nested type in the data type. + """ + return pulumi.get(self, "nested_type") + + @property + @pulumi.getter + def relationship(self) -> Optional['outputs.EntityRelationship']: + """ + A relationship that associates a component with another component. + """ + return pulumi.get(self, "relationship") + + @property + @pulumi.getter + def type(self) -> Optional['EntityDataTypeType']: + """ + The underlying type of the data type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="unitOfMeasure") + def unit_of_measure(self) -> Optional[str]: + """ + The unit of measure used in this data type. + """ + return pulumi.get(self, "unit_of_measure") + + +@pulumi.output_type +class EntityDataValue(dict): + """ + An object that specifies a value for a property. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "booleanValue": + suggest = "boolean_value" + elif key == "doubleValue": + suggest = "double_value" + elif key == "integerValue": + suggest = "integer_value" + elif key == "listValue": + suggest = "list_value" + elif key == "longValue": + suggest = "long_value" + elif key == "mapValue": + suggest = "map_value" + elif key == "relationshipValue": + suggest = "relationship_value" + elif key == "stringValue": + suggest = "string_value" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EntityDataValue. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EntityDataValue.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EntityDataValue.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + boolean_value: Optional[bool] = None, + double_value: Optional[float] = None, + expression: Optional[str] = None, + integer_value: Optional[int] = None, + list_value: Optional[Sequence['outputs.EntityDataValue']] = None, + long_value: Optional[float] = None, + map_value: Optional[Mapping[str, 'outputs.EntityDataValue']] = None, + relationship_value: Optional['outputs.EntityDataValueRelationshipValueProperties'] = None, + string_value: Optional[str] = None): + """ + An object that specifies a value for a property. + :param bool boolean_value: A Boolean value. + :param float double_value: A double value. + :param str expression: An expression that produces the value. + :param int integer_value: An integer value. + :param Sequence['EntityDataValue'] list_value: A list of multiple values. + :param float long_value: A long value. + :param Mapping[str, 'EntityDataValue'] map_value: An object that maps strings to multiple DataValue objects. + :param 'EntityDataValueRelationshipValueProperties' relationship_value: A value that relates a component to another component. + :param str string_value: A string value. + """ + if boolean_value is not None: + pulumi.set(__self__, "boolean_value", boolean_value) + if double_value is not None: + pulumi.set(__self__, "double_value", double_value) + if expression is not None: + pulumi.set(__self__, "expression", expression) + if integer_value is not None: + pulumi.set(__self__, "integer_value", integer_value) + if list_value is not None: + pulumi.set(__self__, "list_value", list_value) + if long_value is not None: + pulumi.set(__self__, "long_value", long_value) + if map_value is not None: + pulumi.set(__self__, "map_value", map_value) + if relationship_value is not None: + pulumi.set(__self__, "relationship_value", relationship_value) + if string_value is not None: + pulumi.set(__self__, "string_value", string_value) + + @property + @pulumi.getter(name="booleanValue") + def boolean_value(self) -> Optional[bool]: + """ + A Boolean value. + """ + return pulumi.get(self, "boolean_value") + + @property + @pulumi.getter(name="doubleValue") + def double_value(self) -> Optional[float]: + """ + A double value. + """ + return pulumi.get(self, "double_value") + + @property + @pulumi.getter + def expression(self) -> Optional[str]: + """ + An expression that produces the value. + """ + return pulumi.get(self, "expression") + + @property + @pulumi.getter(name="integerValue") + def integer_value(self) -> Optional[int]: + """ + An integer value. + """ + return pulumi.get(self, "integer_value") + + @property + @pulumi.getter(name="listValue") + def list_value(self) -> Optional[Sequence['outputs.EntityDataValue']]: + """ + A list of multiple values. + """ + return pulumi.get(self, "list_value") + + @property + @pulumi.getter(name="longValue") + def long_value(self) -> Optional[float]: + """ + A long value. + """ + return pulumi.get(self, "long_value") + + @property + @pulumi.getter(name="mapValue") + def map_value(self) -> Optional[Mapping[str, 'outputs.EntityDataValue']]: + """ + An object that maps strings to multiple DataValue objects. + """ + return pulumi.get(self, "map_value") + + @property + @pulumi.getter(name="relationshipValue") + def relationship_value(self) -> Optional['outputs.EntityDataValueRelationshipValueProperties']: + """ + A value that relates a component to another component. + """ + return pulumi.get(self, "relationship_value") + + @property + @pulumi.getter(name="stringValue") + def string_value(self) -> Optional[str]: + """ + A string value. + """ + return pulumi.get(self, "string_value") + + +@pulumi.output_type +class EntityDataValueRelationshipValueProperties(dict): + """ + A value that relates a component to another component. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "targetComponentName": + suggest = "target_component_name" + elif key == "targetEntityId": + suggest = "target_entity_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EntityDataValueRelationshipValueProperties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EntityDataValueRelationshipValueProperties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EntityDataValueRelationshipValueProperties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + target_component_name: Optional[str] = None, + target_entity_id: Optional[str] = None): + """ + A value that relates a component to another component. + """ + if target_component_name is not None: + pulumi.set(__self__, "target_component_name", target_component_name) + if target_entity_id is not None: + pulumi.set(__self__, "target_entity_id", target_entity_id) + + @property + @pulumi.getter(name="targetComponentName") + def target_component_name(self) -> Optional[str]: + return pulumi.get(self, "target_component_name") + + @property + @pulumi.getter(name="targetEntityId") + def target_entity_id(self) -> Optional[str]: + return pulumi.get(self, "target_entity_id") + + +@pulumi.output_type +class EntityProperty(dict): + def __init__(__self__, *, + definition: Optional['outputs.EntityPropertyDefinitionProperties'] = None, + value: Optional['outputs.EntityDataValue'] = None): + """ + :param 'EntityPropertyDefinitionProperties' definition: An object that specifies information about a property. + :param 'EntityDataValue' value: The value of the property. + """ + if definition is not None: + pulumi.set(__self__, "definition", definition) + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def definition(self) -> Optional['outputs.EntityPropertyDefinitionProperties']: + """ + An object that specifies information about a property. + """ + return pulumi.get(self, "definition") + + @property + @pulumi.getter + def value(self) -> Optional['outputs.EntityDataValue']: + """ + The value of the property. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class EntityPropertyDefinitionConfiguration(dict): + """ + An object that specifies information about a property. + """ + def __init__(__self__): + """ + An object that specifies information about a property. + """ + pass + + +@pulumi.output_type +class EntityPropertyDefinitionProperties(dict): + """ + An object that specifies information about a property. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataType": + suggest = "data_type" + elif key == "defaultValue": + suggest = "default_value" + elif key == "isExternalId": + suggest = "is_external_id" + elif key == "isFinal": + suggest = "is_final" + elif key == "isImported": + suggest = "is_imported" + elif key == "isInherited": + suggest = "is_inherited" + elif key == "isRequiredInEntity": + suggest = "is_required_in_entity" + elif key == "isStoredExternally": + suggest = "is_stored_externally" + elif key == "isTimeSeries": + suggest = "is_time_series" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EntityPropertyDefinitionProperties. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EntityPropertyDefinitionProperties.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EntityPropertyDefinitionProperties.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + configuration: Optional['outputs.EntityPropertyDefinitionConfiguration'] = None, + data_type: Optional['outputs.EntityDataType'] = None, + default_value: Optional['outputs.EntityDataValue'] = None, + is_external_id: Optional[bool] = None, + is_final: Optional[bool] = None, + is_imported: Optional[bool] = None, + is_inherited: Optional[bool] = None, + is_required_in_entity: Optional[bool] = None, + is_stored_externally: Optional[bool] = None, + is_time_series: Optional[bool] = None): + """ + An object that specifies information about a property. + :param 'EntityPropertyDefinitionConfiguration' configuration: An object that specifies information about a property. + :param 'EntityDataType' data_type: An object that contains information about the data type. + :param 'EntityDataValue' default_value: An object that contains the default value. + :param bool is_external_id: A Boolean value that specifies whether the property ID comes from an external data store. + :param bool is_final: A Boolean value that specifies whether the property definition can be updated. + :param bool is_imported: A Boolean value that specifies whether the property definition is imported from an external data store. + :param bool is_inherited: A Boolean value that specifies whether the property definition is inherited from a parent entity. + :param bool is_required_in_entity: A Boolean value that specifies whether the property is required. + :param bool is_stored_externally: A Boolean value that specifies whether the property is stored externally. + :param bool is_time_series: A Boolean value that specifies whether the property consists of time series data. + """ + if configuration is not None: + pulumi.set(__self__, "configuration", configuration) + if data_type is not None: + pulumi.set(__self__, "data_type", data_type) + if default_value is not None: + pulumi.set(__self__, "default_value", default_value) + if is_external_id is not None: + pulumi.set(__self__, "is_external_id", is_external_id) + if is_final is not None: + pulumi.set(__self__, "is_final", is_final) + if is_imported is not None: + pulumi.set(__self__, "is_imported", is_imported) + if is_inherited is not None: + pulumi.set(__self__, "is_inherited", is_inherited) + if is_required_in_entity is not None: + pulumi.set(__self__, "is_required_in_entity", is_required_in_entity) + if is_stored_externally is not None: + pulumi.set(__self__, "is_stored_externally", is_stored_externally) + if is_time_series is not None: + pulumi.set(__self__, "is_time_series", is_time_series) + + @property + @pulumi.getter + def configuration(self) -> Optional['outputs.EntityPropertyDefinitionConfiguration']: + """ + An object that specifies information about a property. + """ + return pulumi.get(self, "configuration") + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> Optional['outputs.EntityDataType']: + """ + An object that contains information about the data type. + """ + return pulumi.get(self, "data_type") + + @property + @pulumi.getter(name="defaultValue") + def default_value(self) -> Optional['outputs.EntityDataValue']: + """ + An object that contains the default value. + """ + return pulumi.get(self, "default_value") + + @property + @pulumi.getter(name="isExternalId") + def is_external_id(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the property ID comes from an external data store. + """ + return pulumi.get(self, "is_external_id") + + @property + @pulumi.getter(name="isFinal") + def is_final(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the property definition can be updated. + """ + return pulumi.get(self, "is_final") + + @property + @pulumi.getter(name="isImported") + def is_imported(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the property definition is imported from an external data store. + """ + return pulumi.get(self, "is_imported") + + @property + @pulumi.getter(name="isInherited") + def is_inherited(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the property definition is inherited from a parent entity. + """ + return pulumi.get(self, "is_inherited") + + @property + @pulumi.getter(name="isRequiredInEntity") + def is_required_in_entity(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the property is required. + """ + return pulumi.get(self, "is_required_in_entity") + + @property + @pulumi.getter(name="isStoredExternally") + def is_stored_externally(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the property is stored externally. + """ + return pulumi.get(self, "is_stored_externally") + + @property + @pulumi.getter(name="isTimeSeries") + def is_time_series(self) -> Optional[bool]: + """ + A Boolean value that specifies whether the property consists of time series data. + """ + return pulumi.get(self, "is_time_series") + + +@pulumi.output_type +class EntityPropertyGroup(dict): + """ + An object that specifies information about a property group. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "groupType": + suggest = "group_type" + elif key == "propertyNames": + suggest = "property_names" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EntityPropertyGroup. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EntityPropertyGroup.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EntityPropertyGroup.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + group_type: Optional['EntityPropertyGroupGroupType'] = None, + property_names: Optional[Sequence[str]] = None): + """ + An object that specifies information about a property group. + :param 'EntityPropertyGroupGroupType' group_type: The type of property group. + :param Sequence[str] property_names: The list of property names in the property group. + """ + if group_type is not None: + pulumi.set(__self__, "group_type", group_type) + if property_names is not None: + pulumi.set(__self__, "property_names", property_names) + + @property + @pulumi.getter(name="groupType") + def group_type(self) -> Optional['EntityPropertyGroupGroupType']: + """ + The type of property group. + """ + return pulumi.get(self, "group_type") + + @property + @pulumi.getter(name="propertyNames") + def property_names(self) -> Optional[Sequence[str]]: + """ + The list of property names in the property group. + """ + return pulumi.get(self, "property_names") + + +@pulumi.output_type +class EntityRelationship(dict): + """ + The type of the relationship. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "relationshipType": + suggest = "relationship_type" + elif key == "targetComponentTypeId": + suggest = "target_component_type_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EntityRelationship. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EntityRelationship.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EntityRelationship.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + relationship_type: Optional[str] = None, + target_component_type_id: Optional[str] = None): + """ + The type of the relationship. + :param str relationship_type: The type of the relationship. + :param str target_component_type_id: The ID of the target component type associated with this relationship. + """ + if relationship_type is not None: + pulumi.set(__self__, "relationship_type", relationship_type) + if target_component_type_id is not None: + pulumi.set(__self__, "target_component_type_id", target_component_type_id) + + @property + @pulumi.getter(name="relationshipType") + def relationship_type(self) -> Optional[str]: + """ + The type of the relationship. + """ + return pulumi.get(self, "relationship_type") + + @property + @pulumi.getter(name="targetComponentTypeId") + def target_component_type_id(self) -> Optional[str]: + """ + The ID of the target component type associated with this relationship. + """ + return pulumi.get(self, "target_component_type_id") + + @pulumi.output_type class EntityStatus(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/scene.py b/sdk/python/pulumi_aws_native/iottwinmaker/scene.py index 475008eb07..3616a8e78f 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/scene.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/scene.py @@ -19,8 +19,8 @@ def __init__(__self__, *, workspace_id: pulumi.Input[str], capabilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, - scene_metadata: Optional[Any] = None, - tags: Optional[Any] = None): + scene_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a Scene resource. :param pulumi.Input[str] content_location: The relative path that specifies the location of the content definition file. @@ -28,8 +28,8 @@ def __init__(__self__, *, :param pulumi.Input[str] workspace_id: The ID of the scene. :param pulumi.Input[Sequence[pulumi.Input[str]]] capabilities: A list of capabilities that the scene uses to render. :param pulumi.Input[str] description: The description of the scene. - :param Any scene_metadata: A key-value pair of scene metadata for the scene. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] scene_metadata: A key-value pair of scene metadata for the scene. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ pulumi.set(__self__, "content_location", content_location) pulumi.set(__self__, "scene_id", scene_id) @@ -105,26 +105,26 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="sceneMetadata") - def scene_metadata(self) -> Optional[Any]: + def scene_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A key-value pair of scene metadata for the scene. """ return pulumi.get(self, "scene_metadata") @scene_metadata.setter - def scene_metadata(self, value: Optional[Any]): + def scene_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "scene_metadata", value) @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A key-value pair to associate with a resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -137,8 +137,8 @@ def __init__(__self__, content_location: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, scene_id: Optional[pulumi.Input[str]] = None, - scene_metadata: Optional[Any] = None, - tags: Optional[Any] = None, + scene_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -150,8 +150,8 @@ def __init__(__self__, :param pulumi.Input[str] content_location: The relative path that specifies the location of the content definition file. :param pulumi.Input[str] description: The description of the scene. :param pulumi.Input[str] scene_id: The ID of the scene. - :param Any scene_metadata: A key-value pair of scene metadata for the scene. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] scene_metadata: A key-value pair of scene metadata for the scene. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. :param pulumi.Input[str] workspace_id: The ID of the scene. """ ... @@ -182,8 +182,8 @@ def _internal_init(__self__, content_location: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, scene_id: Optional[pulumi.Input[str]] = None, - scene_metadata: Optional[Any] = None, - tags: Optional[Any] = None, + scene_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -290,7 +290,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="generatedSceneMetadata") - def generated_scene_metadata(self) -> pulumi.Output[Any]: + def generated_scene_metadata(self) -> pulumi.Output[Mapping[str, str]]: """ A key-value pair of generated scene metadata for the scene. """ @@ -306,7 +306,7 @@ def scene_id(self) -> pulumi.Output[str]: @property @pulumi.getter(name="sceneMetadata") - def scene_metadata(self) -> pulumi.Output[Optional[Any]]: + def scene_metadata(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A key-value pair of scene metadata for the scene. """ @@ -314,7 +314,7 @@ def scene_metadata(self) -> pulumi.Output[Optional[Any]]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A key-value pair to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/sync_job.py b/sdk/python/pulumi_aws_native/iottwinmaker/sync_job.py index 3a84df2a1e..f02e820a5d 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/sync_job.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/sync_job.py @@ -17,13 +17,13 @@ def __init__(__self__, *, sync_role: pulumi.Input[str], sync_source: pulumi.Input[str], workspace_id: pulumi.Input[str], - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a SyncJob resource. :param pulumi.Input[str] sync_role: The IAM Role that execute SyncJob. :param pulumi.Input[str] sync_source: The source of the SyncJob. :param pulumi.Input[str] workspace_id: The ID of the workspace. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ pulumi.set(__self__, "sync_role", sync_role) pulumi.set(__self__, "sync_source", sync_source) @@ -69,14 +69,14 @@ def workspace_id(self, value: pulumi.Input[str]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A key-value pair to associate with a resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -87,7 +87,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, sync_role: Optional[pulumi.Input[str]] = None, sync_source: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -97,7 +97,7 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] sync_role: The IAM Role that execute SyncJob. :param pulumi.Input[str] sync_source: The source of the SyncJob. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. :param pulumi.Input[str] workspace_id: The ID of the workspace. """ ... @@ -126,7 +126,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, sync_role: Optional[pulumi.Input[str]] = None, sync_source: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -151,7 +151,7 @@ def _internal_init(__self__, __props__.__dict__["creation_date_time"] = None __props__.__dict__["state"] = None __props__.__dict__["update_date_time"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["sync_role", "sync_source", "tags", "workspace_id"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["sync_role", "sync_source", "tags.*", "workspace_id"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(SyncJob, __self__).__init__( 'aws-native:iottwinmaker:SyncJob', @@ -227,7 +227,7 @@ def sync_source(self) -> pulumi.Output[str]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A key-value pair to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/workspace.py b/sdk/python/pulumi_aws_native/iottwinmaker/workspace.py index 52af0f6c21..06976103b1 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/workspace.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/workspace.py @@ -18,14 +18,14 @@ def __init__(__self__, *, s3_location: pulumi.Input[str], workspace_id: pulumi.Input[str], description: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a Workspace resource. :param pulumi.Input[str] role: The ARN of the execution role associated with the workspace. :param pulumi.Input[str] s3_location: The ARN of the S3 bucket where resources associated with the workspace are stored. :param pulumi.Input[str] workspace_id: The ID of the workspace. :param pulumi.Input[str] description: The description of the workspace. - :param Any tags: A map of key-value pairs to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of key-value pairs to associate with a resource. """ pulumi.set(__self__, "role", role) pulumi.set(__self__, "s3_location", s3_location) @@ -85,14 +85,14 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A map of key-value pairs to associate with a resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -104,7 +104,7 @@ def __init__(__self__, description: Optional[pulumi.Input[str]] = None, role: Optional[pulumi.Input[str]] = None, s3_location: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -115,7 +115,7 @@ def __init__(__self__, :param pulumi.Input[str] description: The description of the workspace. :param pulumi.Input[str] role: The ARN of the execution role associated with the workspace. :param pulumi.Input[str] s3_location: The ARN of the S3 bucket where resources associated with the workspace are stored. - :param Any tags: A map of key-value pairs to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of key-value pairs to associate with a resource. :param pulumi.Input[str] workspace_id: The ID of the workspace. """ ... @@ -145,7 +145,7 @@ def _internal_init(__self__, description: Optional[pulumi.Input[str]] = None, role: Optional[pulumi.Input[str]] = None, s3_location: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, workspace_id: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -246,7 +246,7 @@ def s3_location(self) -> pulumi.Output[str]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A map of key-value pairs to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/kafkaconnect/connector.py b/sdk/python/pulumi_aws_native/kafkaconnect/connector.py index 527ec01c21..eebcb4073e 100644 --- a/sdk/python/pulumi_aws_native/kafkaconnect/connector.py +++ b/sdk/python/pulumi_aws_native/kafkaconnect/connector.py @@ -18,7 +18,7 @@ class ConnectorArgs: def __init__(__self__, *, capacity: pulumi.Input['ConnectorCapacityArgs'], - connector_configuration: Any, + connector_configuration: pulumi.Input[Mapping[str, pulumi.Input[str]]], kafka_cluster: pulumi.Input['ConnectorKafkaClusterArgs'], kafka_cluster_client_authentication: pulumi.Input['ConnectorKafkaClusterClientAuthenticationArgs'], kafka_cluster_encryption_in_transit: pulumi.Input['ConnectorKafkaClusterEncryptionInTransitArgs'], @@ -31,7 +31,7 @@ def __init__(__self__, *, worker_configuration: Optional[pulumi.Input['ConnectorWorkerConfigurationArgs']] = None): """ The set of arguments for constructing a Connector resource. - :param Any connector_configuration: The configuration for the connector. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] connector_configuration: The configuration for the connector. :param pulumi.Input[str] kafka_connect_version: The version of Kafka Connect. It has to be compatible with both the Kafka cluster's version and the plugins. :param pulumi.Input[Sequence[pulumi.Input['ConnectorPluginArgs']]] plugins: List of plugins to use with the connector. :param pulumi.Input[str] service_execution_role_arn: The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon S3 objects and other external resources. @@ -66,14 +66,14 @@ def capacity(self, value: pulumi.Input['ConnectorCapacityArgs']): @property @pulumi.getter(name="connectorConfiguration") - def connector_configuration(self) -> Any: + def connector_configuration(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: """ The configuration for the connector. """ return pulumi.get(self, "connector_configuration") @connector_configuration.setter - def connector_configuration(self, value: Any): + def connector_configuration(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): pulumi.set(self, "connector_configuration", value) @property @@ -188,7 +188,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, capacity: Optional[pulumi.Input[pulumi.InputType['ConnectorCapacityArgs']]] = None, - connector_configuration: Optional[Any] = None, + connector_configuration: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, connector_description: Optional[pulumi.Input[str]] = None, connector_name: Optional[pulumi.Input[str]] = None, kafka_cluster: Optional[pulumi.Input[pulumi.InputType['ConnectorKafkaClusterArgs']]] = None, @@ -205,7 +205,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param Any connector_configuration: The configuration for the connector. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] connector_configuration: The configuration for the connector. :param pulumi.Input[str] connector_description: A summary description of the connector. :param pulumi.Input[str] connector_name: The name of the connector. :param pulumi.Input[str] kafka_connect_version: The version of Kafka Connect. It has to be compatible with both the Kafka cluster's version and the plugins. @@ -237,7 +237,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, capacity: Optional[pulumi.Input[pulumi.InputType['ConnectorCapacityArgs']]] = None, - connector_configuration: Optional[Any] = None, + connector_configuration: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, connector_description: Optional[pulumi.Input[str]] = None, connector_name: Optional[pulumi.Input[str]] = None, kafka_cluster: Optional[pulumi.Input[pulumi.InputType['ConnectorKafkaClusterArgs']]] = None, @@ -286,7 +286,7 @@ def _internal_init(__self__, __props__.__dict__["service_execution_role_arn"] = service_execution_role_arn __props__.__dict__["worker_configuration"] = worker_configuration __props__.__dict__["connector_arn"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["connector_configuration", "connector_description", "connector_name", "kafka_cluster", "kafka_cluster_client_authentication", "kafka_cluster_encryption_in_transit", "kafka_connect_version", "log_delivery", "plugins[*]", "service_execution_role_arn", "worker_configuration"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["connector_configuration.*", "connector_description", "connector_name", "kafka_cluster", "kafka_cluster_client_authentication", "kafka_cluster_encryption_in_transit", "kafka_connect_version", "log_delivery", "plugins[*]", "service_execution_role_arn", "worker_configuration"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(Connector, __self__).__init__( 'aws-native:kafkaconnect:Connector', @@ -340,7 +340,7 @@ def connector_arn(self) -> pulumi.Output[str]: @property @pulumi.getter(name="connectorConfiguration") - def connector_configuration(self) -> pulumi.Output[Any]: + def connector_configuration(self) -> pulumi.Output[Mapping[str, str]]: """ The configuration for the connector. """ diff --git a/sdk/python/pulumi_aws_native/lambda_/_inputs.py b/sdk/python/pulumi_aws_native/lambda_/_inputs.py index 14fb2adf6b..6a5ec46b4a 100644 --- a/sdk/python/pulumi_aws_native/lambda_/_inputs.py +++ b/sdk/python/pulumi_aws_native/lambda_/_inputs.py @@ -657,24 +657,24 @@ def target_arn(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class FunctionEnvironmentArgs: def __init__(__self__, *, - variables: Optional[Any] = None): + variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ A function's environment variable settings. - :param Any variables: Environment variable key-value pairs. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] variables: Environment variable key-value pairs. """ if variables is not None: pulumi.set(__self__, "variables", variables) @property @pulumi.getter - def variables(self) -> Optional[Any]: + def variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Environment variable key-value pairs. """ return pulumi.get(self, "variables") @variables.setter - def variables(self, value: Optional[Any]): + def variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "variables", value) diff --git a/sdk/python/pulumi_aws_native/lambda_/outputs.py b/sdk/python/pulumi_aws_native/lambda_/outputs.py index 8735c58510..a4a3922ed0 100644 --- a/sdk/python/pulumi_aws_native/lambda_/outputs.py +++ b/sdk/python/pulumi_aws_native/lambda_/outputs.py @@ -847,17 +847,17 @@ class FunctionEnvironment(dict): A function's environment variable settings. """ def __init__(__self__, *, - variables: Optional[Any] = None): + variables: Optional[Mapping[str, str]] = None): """ A function's environment variable settings. - :param Any variables: Environment variable key-value pairs. + :param Mapping[str, str] variables: Environment variable key-value pairs. """ if variables is not None: pulumi.set(__self__, "variables", variables) @property @pulumi.getter - def variables(self) -> Optional[Any]: + def variables(self) -> Optional[Mapping[str, str]]: """ Environment variable key-value pairs. """ diff --git a/sdk/python/pulumi_aws_native/lex/_inputs.py b/sdk/python/pulumi_aws_native/lex/_inputs.py index c91b8883da..83ff2f4c3a 100644 --- a/sdk/python/pulumi_aws_native/lex/_inputs.py +++ b/sdk/python/pulumi_aws_native/lex/_inputs.py @@ -24,8 +24,11 @@ 'BotAliasTagArgs', 'BotAliasTextLogDestinationArgs', 'BotAliasTextLogSettingArgs', + 'BotAllowedInputTypesArgs', + 'BotAudioAndDtmfInputSpecificationArgs', 'BotAudioLogDestinationArgs', 'BotAudioLogSettingArgs', + 'BotAudioSpecificationArgs', 'BotButtonArgs', 'BotCloudWatchLogGroupLogDestinationArgs', 'BotConditionalBranchArgs', @@ -40,6 +43,7 @@ 'BotDialogCodeHookInvocationSettingArgs', 'BotDialogCodeHookSettingArgs', 'BotDialogStateArgs', + 'BotDtmfSpecificationArgs', 'BotElicitationCodeHookInvocationSettingArgs', 'BotExternalSourceSettingArgs', 'BotFulfillmentCodeHookSettingArgs', @@ -65,6 +69,7 @@ 'BotPlainTextMessageArgs', 'BotPostDialogCodeHookInvocationSpecificationArgs', 'BotPostFulfillmentStatusSpecificationArgs', + 'BotPromptAttemptSpecificationArgs', 'BotPromptSpecificationArgs', 'BotResponseSpecificationArgs', 'BotS3BucketLogDestinationArgs', @@ -90,6 +95,7 @@ 'BotTagArgs', 'BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesArgs', 'BotTestBotAliasSettingsArgs', + 'BotTextInputSpecificationArgs', 'BotTextLogDestinationArgs', 'BotTextLogSettingArgs', 'BotVersionLocaleDetailsArgs', @@ -506,6 +512,91 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +@pulumi.input_type +class BotAllowedInputTypesArgs: + def __init__(__self__, *, + allow_audio_input: pulumi.Input[bool], + allow_dtmf_input: pulumi.Input[bool]): + """ + Specifies the allowed input types. + :param pulumi.Input[bool] allow_audio_input: Indicates whether audio input is allowed. + :param pulumi.Input[bool] allow_dtmf_input: Indicates whether DTMF input is allowed. + """ + pulumi.set(__self__, "allow_audio_input", allow_audio_input) + pulumi.set(__self__, "allow_dtmf_input", allow_dtmf_input) + + @property + @pulumi.getter(name="allowAudioInput") + def allow_audio_input(self) -> pulumi.Input[bool]: + """ + Indicates whether audio input is allowed. + """ + return pulumi.get(self, "allow_audio_input") + + @allow_audio_input.setter + def allow_audio_input(self, value: pulumi.Input[bool]): + pulumi.set(self, "allow_audio_input", value) + + @property + @pulumi.getter(name="allowDtmfInput") + def allow_dtmf_input(self) -> pulumi.Input[bool]: + """ + Indicates whether DTMF input is allowed. + """ + return pulumi.get(self, "allow_dtmf_input") + + @allow_dtmf_input.setter + def allow_dtmf_input(self, value: pulumi.Input[bool]): + pulumi.set(self, "allow_dtmf_input", value) + + +@pulumi.input_type +class BotAudioAndDtmfInputSpecificationArgs: + def __init__(__self__, *, + start_timeout_ms: pulumi.Input[int], + audio_specification: Optional[pulumi.Input['BotAudioSpecificationArgs']] = None, + dtmf_specification: Optional[pulumi.Input['BotDtmfSpecificationArgs']] = None): + """ + Specifies the audio and DTMF input specification. + :param pulumi.Input[int] start_timeout_ms: 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. + """ + pulumi.set(__self__, "start_timeout_ms", start_timeout_ms) + if audio_specification is not None: + pulumi.set(__self__, "audio_specification", audio_specification) + if dtmf_specification is not None: + pulumi.set(__self__, "dtmf_specification", dtmf_specification) + + @property + @pulumi.getter(name="startTimeoutMs") + def start_timeout_ms(self) -> 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. + """ + return pulumi.get(self, "start_timeout_ms") + + @start_timeout_ms.setter + def start_timeout_ms(self, value: pulumi.Input[int]): + pulumi.set(self, "start_timeout_ms", value) + + @property + @pulumi.getter(name="audioSpecification") + def audio_specification(self) -> Optional[pulumi.Input['BotAudioSpecificationArgs']]: + return pulumi.get(self, "audio_specification") + + @audio_specification.setter + def audio_specification(self, value: Optional[pulumi.Input['BotAudioSpecificationArgs']]): + pulumi.set(self, "audio_specification", value) + + @property + @pulumi.getter(name="dtmfSpecification") + def dtmf_specification(self) -> Optional[pulumi.Input['BotDtmfSpecificationArgs']]: + return pulumi.get(self, "dtmf_specification") + + @dtmf_specification.setter + def dtmf_specification(self, value: Optional[pulumi.Input['BotDtmfSpecificationArgs']]): + pulumi.set(self, "dtmf_specification", value) + + @pulumi.input_type class BotAudioLogDestinationArgs: def __init__(__self__, *, @@ -555,6 +646,44 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +@pulumi.input_type +class BotAudioSpecificationArgs: + def __init__(__self__, *, + end_timeout_ms: pulumi.Input[int], + max_length_ms: pulumi.Input[int]): + """ + Specifies the audio input specifications. + :param pulumi.Input[int] end_timeout_ms: Time for which a bot waits after the customer stops speaking to assume the utterance is finished. + :param pulumi.Input[int] max_length_ms: Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. + """ + pulumi.set(__self__, "end_timeout_ms", end_timeout_ms) + pulumi.set(__self__, "max_length_ms", max_length_ms) + + @property + @pulumi.getter(name="endTimeoutMs") + def end_timeout_ms(self) -> pulumi.Input[int]: + """ + Time for which a bot waits after the customer stops speaking to assume the utterance is finished. + """ + return pulumi.get(self, "end_timeout_ms") + + @end_timeout_ms.setter + def end_timeout_ms(self, value: pulumi.Input[int]): + pulumi.set(self, "end_timeout_ms", value) + + @property + @pulumi.getter(name="maxLengthMs") + def max_length_ms(self) -> pulumi.Input[int]: + """ + Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. + """ + return pulumi.get(self, "max_length_ms") + + @max_length_ms.setter + def max_length_ms(self, value: pulumi.Input[int]): + pulumi.set(self, "max_length_ms", value) + + @pulumi.input_type class BotButtonArgs: def __init__(__self__, *, @@ -1143,6 +1272,74 @@ def session_attributes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "session_attributes", value) +@pulumi.input_type +class BotDtmfSpecificationArgs: + def __init__(__self__, *, + deletion_character: pulumi.Input[str], + end_character: pulumi.Input[str], + end_timeout_ms: pulumi.Input[int], + max_length: pulumi.Input[int]): + """ + Specifies the settings on DTMF input. + :param pulumi.Input[str] deletion_character: The DTMF character that clears the accumulated DTMF digits and immediately ends the input. + :param pulumi.Input[str] end_character: The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. + :param pulumi.Input[int] end_timeout_ms: How long the bot should wait after the last DTMF character input before assuming that the input has concluded. + :param pulumi.Input[int] max_length: The maximum number of DTMF digits allowed in an utterance. + """ + pulumi.set(__self__, "deletion_character", deletion_character) + pulumi.set(__self__, "end_character", end_character) + pulumi.set(__self__, "end_timeout_ms", end_timeout_ms) + pulumi.set(__self__, "max_length", max_length) + + @property + @pulumi.getter(name="deletionCharacter") + def deletion_character(self) -> pulumi.Input[str]: + """ + The DTMF character that clears the accumulated DTMF digits and immediately ends the input. + """ + return pulumi.get(self, "deletion_character") + + @deletion_character.setter + def deletion_character(self, value: pulumi.Input[str]): + pulumi.set(self, "deletion_character", value) + + @property + @pulumi.getter(name="endCharacter") + def end_character(self) -> 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. + """ + return pulumi.get(self, "end_character") + + @end_character.setter + def end_character(self, value: pulumi.Input[str]): + pulumi.set(self, "end_character", value) + + @property + @pulumi.getter(name="endTimeoutMs") + def end_timeout_ms(self) -> pulumi.Input[int]: + """ + How long the bot should wait after the last DTMF character input before assuming that the input has concluded. + """ + return pulumi.get(self, "end_timeout_ms") + + @end_timeout_ms.setter + def end_timeout_ms(self, value: pulumi.Input[int]): + pulumi.set(self, "end_timeout_ms", value) + + @property + @pulumi.getter(name="maxLength") + def max_length(self) -> pulumi.Input[int]: + """ + The maximum number of DTMF digits allowed in an utterance. + """ + return pulumi.get(self, "max_length") + + @max_length.setter + def max_length(self, value: pulumi.Input[int]): + pulumi.set(self, "max_length", value) + + @pulumi.input_type class BotElicitationCodeHookInvocationSettingArgs: def __init__(__self__, *, @@ -2833,6 +3030,65 @@ def timeout_response(self, value: Optional[pulumi.Input['BotResponseSpecificatio pulumi.set(self, "timeout_response", value) +@pulumi.input_type +class BotPromptAttemptSpecificationArgs: + def __init__(__self__, *, + allowed_input_types: pulumi.Input['BotAllowedInputTypesArgs'], + allow_interrupt: Optional[pulumi.Input[bool]] = None, + audio_and_dtmf_input_specification: Optional[pulumi.Input['BotAudioAndDtmfInputSpecificationArgs']] = None, + text_input_specification: Optional[pulumi.Input['BotTextInputSpecificationArgs']] = None): + """ + Specifies the settings on a prompt attempt. + :param pulumi.Input[bool] allow_interrupt: Indicates whether the user can interrupt a speech prompt attempt from the bot. + """ + pulumi.set(__self__, "allowed_input_types", allowed_input_types) + if allow_interrupt is not None: + pulumi.set(__self__, "allow_interrupt", allow_interrupt) + if audio_and_dtmf_input_specification is not None: + pulumi.set(__self__, "audio_and_dtmf_input_specification", audio_and_dtmf_input_specification) + if text_input_specification is not None: + pulumi.set(__self__, "text_input_specification", text_input_specification) + + @property + @pulumi.getter(name="allowedInputTypes") + def allowed_input_types(self) -> pulumi.Input['BotAllowedInputTypesArgs']: + return pulumi.get(self, "allowed_input_types") + + @allowed_input_types.setter + def allowed_input_types(self, value: pulumi.Input['BotAllowedInputTypesArgs']): + pulumi.set(self, "allowed_input_types", value) + + @property + @pulumi.getter(name="allowInterrupt") + def allow_interrupt(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether the user can interrupt a speech prompt attempt from the bot. + """ + return pulumi.get(self, "allow_interrupt") + + @allow_interrupt.setter + def allow_interrupt(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "allow_interrupt", value) + + @property + @pulumi.getter(name="audioAndDtmfInputSpecification") + def audio_and_dtmf_input_specification(self) -> Optional[pulumi.Input['BotAudioAndDtmfInputSpecificationArgs']]: + return pulumi.get(self, "audio_and_dtmf_input_specification") + + @audio_and_dtmf_input_specification.setter + def audio_and_dtmf_input_specification(self, value: Optional[pulumi.Input['BotAudioAndDtmfInputSpecificationArgs']]): + pulumi.set(self, "audio_and_dtmf_input_specification", value) + + @property + @pulumi.getter(name="textInputSpecification") + def text_input_specification(self) -> Optional[pulumi.Input['BotTextInputSpecificationArgs']]: + return pulumi.get(self, "text_input_specification") + + @text_input_specification.setter + def text_input_specification(self, value: Optional[pulumi.Input['BotTextInputSpecificationArgs']]): + pulumi.set(self, "text_input_specification", value) + + @pulumi.input_type class BotPromptSpecificationArgs: def __init__(__self__, *, @@ -2840,11 +3096,11 @@ def __init__(__self__, *, message_groups_list: pulumi.Input[Sequence[pulumi.Input['BotMessageGroupArgs']]], allow_interrupt: Optional[pulumi.Input[bool]] = None, message_selection_strategy: Optional[pulumi.Input['BotMessageSelectionStrategy']] = None, - prompt_attempts_specification: Optional[Any] = None): + prompt_attempts_specification: Optional[pulumi.Input[Mapping[str, pulumi.Input['BotPromptAttemptSpecificationArgs']]]] = None): """ Prompts the user to confirm the intent. :param pulumi.Input[bool] allow_interrupt: Indicates whether the user can interrupt a speech prompt from the bot. - :param Any prompt_attempts_specification: Specifies the advanced settings on each attempt of the prompt. + :param pulumi.Input[Mapping[str, pulumi.Input['BotPromptAttemptSpecificationArgs']]] prompt_attempts_specification: Specifies the advanced settings on each attempt of the prompt. """ pulumi.set(__self__, "max_retries", max_retries) pulumi.set(__self__, "message_groups_list", message_groups_list) @@ -2896,14 +3152,14 @@ def message_selection_strategy(self, value: Optional[pulumi.Input['BotMessageSel @property @pulumi.getter(name="promptAttemptsSpecification") - def prompt_attempts_specification(self) -> Optional[Any]: + def prompt_attempts_specification(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['BotPromptAttemptSpecificationArgs']]]]: """ Specifies the advanced settings on each attempt of the prompt. """ return pulumi.get(self, "prompt_attempts_specification") @prompt_attempts_specification.setter - def prompt_attempts_specification(self, value: Optional[Any]): + def prompt_attempts_specification(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['BotPromptAttemptSpecificationArgs']]]]): pulumi.set(self, "prompt_attempts_specification", value) @@ -4008,6 +4264,29 @@ def sentiment_analysis_settings(self, value: Optional[pulumi.Input['BotTestBotAl pulumi.set(self, "sentiment_analysis_settings", value) +@pulumi.input_type +class BotTextInputSpecificationArgs: + def __init__(__self__, *, + start_timeout_ms: pulumi.Input[int]): + """ + Specifies the text input specifications. + :param pulumi.Input[int] start_timeout_ms: Time for which a bot waits before re-prompting a customer for text input. + """ + pulumi.set(__self__, "start_timeout_ms", start_timeout_ms) + + @property + @pulumi.getter(name="startTimeoutMs") + def start_timeout_ms(self) -> pulumi.Input[int]: + """ + Time for which a bot waits before re-prompting a customer for text input. + """ + return pulumi.get(self, "start_timeout_ms") + + @start_timeout_ms.setter + def start_timeout_ms(self, value: pulumi.Input[int]): + pulumi.set(self, "start_timeout_ms", value) + + @pulumi.input_type class BotTextLogDestinationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/lex/outputs.py b/sdk/python/pulumi_aws_native/lex/outputs.py index dfa4c26964..ab9273e3fd 100644 --- a/sdk/python/pulumi_aws_native/lex/outputs.py +++ b/sdk/python/pulumi_aws_native/lex/outputs.py @@ -25,8 +25,11 @@ 'BotAliasTag', 'BotAliasTextLogDestination', 'BotAliasTextLogSetting', + 'BotAllowedInputTypes', + 'BotAudioAndDtmfInputSpecification', 'BotAudioLogDestination', 'BotAudioLogSetting', + 'BotAudioSpecification', 'BotButton', 'BotCloudWatchLogGroupLogDestination', 'BotCondition', @@ -41,6 +44,7 @@ 'BotDialogCodeHookInvocationSetting', 'BotDialogCodeHookSetting', 'BotDialogState', + 'BotDtmfSpecification', 'BotElicitationCodeHookInvocationSetting', 'BotExternalSourceSetting', 'BotFulfillmentCodeHookSetting', @@ -66,6 +70,7 @@ 'BotPlainTextMessage', 'BotPostDialogCodeHookInvocationSpecification', 'BotPostFulfillmentStatusSpecification', + 'BotPromptAttemptSpecification', 'BotPromptSpecification', 'BotResponseSpecification', 'BotS3BucketLogDestination', @@ -91,6 +96,7 @@ 'BotTag', 'BotTestBotAliasSettings', 'BotTestBotAliasSettingsSentimentAnalysisSettingsProperties', + 'BotTextInputSpecification', 'BotTextLogDestination', 'BotTextLogSetting', 'BotVersionLocaleDetails', @@ -633,6 +639,117 @@ def enabled(self) -> bool: return pulumi.get(self, "enabled") +@pulumi.output_type +class BotAllowedInputTypes(dict): + """ + Specifies the allowed input types. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allowAudioInput": + suggest = "allow_audio_input" + elif key == "allowDtmfInput": + suggest = "allow_dtmf_input" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BotAllowedInputTypes. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BotAllowedInputTypes.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BotAllowedInputTypes.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allow_audio_input: bool, + allow_dtmf_input: bool): + """ + Specifies the allowed input types. + :param bool allow_audio_input: Indicates whether audio input is allowed. + :param bool allow_dtmf_input: Indicates whether DTMF input is allowed. + """ + pulumi.set(__self__, "allow_audio_input", allow_audio_input) + pulumi.set(__self__, "allow_dtmf_input", allow_dtmf_input) + + @property + @pulumi.getter(name="allowAudioInput") + def allow_audio_input(self) -> bool: + """ + Indicates whether audio input is allowed. + """ + return pulumi.get(self, "allow_audio_input") + + @property + @pulumi.getter(name="allowDtmfInput") + def allow_dtmf_input(self) -> bool: + """ + Indicates whether DTMF input is allowed. + """ + return pulumi.get(self, "allow_dtmf_input") + + +@pulumi.output_type +class BotAudioAndDtmfInputSpecification(dict): + """ + Specifies the audio and DTMF input specification. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "startTimeoutMs": + suggest = "start_timeout_ms" + elif key == "audioSpecification": + suggest = "audio_specification" + elif key == "dtmfSpecification": + suggest = "dtmf_specification" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BotAudioAndDtmfInputSpecification. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BotAudioAndDtmfInputSpecification.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BotAudioAndDtmfInputSpecification.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + start_timeout_ms: int, + audio_specification: Optional['outputs.BotAudioSpecification'] = None, + dtmf_specification: Optional['outputs.BotDtmfSpecification'] = None): + """ + Specifies the audio and DTMF input specification. + :param int start_timeout_ms: 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. + """ + pulumi.set(__self__, "start_timeout_ms", start_timeout_ms) + if audio_specification is not None: + pulumi.set(__self__, "audio_specification", audio_specification) + if dtmf_specification is not None: + pulumi.set(__self__, "dtmf_specification", dtmf_specification) + + @property + @pulumi.getter(name="startTimeoutMs") + def start_timeout_ms(self) -> 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. + """ + return pulumi.get(self, "start_timeout_ms") + + @property + @pulumi.getter(name="audioSpecification") + def audio_specification(self) -> Optional['outputs.BotAudioSpecification']: + return pulumi.get(self, "audio_specification") + + @property + @pulumi.getter(name="dtmfSpecification") + def dtmf_specification(self) -> Optional['outputs.BotDtmfSpecification']: + return pulumi.get(self, "dtmf_specification") + + @pulumi.output_type class BotAudioLogDestination(dict): """ @@ -693,6 +810,58 @@ def enabled(self) -> bool: return pulumi.get(self, "enabled") +@pulumi.output_type +class BotAudioSpecification(dict): + """ + Specifies the audio input specifications. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "endTimeoutMs": + suggest = "end_timeout_ms" + elif key == "maxLengthMs": + suggest = "max_length_ms" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BotAudioSpecification. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BotAudioSpecification.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BotAudioSpecification.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + end_timeout_ms: int, + max_length_ms: int): + """ + Specifies the audio input specifications. + :param int end_timeout_ms: Time for which a bot waits after the customer stops speaking to assume the utterance is finished. + :param int max_length_ms: Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. + """ + pulumi.set(__self__, "end_timeout_ms", end_timeout_ms) + pulumi.set(__self__, "max_length_ms", max_length_ms) + + @property + @pulumi.getter(name="endTimeoutMs") + def end_timeout_ms(self) -> int: + """ + Time for which a bot waits after the customer stops speaking to assume the utterance is finished. + """ + return pulumi.get(self, "end_timeout_ms") + + @property + @pulumi.getter(name="maxLengthMs") + def max_length_ms(self) -> int: + """ + Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. + """ + return pulumi.get(self, "max_length_ms") + + @pulumi.output_type class BotButton(dict): """ @@ -1397,6 +1566,84 @@ def session_attributes(self) -> Optional[Sequence['outputs.BotSessionAttribute'] return pulumi.get(self, "session_attributes") +@pulumi.output_type +class BotDtmfSpecification(dict): + """ + Specifies the settings on DTMF input. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "deletionCharacter": + suggest = "deletion_character" + elif key == "endCharacter": + suggest = "end_character" + elif key == "endTimeoutMs": + suggest = "end_timeout_ms" + elif key == "maxLength": + suggest = "max_length" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BotDtmfSpecification. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BotDtmfSpecification.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BotDtmfSpecification.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + deletion_character: str, + end_character: str, + end_timeout_ms: int, + max_length: int): + """ + Specifies the settings on DTMF input. + :param str deletion_character: The DTMF character that clears the accumulated DTMF digits and immediately ends the input. + :param str end_character: The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. + :param int end_timeout_ms: How long the bot should wait after the last DTMF character input before assuming that the input has concluded. + :param int max_length: The maximum number of DTMF digits allowed in an utterance. + """ + pulumi.set(__self__, "deletion_character", deletion_character) + pulumi.set(__self__, "end_character", end_character) + pulumi.set(__self__, "end_timeout_ms", end_timeout_ms) + pulumi.set(__self__, "max_length", max_length) + + @property + @pulumi.getter(name="deletionCharacter") + def deletion_character(self) -> str: + """ + The DTMF character that clears the accumulated DTMF digits and immediately ends the input. + """ + return pulumi.get(self, "deletion_character") + + @property + @pulumi.getter(name="endCharacter") + def end_character(self) -> str: + """ + The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. + """ + return pulumi.get(self, "end_character") + + @property + @pulumi.getter(name="endTimeoutMs") + def end_timeout_ms(self) -> int: + """ + How long the bot should wait after the last DTMF character input before assuming that the input has concluded. + """ + return pulumi.get(self, "end_timeout_ms") + + @property + @pulumi.getter(name="maxLength") + def max_length(self) -> int: + """ + The maximum number of DTMF digits allowed in an utterance. + """ + return pulumi.get(self, "max_length") + + @pulumi.output_type class BotElicitationCodeHookInvocationSetting(dict): """ @@ -3216,6 +3463,75 @@ def timeout_response(self) -> Optional['outputs.BotResponseSpecification']: return pulumi.get(self, "timeout_response") +@pulumi.output_type +class BotPromptAttemptSpecification(dict): + """ + Specifies the settings on a prompt attempt. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allowedInputTypes": + suggest = "allowed_input_types" + elif key == "allowInterrupt": + suggest = "allow_interrupt" + elif key == "audioAndDtmfInputSpecification": + suggest = "audio_and_dtmf_input_specification" + elif key == "textInputSpecification": + suggest = "text_input_specification" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BotPromptAttemptSpecification. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BotPromptAttemptSpecification.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BotPromptAttemptSpecification.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allowed_input_types: 'outputs.BotAllowedInputTypes', + allow_interrupt: Optional[bool] = None, + audio_and_dtmf_input_specification: Optional['outputs.BotAudioAndDtmfInputSpecification'] = None, + text_input_specification: Optional['outputs.BotTextInputSpecification'] = None): + """ + Specifies the settings on a prompt attempt. + :param bool allow_interrupt: Indicates whether the user can interrupt a speech prompt attempt from the bot. + """ + pulumi.set(__self__, "allowed_input_types", allowed_input_types) + if allow_interrupt is not None: + pulumi.set(__self__, "allow_interrupt", allow_interrupt) + if audio_and_dtmf_input_specification is not None: + pulumi.set(__self__, "audio_and_dtmf_input_specification", audio_and_dtmf_input_specification) + if text_input_specification is not None: + pulumi.set(__self__, "text_input_specification", text_input_specification) + + @property + @pulumi.getter(name="allowedInputTypes") + def allowed_input_types(self) -> 'outputs.BotAllowedInputTypes': + return pulumi.get(self, "allowed_input_types") + + @property + @pulumi.getter(name="allowInterrupt") + def allow_interrupt(self) -> Optional[bool]: + """ + Indicates whether the user can interrupt a speech prompt attempt from the bot. + """ + return pulumi.get(self, "allow_interrupt") + + @property + @pulumi.getter(name="audioAndDtmfInputSpecification") + def audio_and_dtmf_input_specification(self) -> Optional['outputs.BotAudioAndDtmfInputSpecification']: + return pulumi.get(self, "audio_and_dtmf_input_specification") + + @property + @pulumi.getter(name="textInputSpecification") + def text_input_specification(self) -> Optional['outputs.BotTextInputSpecification']: + return pulumi.get(self, "text_input_specification") + + @pulumi.output_type class BotPromptSpecification(dict): """ @@ -3251,11 +3567,11 @@ def __init__(__self__, *, message_groups_list: Sequence['outputs.BotMessageGroup'], allow_interrupt: Optional[bool] = None, message_selection_strategy: Optional['BotMessageSelectionStrategy'] = None, - prompt_attempts_specification: Optional[Any] = None): + prompt_attempts_specification: Optional[Mapping[str, 'outputs.BotPromptAttemptSpecification']] = None): """ Prompts the user to confirm the intent. :param bool allow_interrupt: Indicates whether the user can interrupt a speech prompt from the bot. - :param Any prompt_attempts_specification: Specifies the advanced settings on each attempt of the prompt. + :param Mapping[str, 'BotPromptAttemptSpecification'] prompt_attempts_specification: Specifies the advanced settings on each attempt of the prompt. """ pulumi.set(__self__, "max_retries", max_retries) pulumi.set(__self__, "message_groups_list", message_groups_list) @@ -3291,7 +3607,7 @@ def message_selection_strategy(self) -> Optional['BotMessageSelectionStrategy']: @property @pulumi.getter(name="promptAttemptsSpecification") - def prompt_attempts_specification(self) -> Optional[Any]: + def prompt_attempts_specification(self) -> Optional[Mapping[str, 'outputs.BotPromptAttemptSpecification']]: """ Specifies the advanced settings on each attempt of the prompt. """ @@ -4558,6 +4874,45 @@ def detect_sentiment(self) -> bool: return pulumi.get(self, "detect_sentiment") +@pulumi.output_type +class BotTextInputSpecification(dict): + """ + Specifies the text input specifications. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "startTimeoutMs": + suggest = "start_timeout_ms" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in BotTextInputSpecification. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + BotTextInputSpecification.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + BotTextInputSpecification.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + start_timeout_ms: int): + """ + Specifies the text input specifications. + :param int start_timeout_ms: Time for which a bot waits before re-prompting a customer for text input. + """ + pulumi.set(__self__, "start_timeout_ms", start_timeout_ms) + + @property + @pulumi.getter(name="startTimeoutMs") + def start_timeout_ms(self) -> int: + """ + Time for which a bot waits before re-prompting a customer for text input. + """ + return pulumi.get(self, "start_timeout_ms") + + @pulumi.output_type class BotTextLogDestination(dict): """ diff --git a/sdk/python/pulumi_aws_native/msk/cluster.py b/sdk/python/pulumi_aws_native/msk/cluster.py index f89bba323a..32b70a6856 100644 --- a/sdk/python/pulumi_aws_native/msk/cluster.py +++ b/sdk/python/pulumi_aws_native/msk/cluster.py @@ -29,11 +29,11 @@ def __init__(__self__, *, logging_info: Optional[pulumi.Input['ClusterLoggingInfoArgs']] = None, open_monitoring: Optional[pulumi.Input['ClusterOpenMonitoringArgs']] = None, storage_mode: Optional[pulumi.Input['ClusterStorageMode']] = None, - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a Cluster resource. :param pulumi.Input[str] current_version: The current version of the MSK cluster - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ pulumi.set(__self__, "broker_node_group_info", broker_node_group_info) pulumi.set(__self__, "kafka_version", kafka_version) @@ -172,14 +172,14 @@ def storage_mode(self, value: Optional[pulumi.Input['ClusterStorageMode']]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A key-value pair to associate with a resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -200,7 +200,7 @@ def __init__(__self__, number_of_broker_nodes: Optional[pulumi.Input[int]] = None, open_monitoring: Optional[pulumi.Input[pulumi.InputType['ClusterOpenMonitoringArgs']]] = None, storage_mode: Optional[pulumi.Input['ClusterStorageMode']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): """ Resource Type definition for AWS::MSK::Cluster @@ -208,7 +208,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] current_version: The current version of the MSK cluster - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ ... @overload @@ -246,7 +246,7 @@ def _internal_init(__self__, number_of_broker_nodes: Optional[pulumi.Input[int]] = None, open_monitoring: Optional[pulumi.Input[pulumi.InputType['ClusterOpenMonitoringArgs']]] = None, storage_mode: Optional[pulumi.Input['ClusterStorageMode']] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -386,7 +386,7 @@ def storage_mode(self) -> pulumi.Output[Optional['ClusterStorageMode']]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A key-value pair to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/msk/get_cluster.py b/sdk/python/pulumi_aws_native/msk/get_cluster.py index b68517f730..f8007a6ae2 100644 --- a/sdk/python/pulumi_aws_native/msk/get_cluster.py +++ b/sdk/python/pulumi_aws_native/msk/get_cluster.py @@ -126,7 +126,7 @@ def storage_mode(self) -> Optional['ClusterStorageMode']: @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[Mapping[str, str]]: """ A key-value pair to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/msk/serverless_cluster.py b/sdk/python/pulumi_aws_native/msk/serverless_cluster.py index 7caf5c5657..8f13adb874 100644 --- a/sdk/python/pulumi_aws_native/msk/serverless_cluster.py +++ b/sdk/python/pulumi_aws_native/msk/serverless_cluster.py @@ -19,10 +19,10 @@ def __init__(__self__, *, client_authentication: pulumi.Input['ServerlessClusterClientAuthenticationArgs'], cluster_name: pulumi.Input[str], vpc_configs: pulumi.Input[Sequence[pulumi.Input['ServerlessClusterVpcConfigArgs']]], - tags: Optional[Any] = None): + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a ServerlessCluster resource. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ pulumi.set(__self__, "client_authentication", client_authentication) pulumi.set(__self__, "cluster_name", cluster_name) @@ -59,14 +59,14 @@ def vpc_configs(self, value: pulumi.Input[Sequence[pulumi.Input['ServerlessClust @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A key-value pair to associate with a resource. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @@ -77,7 +77,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, client_authentication: Optional[pulumi.Input[pulumi.InputType['ServerlessClusterClientAuthenticationArgs']]] = None, cluster_name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, vpc_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServerlessClusterVpcConfigArgs']]]]] = None, __props__=None): """ @@ -85,7 +85,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param Any tags: A key-value pair to associate with a resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A key-value pair to associate with a resource. """ ... @overload @@ -113,7 +113,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, client_authentication: Optional[pulumi.Input[pulumi.InputType['ServerlessClusterClientAuthenticationArgs']]] = None, cluster_name: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, vpc_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServerlessClusterVpcConfigArgs']]]]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -135,7 +135,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'vpc_configs'") __props__.__dict__["vpc_configs"] = vpc_configs __props__.__dict__["arn"] = None - replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["client_authentication", "cluster_name", "tags", "vpc_configs[*]"]) + replace_on_changes = pulumi.ResourceOptions(replace_on_changes=["client_authentication", "cluster_name", "tags.*", "vpc_configs[*]"]) opts = pulumi.ResourceOptions.merge(opts, replace_on_changes) super(ServerlessCluster, __self__).__init__( 'aws-native:msk:ServerlessCluster', @@ -183,7 +183,7 @@ def cluster_name(self) -> pulumi.Output[str]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A key-value pair to associate with a resource. """ diff --git a/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py b/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py index 6af14c8a41..1e33840389 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py @@ -32,8 +32,11 @@ 'RuleGroupCustomActionArgs', 'RuleGroupDimensionArgs', 'RuleGroupHeaderArgs', + 'RuleGroupIpSetReferenceArgs', + 'RuleGroupIpSetArgs', 'RuleGroupMatchAttributesArgs', 'RuleGroupPortRangeArgs', + 'RuleGroupPortSetArgs', 'RuleGroupPublishMetricActionArgs', 'RuleGroupReferenceSetsArgs', 'RuleGroupRuleDefinitionArgs', @@ -476,11 +479,11 @@ def value(self, value: pulumi.Input[str]): @pulumi.input_type class LoggingConfigurationLogDestinationConfigArgs: def __init__(__self__, *, - log_destination: Any, + log_destination: pulumi.Input[Mapping[str, pulumi.Input[str]]], log_destination_type: pulumi.Input['LoggingConfigurationLogDestinationConfigLogDestinationType'], log_type: pulumi.Input['LoggingConfigurationLogDestinationConfigLogType']): """ - :param Any log_destination: A key-value pair to configure the logDestinations. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] log_destination: A key-value pair to configure the logDestinations. """ pulumi.set(__self__, "log_destination", log_destination) pulumi.set(__self__, "log_destination_type", log_destination_type) @@ -488,14 +491,14 @@ def __init__(__self__, *, @property @pulumi.getter(name="logDestination") - def log_destination(self) -> Any: + def log_destination(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: """ A key-value pair to configure the logDestinations. """ return pulumi.get(self, "log_destination") @log_destination.setter - def log_destination(self, value: Any): + def log_destination(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): pulumi.set(self, "log_destination", value) @property @@ -680,6 +683,40 @@ def source_port(self, value: pulumi.Input[str]): pulumi.set(self, "source_port", value) +@pulumi.input_type +class RuleGroupIpSetReferenceArgs: + def __init__(__self__, *, + reference_arn: Optional[pulumi.Input[str]] = None): + if reference_arn is not None: + pulumi.set(__self__, "reference_arn", reference_arn) + + @property + @pulumi.getter(name="referenceArn") + def reference_arn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "reference_arn") + + @reference_arn.setter + def reference_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "reference_arn", value) + + +@pulumi.input_type +class RuleGroupIpSetArgs: + def __init__(__self__, *, + definition: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if definition is not None: + pulumi.set(__self__, "definition", definition) + + @property + @pulumi.getter + def definition(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "definition") + + @definition.setter + def definition(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "definition", value) + + @pulumi.input_type class RuleGroupMatchAttributesArgs: def __init__(__self__, *, @@ -784,6 +821,23 @@ def to_port(self, value: pulumi.Input[int]): pulumi.set(self, "to_port", value) +@pulumi.input_type +class RuleGroupPortSetArgs: + def __init__(__self__, *, + definition: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + if definition is not None: + pulumi.set(__self__, "definition", definition) + + @property + @pulumi.getter + def definition(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "definition") + + @definition.setter + def definition(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "definition", value) + + @pulumi.input_type class RuleGroupPublishMetricActionArgs: def __init__(__self__, *, @@ -803,17 +857,17 @@ def dimensions(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGroupDimensi @pulumi.input_type class RuleGroupReferenceSetsArgs: def __init__(__self__, *, - ip_set_references: Optional[Any] = None): + ip_set_references: Optional[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupIpSetReferenceArgs']]]] = None): if ip_set_references is not None: pulumi.set(__self__, "ip_set_references", ip_set_references) @property @pulumi.getter(name="ipSetReferences") - def ip_set_references(self) -> Optional[Any]: + def ip_set_references(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupIpSetReferenceArgs']]]]: return pulumi.get(self, "ip_set_references") @ip_set_references.setter - def ip_set_references(self, value: Optional[Any]): + def ip_set_references(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupIpSetReferenceArgs']]]]): pulumi.set(self, "ip_set_references", value) @@ -875,8 +929,8 @@ def settings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.input_type class RuleGroupRuleVariablesArgs: def __init__(__self__, *, - ip_sets: Optional[Any] = None, - port_sets: Optional[Any] = None): + ip_sets: Optional[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupIpSetArgs']]]] = None, + port_sets: Optional[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupPortSetArgs']]]] = None): if ip_sets is not None: pulumi.set(__self__, "ip_sets", ip_sets) if port_sets is not None: @@ -884,20 +938,20 @@ def __init__(__self__, *, @property @pulumi.getter(name="ipSets") - def ip_sets(self) -> Optional[Any]: + def ip_sets(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupIpSetArgs']]]]: return pulumi.get(self, "ip_sets") @ip_sets.setter - def ip_sets(self, value: Optional[Any]): + def ip_sets(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupIpSetArgs']]]]): pulumi.set(self, "ip_sets", value) @property @pulumi.getter(name="portSets") - def port_sets(self) -> Optional[Any]: + def port_sets(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupPortSetArgs']]]]: return pulumi.get(self, "port_sets") @port_sets.setter - def port_sets(self, value: Optional[Any]): + def port_sets(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupPortSetArgs']]]]): pulumi.set(self, "port_sets", value) diff --git a/sdk/python/pulumi_aws_native/networkfirewall/outputs.py b/sdk/python/pulumi_aws_native/networkfirewall/outputs.py index 3a80db61f7..249106c42d 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/outputs.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/outputs.py @@ -34,8 +34,11 @@ 'RuleGroupCustomAction', 'RuleGroupDimension', 'RuleGroupHeader', + 'RuleGroupIpSet', + 'RuleGroupIpSetReference', 'RuleGroupMatchAttributes', 'RuleGroupPortRange', + 'RuleGroupPortSet', 'RuleGroupPublishMetricAction', 'RuleGroupReferenceSets', 'RuleGroupRuleDefinition', @@ -569,11 +572,11 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - log_destination: Any, + log_destination: Mapping[str, str], log_destination_type: 'LoggingConfigurationLogDestinationConfigLogDestinationType', log_type: 'LoggingConfigurationLogDestinationConfigLogType'): """ - :param Any log_destination: A key-value pair to configure the logDestinations. + :param Mapping[str, str] log_destination: A key-value pair to configure the logDestinations. """ pulumi.set(__self__, "log_destination", log_destination) pulumi.set(__self__, "log_destination_type", log_destination_type) @@ -581,7 +584,7 @@ def __init__(__self__, *, @property @pulumi.getter(name="logDestination") - def log_destination(self) -> Any: + def log_destination(self) -> Mapping[str, str]: """ A key-value pair to configure the logDestinations. """ @@ -832,6 +835,49 @@ def source_port(self) -> str: return pulumi.get(self, "source_port") +@pulumi.output_type +class RuleGroupIpSet(dict): + def __init__(__self__, *, + definition: Optional[Sequence[str]] = None): + if definition is not None: + pulumi.set(__self__, "definition", definition) + + @property + @pulumi.getter + def definition(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "definition") + + +@pulumi.output_type +class RuleGroupIpSetReference(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "referenceArn": + suggest = "reference_arn" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RuleGroupIpSetReference. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RuleGroupIpSetReference.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RuleGroupIpSetReference.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + reference_arn: Optional[str] = None): + if reference_arn is not None: + pulumi.set(__self__, "reference_arn", reference_arn) + + @property + @pulumi.getter(name="referenceArn") + def reference_arn(self) -> Optional[str]: + return pulumi.get(self, "reference_arn") + + @pulumi.output_type class RuleGroupMatchAttributes(dict): @staticmethod @@ -944,6 +990,19 @@ def to_port(self) -> int: return pulumi.get(self, "to_port") +@pulumi.output_type +class RuleGroupPortSet(dict): + def __init__(__self__, *, + definition: Optional[Sequence[str]] = None): + if definition is not None: + pulumi.set(__self__, "definition", definition) + + @property + @pulumi.getter + def definition(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "definition") + + @pulumi.output_type class RuleGroupPublishMetricAction(dict): def __init__(__self__, *, @@ -976,13 +1035,13 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - ip_set_references: Optional[Any] = None): + ip_set_references: Optional[Mapping[str, 'outputs.RuleGroupIpSetReference']] = None): if ip_set_references is not None: pulumi.set(__self__, "ip_set_references", ip_set_references) @property @pulumi.getter(name="ipSetReferences") - def ip_set_references(self) -> Optional[Any]: + def ip_set_references(self) -> Optional[Mapping[str, 'outputs.RuleGroupIpSetReference']]: return pulumi.get(self, "ip_set_references") @@ -1064,8 +1123,8 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - ip_sets: Optional[Any] = None, - port_sets: Optional[Any] = None): + ip_sets: Optional[Mapping[str, 'outputs.RuleGroupIpSet']] = None, + port_sets: Optional[Mapping[str, 'outputs.RuleGroupPortSet']] = None): if ip_sets is not None: pulumi.set(__self__, "ip_sets", ip_sets) if port_sets is not None: @@ -1073,12 +1132,12 @@ def __init__(__self__, *, @property @pulumi.getter(name="ipSets") - def ip_sets(self) -> Optional[Any]: + def ip_sets(self) -> Optional[Mapping[str, 'outputs.RuleGroupIpSet']]: return pulumi.get(self, "ip_sets") @property @pulumi.getter(name="portSets") - def port_sets(self) -> Optional[Any]: + def port_sets(self) -> Optional[Mapping[str, 'outputs.RuleGroupPortSet']]: return pulumi.get(self, "port_sets") diff --git a/sdk/python/pulumi_aws_native/opensearchservice/_inputs.py b/sdk/python/pulumi_aws_native/opensearchservice/_inputs.py index 478f1e66fe..7efdfd108c 100644 --- a/sdk/python/pulumi_aws_native/opensearchservice/_inputs.py +++ b/sdk/python/pulumi_aws_native/opensearchservice/_inputs.py @@ -18,6 +18,7 @@ 'DomainEncryptionAtRestOptionsArgs', 'DomainEndpointOptionsArgs', 'DomainIdpArgs', + 'DomainLogPublishingOptionArgs', 'DomainMasterUserOptionsArgs', 'DomainNodeToNodeEncryptionOptionsArgs', 'DomainOffPeakWindowOptionsArgs', @@ -513,6 +514,35 @@ def metadata_content(self, value: pulumi.Input[str]): pulumi.set(self, "metadata_content", value) +@pulumi.input_type +class DomainLogPublishingOptionArgs: + def __init__(__self__, *, + cloud_watch_logs_log_group_arn: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None): + if cloud_watch_logs_log_group_arn is not None: + pulumi.set(__self__, "cloud_watch_logs_log_group_arn", cloud_watch_logs_log_group_arn) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter(name="cloudWatchLogsLogGroupArn") + def cloud_watch_logs_log_group_arn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "cloud_watch_logs_log_group_arn") + + @cloud_watch_logs_log_group_arn.setter + def cloud_watch_logs_log_group_arn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cloud_watch_logs_log_group_arn", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @pulumi.input_type class DomainMasterUserOptionsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/opensearchservice/domain.py b/sdk/python/pulumi_aws_native/opensearchservice/domain.py index 0938ab85ef..b6a743df40 100644 --- a/sdk/python/pulumi_aws_native/opensearchservice/domain.py +++ b/sdk/python/pulumi_aws_native/opensearchservice/domain.py @@ -17,7 +17,7 @@ class DomainArgs: def __init__(__self__, *, access_policies: Optional[Any] = None, - advanced_options: Optional[Any] = None, + advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, advanced_security_options: Optional[pulumi.Input['DomainAdvancedSecurityOptionsInputArgs']] = None, cluster_config: Optional[pulumi.Input['DomainClusterConfigArgs']] = None, cognito_options: Optional[pulumi.Input['DomainCognitoOptionsArgs']] = None, @@ -27,7 +27,7 @@ def __init__(__self__, *, encryption_at_rest_options: Optional[pulumi.Input['DomainEncryptionAtRestOptionsArgs']] = None, engine_version: Optional[pulumi.Input[str]] = None, ip_address_type: Optional[pulumi.Input[str]] = None, - log_publishing_options: Optional[Any] = None, + log_publishing_options: Optional[pulumi.Input[Mapping[str, pulumi.Input['DomainLogPublishingOptionArgs']]]] = None, node_to_node_encryption_options: Optional[pulumi.Input['DomainNodeToNodeEncryptionOptionsArgs']] = None, off_peak_window_options: Optional[pulumi.Input['DomainOffPeakWindowOptionsArgs']] = None, snapshot_options: Optional[pulumi.Input['DomainSnapshotOptionsArgs']] = None, @@ -86,11 +86,11 @@ def access_policies(self, value: Optional[Any]): @property @pulumi.getter(name="advancedOptions") - def advanced_options(self) -> Optional[Any]: + def advanced_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "advanced_options") @advanced_options.setter - def advanced_options(self, value: Optional[Any]): + def advanced_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "advanced_options", value) @property @@ -176,11 +176,11 @@ def ip_address_type(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="logPublishingOptions") - def log_publishing_options(self) -> Optional[Any]: + def log_publishing_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input['DomainLogPublishingOptionArgs']]]]: return pulumi.get(self, "log_publishing_options") @log_publishing_options.setter - def log_publishing_options(self, value: Optional[Any]): + def log_publishing_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['DomainLogPublishingOptionArgs']]]]): pulumi.set(self, "log_publishing_options", value) @property @@ -247,7 +247,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, access_policies: Optional[Any] = None, - advanced_options: Optional[Any] = None, + advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, advanced_security_options: Optional[pulumi.Input[pulumi.InputType['DomainAdvancedSecurityOptionsInputArgs']]] = None, cluster_config: Optional[pulumi.Input[pulumi.InputType['DomainClusterConfigArgs']]] = None, cognito_options: Optional[pulumi.Input[pulumi.InputType['DomainCognitoOptionsArgs']]] = None, @@ -257,7 +257,7 @@ def __init__(__self__, encryption_at_rest_options: Optional[pulumi.Input[pulumi.InputType['DomainEncryptionAtRestOptionsArgs']]] = None, engine_version: Optional[pulumi.Input[str]] = None, ip_address_type: Optional[pulumi.Input[str]] = None, - log_publishing_options: Optional[Any] = None, + log_publishing_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['DomainLogPublishingOptionArgs']]]]] = None, node_to_node_encryption_options: Optional[pulumi.Input[pulumi.InputType['DomainNodeToNodeEncryptionOptionsArgs']]] = None, off_peak_window_options: Optional[pulumi.Input[pulumi.InputType['DomainOffPeakWindowOptionsArgs']]] = None, snapshot_options: Optional[pulumi.Input[pulumi.InputType['DomainSnapshotOptionsArgs']]] = None, @@ -297,7 +297,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, access_policies: Optional[Any] = None, - advanced_options: Optional[Any] = None, + advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, advanced_security_options: Optional[pulumi.Input[pulumi.InputType['DomainAdvancedSecurityOptionsInputArgs']]] = None, cluster_config: Optional[pulumi.Input[pulumi.InputType['DomainClusterConfigArgs']]] = None, cognito_options: Optional[pulumi.Input[pulumi.InputType['DomainCognitoOptionsArgs']]] = None, @@ -307,7 +307,7 @@ def _internal_init(__self__, encryption_at_rest_options: Optional[pulumi.Input[pulumi.InputType['DomainEncryptionAtRestOptionsArgs']]] = None, engine_version: Optional[pulumi.Input[str]] = None, ip_address_type: Optional[pulumi.Input[str]] = None, - log_publishing_options: Optional[Any] = None, + log_publishing_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[pulumi.InputType['DomainLogPublishingOptionArgs']]]]] = None, node_to_node_encryption_options: Optional[pulumi.Input[pulumi.InputType['DomainNodeToNodeEncryptionOptionsArgs']]] = None, off_peak_window_options: Optional[pulumi.Input[pulumi.InputType['DomainOffPeakWindowOptionsArgs']]] = None, snapshot_options: Optional[pulumi.Input[pulumi.InputType['DomainSnapshotOptionsArgs']]] = None, @@ -404,7 +404,7 @@ def access_policies(self) -> pulumi.Output[Optional[Any]]: @property @pulumi.getter(name="advancedOptions") - def advanced_options(self) -> pulumi.Output[Optional[Any]]: + def advanced_options(self) -> pulumi.Output[Optional[Mapping[str, str]]]: return pulumi.get(self, "advanced_options") @property @@ -449,7 +449,7 @@ def domain_endpoint_v2(self) -> pulumi.Output[str]: @property @pulumi.getter(name="domainEndpoints") - def domain_endpoints(self) -> pulumi.Output[Any]: + def domain_endpoints(self) -> pulumi.Output[Mapping[str, str]]: return pulumi.get(self, "domain_endpoints") @property @@ -479,7 +479,7 @@ def ip_address_type(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="logPublishingOptions") - def log_publishing_options(self) -> pulumi.Output[Optional[Any]]: + def log_publishing_options(self) -> pulumi.Output[Optional[Mapping[str, 'outputs.DomainLogPublishingOption']]]: return pulumi.get(self, "log_publishing_options") @property diff --git a/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py b/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py index d41243100c..2e35a4919b 100644 --- a/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py +++ b/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py @@ -100,7 +100,7 @@ def access_policies(self) -> Optional[Any]: @property @pulumi.getter(name="advancedOptions") - def advanced_options(self) -> Optional[Any]: + def advanced_options(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "advanced_options") @property @@ -145,7 +145,7 @@ def domain_endpoint_v2(self) -> Optional[str]: @property @pulumi.getter(name="domainEndpoints") - def domain_endpoints(self) -> Optional[Any]: + def domain_endpoints(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "domain_endpoints") @property @@ -175,7 +175,7 @@ def ip_address_type(self) -> Optional[str]: @property @pulumi.getter(name="logPublishingOptions") - def log_publishing_options(self) -> Optional[Any]: + def log_publishing_options(self) -> Optional[Mapping[str, 'outputs.DomainLogPublishingOption']]: return pulumi.get(self, "log_publishing_options") @property diff --git a/sdk/python/pulumi_aws_native/opensearchservice/outputs.py b/sdk/python/pulumi_aws_native/opensearchservice/outputs.py index b1a458d1c7..f19ccb9ddd 100644 --- a/sdk/python/pulumi_aws_native/opensearchservice/outputs.py +++ b/sdk/python/pulumi_aws_native/opensearchservice/outputs.py @@ -19,6 +19,7 @@ 'DomainEncryptionAtRestOptions', 'DomainEndpointOptions', 'DomainIdp', + 'DomainLogPublishingOption', 'DomainMasterUserOptions', 'DomainNodeToNodeEncryptionOptions', 'DomainOffPeakWindow', @@ -534,6 +535,44 @@ def metadata_content(self) -> str: return pulumi.get(self, "metadata_content") +@pulumi.output_type +class DomainLogPublishingOption(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "cloudWatchLogsLogGroupArn": + suggest = "cloud_watch_logs_log_group_arn" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DomainLogPublishingOption. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DomainLogPublishingOption.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DomainLogPublishingOption.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cloud_watch_logs_log_group_arn: Optional[str] = None, + enabled: Optional[bool] = None): + if cloud_watch_logs_log_group_arn is not None: + pulumi.set(__self__, "cloud_watch_logs_log_group_arn", cloud_watch_logs_log_group_arn) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter(name="cloudWatchLogsLogGroupArn") + def cloud_watch_logs_log_group_arn(self) -> Optional[str]: + return pulumi.get(self, "cloud_watch_logs_log_group_arn") + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + return pulumi.get(self, "enabled") + + @pulumi.output_type class DomainMasterUserOptions(dict): @staticmethod diff --git a/sdk/python/pulumi_aws_native/personalize/_inputs.py b/sdk/python/pulumi_aws_native/personalize/_inputs.py index 3775a97d03..78f55a58e0 100644 --- a/sdk/python/pulumi_aws_native/personalize/_inputs.py +++ b/sdk/python/pulumi_aws_native/personalize/_inputs.py @@ -427,17 +427,17 @@ def hpo_resource_config(self, value: Optional[pulumi.Input['SolutionConfigHpoCon @pulumi.input_type class SolutionConfigArgs: def __init__(__self__, *, - algorithm_hyper_parameters: Optional[Any] = None, + algorithm_hyper_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, auto_ml_config: Optional[pulumi.Input['SolutionConfigAutoMlConfigPropertiesArgs']] = None, event_value_threshold: Optional[pulumi.Input[str]] = None, - feature_transformation_parameters: Optional[Any] = None, + feature_transformation_parameters: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, hpo_config: Optional[pulumi.Input['SolutionConfigHpoConfigPropertiesArgs']] = None): """ The configuration to use with the solution. When performAutoML is set to true, Amazon Personalize only evaluates the autoMLConfig section of the solution configuration. - :param Any algorithm_hyper_parameters: Lists the hyperparameter names and ranges. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] algorithm_hyper_parameters: Lists the hyperparameter names and ranges. :param pulumi.Input['SolutionConfigAutoMlConfigPropertiesArgs'] auto_ml_config: The AutoMLConfig object containing a list of recipes to search when AutoML is performed. :param pulumi.Input[str] event_value_threshold: Only events with a value greater than or equal to this threshold are used for training a model. - :param Any feature_transformation_parameters: Lists the feature transformation parameters. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] feature_transformation_parameters: Lists the feature transformation parameters. :param pulumi.Input['SolutionConfigHpoConfigPropertiesArgs'] hpo_config: Describes the properties for hyperparameter optimization (HPO) """ if algorithm_hyper_parameters is not None: @@ -453,14 +453,14 @@ def __init__(__self__, *, @property @pulumi.getter(name="algorithmHyperParameters") - def algorithm_hyper_parameters(self) -> Optional[Any]: + def algorithm_hyper_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Lists the hyperparameter names and ranges. """ return pulumi.get(self, "algorithm_hyper_parameters") @algorithm_hyper_parameters.setter - def algorithm_hyper_parameters(self, value: Optional[Any]): + def algorithm_hyper_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "algorithm_hyper_parameters", value) @property @@ -489,14 +489,14 @@ def event_value_threshold(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="featureTransformationParameters") - def feature_transformation_parameters(self) -> Optional[Any]: + def feature_transformation_parameters(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Lists the feature transformation parameters. """ return pulumi.get(self, "feature_transformation_parameters") @feature_transformation_parameters.setter - def feature_transformation_parameters(self, value: Optional[Any]): + def feature_transformation_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "feature_transformation_parameters", value) @property diff --git a/sdk/python/pulumi_aws_native/personalize/outputs.py b/sdk/python/pulumi_aws_native/personalize/outputs.py index df76b920b2..8dba4d90c5 100644 --- a/sdk/python/pulumi_aws_native/personalize/outputs.py +++ b/sdk/python/pulumi_aws_native/personalize/outputs.py @@ -227,17 +227,17 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - algorithm_hyper_parameters: Optional[Any] = None, + algorithm_hyper_parameters: Optional[Mapping[str, str]] = None, auto_ml_config: Optional['outputs.SolutionConfigAutoMlConfigProperties'] = None, event_value_threshold: Optional[str] = None, - feature_transformation_parameters: Optional[Any] = None, + feature_transformation_parameters: Optional[Mapping[str, str]] = None, hpo_config: Optional['outputs.SolutionConfigHpoConfigProperties'] = None): """ The configuration to use with the solution. When performAutoML is set to true, Amazon Personalize only evaluates the autoMLConfig section of the solution configuration. - :param Any algorithm_hyper_parameters: Lists the hyperparameter names and ranges. + :param Mapping[str, str] algorithm_hyper_parameters: Lists the hyperparameter names and ranges. :param 'SolutionConfigAutoMlConfigProperties' auto_ml_config: The AutoMLConfig object containing a list of recipes to search when AutoML is performed. :param str event_value_threshold: Only events with a value greater than or equal to this threshold are used for training a model. - :param Any feature_transformation_parameters: Lists the feature transformation parameters. + :param Mapping[str, str] feature_transformation_parameters: Lists the feature transformation parameters. :param 'SolutionConfigHpoConfigProperties' hpo_config: Describes the properties for hyperparameter optimization (HPO) """ if algorithm_hyper_parameters is not None: @@ -253,7 +253,7 @@ def __init__(__self__, *, @property @pulumi.getter(name="algorithmHyperParameters") - def algorithm_hyper_parameters(self) -> Optional[Any]: + def algorithm_hyper_parameters(self) -> Optional[Mapping[str, str]]: """ Lists the hyperparameter names and ranges. """ @@ -277,7 +277,7 @@ def event_value_threshold(self) -> Optional[str]: @property @pulumi.getter(name="featureTransformationParameters") - def feature_transformation_parameters(self) -> Optional[Any]: + def feature_transformation_parameters(self) -> Optional[Mapping[str, str]]: """ Lists the feature transformation parameters. """ diff --git a/sdk/python/pulumi_aws_native/sagemaker/_inputs.py b/sdk/python/pulumi_aws_native/sagemaker/_inputs.py index 139025280b..a55ec74fba 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/_inputs.py +++ b/sdk/python/pulumi_aws_native/sagemaker/_inputs.py @@ -5871,11 +5871,11 @@ def subnets(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): class ModelCardAdditionalInformationArgs: def __init__(__self__, *, caveats_and_recommendations: Optional[pulumi.Input[str]] = None, - custom_details: Optional[Any] = None, + custom_details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, ethical_considerations: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] caveats_and_recommendations: Caveats and recommendations for people who might use this model in their applications. - :param Any custom_details: customer details. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_details: customer details. :param pulumi.Input[str] ethical_considerations: Any ethical considerations that the author wants to provide. """ if caveats_and_recommendations is not None: @@ -5899,14 +5899,14 @@ def caveats_and_recommendations(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="customDetails") - def custom_details(self) -> Optional[Any]: + def custom_details(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ customer details. """ return pulumi.get(self, "custom_details") @custom_details.setter - def custom_details(self, value: Optional[Any]): + def custom_details(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "custom_details", value) @property @@ -6205,11 +6205,11 @@ def __init__(__self__, *, datasets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, evaluation_job_arn: Optional[pulumi.Input[str]] = None, evaluation_observation: Optional[pulumi.Input[str]] = None, - metadata: Optional[Any] = None, + metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, metric_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ModelCardMetricGroupArgs']]]] = None): """ item of evaluation details - :param Any metadata: additional attributes associated with the evaluation results. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: additional attributes associated with the evaluation results. """ pulumi.set(__self__, "name", name) if datasets is not None: @@ -6261,14 +6261,14 @@ def evaluation_observation(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def metadata(self) -> Optional[Any]: + def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ additional attributes associated with the evaluation results. """ return pulumi.get(self, "metadata") @metadata.setter - def metadata(self, value: Optional[Any]): + def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "metadata", value) @property diff --git a/sdk/python/pulumi_aws_native/sagemaker/outputs.py b/sdk/python/pulumi_aws_native/sagemaker/outputs.py index a9fbeadcaf..b6a488e7cf 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/outputs.py +++ b/sdk/python/pulumi_aws_native/sagemaker/outputs.py @@ -6876,11 +6876,11 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, caveats_and_recommendations: Optional[str] = None, - custom_details: Optional[Any] = None, + custom_details: Optional[Mapping[str, str]] = None, ethical_considerations: Optional[str] = None): """ :param str caveats_and_recommendations: Caveats and recommendations for people who might use this model in their applications. - :param Any custom_details: customer details. + :param Mapping[str, str] custom_details: customer details. :param str ethical_considerations: Any ethical considerations that the author wants to provide. """ if caveats_and_recommendations is not None: @@ -6900,7 +6900,7 @@ def caveats_and_recommendations(self) -> Optional[str]: @property @pulumi.getter(name="customDetails") - def custom_details(self) -> Optional[Any]: + def custom_details(self) -> Optional[Mapping[str, str]]: """ customer details. """ @@ -7240,11 +7240,11 @@ def __init__(__self__, *, datasets: Optional[Sequence[str]] = None, evaluation_job_arn: Optional[str] = None, evaluation_observation: Optional[str] = None, - metadata: Optional[Any] = None, + metadata: Optional[Mapping[str, str]] = None, metric_groups: Optional[Sequence['outputs.ModelCardMetricGroup']] = None): """ item of evaluation details - :param Any metadata: additional attributes associated with the evaluation results. + :param Mapping[str, str] metadata: additional attributes associated with the evaluation results. """ pulumi.set(__self__, "name", name) if datasets is not None: @@ -7280,7 +7280,7 @@ def evaluation_observation(self) -> Optional[str]: @property @pulumi.getter - def metadata(self) -> Optional[Any]: + def metadata(self) -> Optional[Mapping[str, str]]: """ additional attributes associated with the evaluation results. """ 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 9f98d1aa4e..a37512c9d4 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 @@ -310,7 +310,7 @@ def notification_arns(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter - def outputs(self) -> pulumi.Output[Any]: + def outputs(self) -> pulumi.Output[Mapping[str, str]]: """ List of key-value pair outputs. """ 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 864ed62bd6..72cadd7e90 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 @@ -76,7 +76,7 @@ def cloudformation_stack_arn(self) -> Optional[str]: @property @pulumi.getter - def outputs(self) -> Optional[Any]: + def outputs(self) -> Optional[Mapping[str, str]]: """ List of key-value pair outputs. """ diff --git a/sdk/python/pulumi_aws_native/ssm/parameter.py b/sdk/python/pulumi_aws_native/ssm/parameter.py index 649b457474..6c5003cef8 100644 --- a/sdk/python/pulumi_aws_native/ssm/parameter.py +++ b/sdk/python/pulumi_aws_native/ssm/parameter.py @@ -22,7 +22,7 @@ def __init__(__self__, *, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, policies: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, tier: Optional[pulumi.Input['ParameterTier']] = None): """ The set of arguments for constructing a Parameter resource. @@ -37,7 +37,7 @@ def __init__(__self__, *, 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 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`` :param pulumi.Input[str] policies: Information about the policies assigned to a parameter. [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*. - :param Any tags: Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. :param pulumi.Input['ParameterTier'] tier: The parameter tier. """ pulumi.set(__self__, "type", type) @@ -147,14 +147,14 @@ def policies(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def tags(self) -> Optional[Any]: + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. """ return pulumi.get(self, "tags") @tags.setter - def tags(self, value: Optional[Any]): + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) @property @@ -180,7 +180,7 @@ def __init__(__self__, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, policies: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, tier: Optional[pulumi.Input['ParameterTier']] = None, type: Optional[pulumi.Input['ParameterType']] = None, value: Optional[pulumi.Input[str]] = None, @@ -200,7 +200,7 @@ def __init__(__self__, 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 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`` :param pulumi.Input[str] policies: Information about the policies assigned to a parameter. [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*. - :param Any tags: Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. :param pulumi.Input['ParameterTier'] tier: The parameter tier. :param pulumi.Input['ParameterType'] type: The type of parameter. Although ``SecureString`` is included in the list of valid values, CFNlong does *not* currently support creating a ``SecureString`` parameter type. @@ -239,7 +239,7 @@ def _internal_init(__self__, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, policies: Optional[pulumi.Input[str]] = None, - tags: Optional[Any] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, tier: Optional[pulumi.Input['ParameterTier']] = None, type: Optional[pulumi.Input['ParameterType']] = None, value: Optional[pulumi.Input[str]] = None, @@ -344,7 +344,7 @@ def policies(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter - def tags(self) -> pulumi.Output[Optional[Any]]: + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. """ diff --git a/sdk/python/pulumi_aws_native/synthetics/_inputs.py b/sdk/python/pulumi_aws_native/synthetics/_inputs.py index 1967f1f50e..d64a1efa47 100644 --- a/sdk/python/pulumi_aws_native/synthetics/_inputs.py +++ b/sdk/python/pulumi_aws_native/synthetics/_inputs.py @@ -163,12 +163,12 @@ def source_location_arn(self, value: Optional[pulumi.Input[str]]): class CanaryRunConfigArgs: def __init__(__self__, *, active_tracing: Optional[pulumi.Input[bool]] = None, - environment_variables: Optional[Any] = None, + environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, memory_in_mb: Optional[pulumi.Input[int]] = None, timeout_in_seconds: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[bool] active_tracing: Enable active tracing if set to true - :param Any environment_variables: Environment variable key-value pairs. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: Environment variable key-value pairs. :param pulumi.Input[int] memory_in_mb: Provide maximum memory available for canary in MB :param pulumi.Input[int] timeout_in_seconds: Provide maximum canary timeout per run in seconds """ @@ -195,14 +195,14 @@ def active_tracing(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter(name="environmentVariables") - def environment_variables(self) -> Optional[Any]: + def environment_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Environment variable key-value pairs. """ return pulumi.get(self, "environment_variables") @environment_variables.setter - def environment_variables(self, value: Optional[Any]): + def environment_variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "environment_variables", value) @property diff --git a/sdk/python/pulumi_aws_native/synthetics/outputs.py b/sdk/python/pulumi_aws_native/synthetics/outputs.py index 7e7432b983..401c787c7a 100644 --- a/sdk/python/pulumi_aws_native/synthetics/outputs.py +++ b/sdk/python/pulumi_aws_native/synthetics/outputs.py @@ -210,12 +210,12 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, active_tracing: Optional[bool] = None, - environment_variables: Optional[Any] = None, + environment_variables: Optional[Mapping[str, str]] = None, memory_in_mb: Optional[int] = None, timeout_in_seconds: Optional[int] = None): """ :param bool active_tracing: Enable active tracing if set to true - :param Any environment_variables: Environment variable key-value pairs. + :param Mapping[str, str] environment_variables: Environment variable key-value pairs. :param int memory_in_mb: Provide maximum memory available for canary in MB :param int timeout_in_seconds: Provide maximum canary timeout per run in seconds """ @@ -238,7 +238,7 @@ def active_tracing(self) -> Optional[bool]: @property @pulumi.getter(name="environmentVariables") - def environment_variables(self) -> Optional[Any]: + def environment_variables(self) -> Optional[Mapping[str, str]]: """ Environment variable key-value pairs. """ diff --git a/sdk/python/pulumi_aws_native/xray/_inputs.py b/sdk/python/pulumi_aws_native/xray/_inputs.py index df5ab9d769..af1dd18752 100644 --- a/sdk/python/pulumi_aws_native/xray/_inputs.py +++ b/sdk/python/pulumi_aws_native/xray/_inputs.py @@ -185,7 +185,7 @@ def value(self, value: pulumi.Input[str]): @pulumi.input_type class SamplingRuleUpdateArgs: def __init__(__self__, *, - attributes: Optional[Any] = None, + attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, fixed_rate: Optional[pulumi.Input[float]] = None, host: Optional[pulumi.Input[str]] = None, http_method: Optional[pulumi.Input[str]] = None, @@ -198,7 +198,7 @@ def __init__(__self__, *, service_type: Optional[pulumi.Input[str]] = None, url_path: Optional[pulumi.Input[str]] = None): """ - :param Any attributes: Matches attributes derived from the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] attributes: Matches attributes derived from the request. :param pulumi.Input[float] fixed_rate: The percentage of matching requests to instrument, after the reservoir is exhausted. :param pulumi.Input[str] host: Matches the hostname from a request URL. :param pulumi.Input[str] http_method: Matches the HTTP method from a request URL. @@ -236,14 +236,14 @@ def __init__(__self__, *, @property @pulumi.getter - def attributes(self) -> Optional[Any]: + def attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Matches attributes derived from the request. """ return pulumi.get(self, "attributes") @attributes.setter - def attributes(self, value: Optional[Any]): + def attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "attributes", value) @property @@ -385,7 +385,7 @@ def __init__(__self__, *, service_name: pulumi.Input[str], service_type: pulumi.Input[str], url_path: pulumi.Input[str], - attributes: Optional[Any] = None, + attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, rule_arn: Optional[pulumi.Input[str]] = None, rule_name: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[int]] = None): @@ -399,7 +399,7 @@ def __init__(__self__, *, :param pulumi.Input[str] service_name: Matches the name that the service uses to identify itself in segments. :param pulumi.Input[str] service_type: Matches the origin that the service uses to identify its type in segments. :param pulumi.Input[str] url_path: Matches the path from a request URL. - :param Any attributes: Matches attributes derived from the request. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] attributes: Matches attributes derived from the request. :param pulumi.Input[int] version: The version of the sampling rule format (1) """ pulumi.set(__self__, "fixed_rate", fixed_rate) @@ -530,14 +530,14 @@ def url_path(self, value: pulumi.Input[str]): @property @pulumi.getter - def attributes(self) -> Optional[Any]: + def attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Matches attributes derived from the request. """ return pulumi.get(self, "attributes") @attributes.setter - def attributes(self, value: Optional[Any]): + def attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "attributes", value) @property diff --git a/sdk/python/pulumi_aws_native/xray/outputs.py b/sdk/python/pulumi_aws_native/xray/outputs.py index e8956028fb..9d0e350032 100644 --- a/sdk/python/pulumi_aws_native/xray/outputs.py +++ b/sdk/python/pulumi_aws_native/xray/outputs.py @@ -143,7 +143,7 @@ def __init__(__self__, *, service_name: str, service_type: str, url_path: str, - attributes: Optional[Any] = None, + attributes: Optional[Mapping[str, str]] = None, rule_arn: Optional[str] = None, rule_name: Optional[str] = None, version: Optional[int] = None): @@ -157,7 +157,7 @@ def __init__(__self__, *, :param str service_name: Matches the name that the service uses to identify itself in segments. :param str service_type: Matches the origin that the service uses to identify its type in segments. :param str url_path: Matches the path from a request URL. - :param Any attributes: Matches attributes derived from the request. + :param Mapping[str, str] attributes: Matches attributes derived from the request. :param int version: The version of the sampling rule format (1) """ pulumi.set(__self__, "fixed_rate", fixed_rate) @@ -252,7 +252,7 @@ def url_path(self) -> str: @property @pulumi.getter - def attributes(self) -> Optional[Any]: + def attributes(self) -> Optional[Mapping[str, str]]: """ Matches attributes derived from the request. """ @@ -402,7 +402,7 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - attributes: Optional[Any] = None, + attributes: Optional[Mapping[str, str]] = None, fixed_rate: Optional[float] = None, host: Optional[str] = None, http_method: Optional[str] = None, @@ -415,7 +415,7 @@ def __init__(__self__, *, service_type: Optional[str] = None, url_path: Optional[str] = None): """ - :param Any attributes: Matches attributes derived from the request. + :param Mapping[str, str] attributes: Matches attributes derived from the request. :param float fixed_rate: The percentage of matching requests to instrument, after the reservoir is exhausted. :param str host: Matches the hostname from a request URL. :param str http_method: Matches the HTTP method from a request URL. @@ -453,7 +453,7 @@ def __init__(__self__, *, @property @pulumi.getter - def attributes(self) -> Optional[Any]: + def attributes(self) -> Optional[Mapping[str, str]]: """ Matches attributes derived from the request. """