CfnLaunchNotificationConstraintProps Struct
Properties for defining a CfnLaunchNotificationConstraint.
| 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 cfnLaunchNotificationConstraintProps: servicecatalog.CfnLaunchNotificationConstraintProps = {
notificationArns: ['notificationArns'],
portfolioId: 'portfolioId',
productId: 'productId',
// 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_launch_notification_constraint_props = servicecatalog.CfnLaunchNotificationConstraintProps(
notification_arns=["notificationArns"],
portfolio_id="portfolioId",
product_id="productId",
# 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.*;
CfnLaunchNotificationConstraintProps cfnLaunchNotificationConstraintProps = CfnLaunchNotificationConstraintProps.builder()
.notificationArns(List.of("notificationArns"))
.portfolioId("portfolioId")
.productId("productId")
// 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 cfnLaunchNotificationConstraintProps = new CfnLaunchNotificationConstraintProps {
NotificationArns = new [] { "notificationArns" },
PortfolioId = "portfolioId",
ProductId = "productId",
// 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"
cfnLaunchNotificationConstraintProps := &CfnLaunchNotificationConstraintProps{
NotificationArns: []*string{
jsii.String("notificationArns"),
},
PortfolioId: jsii.String("portfolioId"),
ProductId: jsii.String("productId"),
// 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.
notificationArnsstring[]notification_arnstyping.List[str]notificationArnsList<String>NotificationArnsstring[]NotificationArns*[]*string required #The notification ARNs.
The portfolio identifier.
The product identifier.