Skip to content
v2.278.0

ChefConfigurationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opsworks as opsworks } from 'aws-cdk-lib';
const chefConfigurationProperty: opsworks.CfnStack.ChefConfigurationProperty = {
  berkshelfVersion: 'berkshelfVersion',
  manageBerkshelf: false,
};
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_opsworks as opsworks

chef_configuration_property = opsworks.CfnStack.ChefConfigurationProperty(
    berkshelf_version="berkshelfVersion",
    manage_berkshelf=False
)
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.opsworks.*;

ChefConfigurationProperty chefConfigurationProperty = ChefConfigurationProperty.builder()
        .berkshelfVersion("berkshelfVersion")
        .manageBerkshelf(false)
        .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.OpsWorks;

var chefConfigurationProperty = new ChefConfigurationProperty {
    BerkshelfVersion = "berkshelfVersion",
    ManageBerkshelf = false
};
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"

chefConfigurationProperty := &ChefConfigurationProperty{
	BerkshelfVersion: jsii.String("berkshelfVersion"),
	ManageBerkshelf: jsii.Boolean(false),
}

Properties ​

berkshelfVersionoptionalstringberkshelf_versionoptionalstrberkshelfVersionoptionalStringBerkshelfVersionoptionalstringBerkshelfVersionoptional*string #
The Berkshelf version.
manageBerkshelfoptionalboolean | IResolvablemanage_berkshelfoptionaltyping.Union[bool, IResolvable]manageBerkshelfoptionalBooleanManageBerkshelfoptionalboolManageBerkshelfoptionalinterface{} #
Whether to enable Berkshelf.