package awselasticbeanstalk // Use the `OptionSetting` property type to specify an option for an AWS Elastic Beanstalk environment when defining an AWS::ElasticBeanstalk::Environment resource in an AWS CloudFormation template. // // The `OptionSetting` property type specifies an option for an AWS Elastic Beanstalk environment. // // The `OptionSettings` property of the [AWS::ElasticBeanstalk::Environment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html) resource contains a list of `OptionSetting` property types. // // For a list of possible namespaces and option values, see [Option Values](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html) in the *AWS Elastic Beanstalk Developer Guide* . // // Example: // // 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" // // optionSettingProperty := &OptionSettingProperty{ // Namespace: jsii.String("namespace"), // OptionName: jsii.String("optionName"), // // // the properties below are optional // ResourceName: jsii.String("resourceName"), // Value: jsii.String("value"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-environment-optionsetting.html // type CfnEnvironment_OptionSettingProperty struct { // A unique namespace that identifies the option's associated AWS resource. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-environment-optionsetting.html#cfn-elasticbeanstalk-environment-optionsetting-namespace // Namespace *string `field:"required" json:"namespace" yaml:"namespace"` // The name of the configuration option. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-environment-optionsetting.html#cfn-elasticbeanstalk-environment-optionsetting-optionname // OptionName *string `field:"required" json:"optionName" yaml:"optionName"` // A unique resource name for the option setting. // // Use it for a time–based scaling configuration option. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-environment-optionsetting.html#cfn-elasticbeanstalk-environment-optionsetting-resourcename // ResourceName *string `field:"optional" json:"resourceName" yaml:"resourceName"` // The current value for the configuration option. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-environment-optionsetting.html#cfn-elasticbeanstalk-environment-optionsetting-value // Value *string `field:"optional" json:"value" yaml:"value"` }