# CfnResourceUpdateConstraintProps

Struct · External

Properties for defining a `CfnResourceUpdateConstraint`.

Used as props by: [CfnResourceUpdateConstraint](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_servicecatalog.CfnResourceUpdateConstraint.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicecatalog as servicecatalog } from 'aws-cdk-lib';
const cfnResourceUpdateConstraintProps: servicecatalog.CfnResourceUpdateConstraintProps = {
  portfolioId: 'portfolioId',
  productId: 'productId',
  tagUpdateOnProvisionedProduct: 'tagUpdateOnProvisionedProduct',

  // the properties below are optional
  acceptLanguage: 'acceptLanguage',
  description: 'description',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_servicecatalog as servicecatalog

cfn_resource_update_constraint_props = servicecatalog.CfnResourceUpdateConstraintProps(
    portfolio_id="portfolioId",
    product_id="productId",
    tag_update_on_provisioned_product="tagUpdateOnProvisionedProduct",

    # the properties below are optional
    accept_language="acceptLanguage",
    description="description"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.servicecatalog.*;

CfnResourceUpdateConstraintProps cfnResourceUpdateConstraintProps = CfnResourceUpdateConstraintProps.builder()
        .portfolioId("portfolioId")
        .productId("productId")
        .tagUpdateOnProvisionedProduct("tagUpdateOnProvisionedProduct")

        // the properties below are optional
        .acceptLanguage("acceptLanguage")
        .description("description")
        .build();
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Servicecatalog;

var cfnResourceUpdateConstraintProps = new CfnResourceUpdateConstraintProps {
    PortfolioId = "portfolioId",
    ProductId = "productId",
    TagUpdateOnProvisionedProduct = "tagUpdateOnProvisionedProduct",

    // the properties below are optional
    AcceptLanguage = "acceptLanguage",
    Description = "description"
};
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnResourceUpdateConstraintProps := &CfnResourceUpdateConstraintProps{
	PortfolioId: jsii.String("portfolioId"),
	ProductId: jsii.String("productId"),
	TagUpdateOnProvisionedProduct: jsii.String("tagUpdateOnProvisionedProduct"),

	// the properties below are optional
	AcceptLanguage: jsii.String("acceptLanguage"),
	Description: jsii.String("description"),
}
```

## Properties

- `acceptLanguage`: string — The language code.

  - `jp` - Japanese
  - `zh` - Chinese

- `description`: string — The description of the constraint.

- `portfolioId`: string (required) — The portfolio identifier.

- `productId`: string (required) — The product identifier.

- `tagUpdateOnProvisionedProduct`: string (required) — If set to `ALLOWED` , lets users change tags in a [CloudFormationProvisionedProduct](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html) resource.

  If set to `NOT_ALLOWED` , prevents users from changing tags in a [CloudFormationProvisionedProduct](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html) resource.
