CfnResourceUpdateConstraintProps Struct
Properties for defining a CfnResourceUpdateConstraint.
| Source |
|---|
Example
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
# 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
// 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();
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
// 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
acceptLanguageoptionalstringaccept_languageoptionalstracceptLanguageoptionalStringAcceptLanguageoptionalstringAcceptLanguageoptional*string #The language code.
jp- Japanesezh- Chinese
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the constraint.
The portfolio identifier.
The product identifier.
tagUpdateOnProvisionedProductstringtag_update_on_provisioned_productstrtagUpdateOnProvisionedProductStringTagUpdateOnProvisionedProductstringTagUpdateOnProvisionedProduct*string required #If set to `ALLOWED` , lets users change tags in a CloudFormationProvisionedProduct resource.
If set to NOT_ALLOWED , prevents users from changing tags in a CloudFormationProvisionedProduct resource.