package awsappconfig // Properties for defining a `CfnConfigurationProfile`. // // 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" // // cfnConfigurationProfileProps := &CfnConfigurationProfileProps{ // ApplicationId: jsii.String("applicationId"), // LocationUri: jsii.String("locationUri"), // Name: jsii.String("name"), // // // the properties below are optional // Description: jsii.String("description"), // RetrievalRoleArn: jsii.String("retrievalRoleArn"), // Tags: []tagsProperty{ // &tagsProperty{ // Key: jsii.String("key"), // Value: jsii.String("value"), // }, // }, // Type: jsii.String("type"), // Validators: []interface{}{ // &ValidatorsProperty{ // Content: jsii.String("content"), // Type: jsii.String("type"), // }, // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html // type CfnConfigurationProfileProps struct { // The application ID. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-applicationid // ApplicationId *string `field:"required" json:"applicationId" yaml:"applicationId"` // A URI to locate the configuration. You can specify the following:. // // - For the AWS AppConfig hosted configuration store and for feature flags, specify `hosted` . // - For an AWS Systems Manager Parameter Store parameter, specify either the parameter name in the format `ssm-parameter://` or the ARN. // - For an AWS CodePipeline pipeline, specify the URI in the following format: `codepipeline` ://. // - For an AWS Secrets Manager secret, specify the URI in the following format: `secretsmanager` ://. // - For an Amazon S3 object, specify the URI in the following format: `s3:///` . Here is an example: `s3://my-bucket/my-app/us-east-1/my-config.json` // - For an SSM document, specify either the document name in the format `ssm-document://` or the Amazon Resource Name (ARN). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-locationuri // LocationUri *string `field:"required" json:"locationUri" yaml:"locationUri"` // A name for the configuration profile. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-name // Name *string `field:"required" json:"name" yaml:"name"` // A description of the configuration profile. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-description // Description *string `field:"optional" json:"description" yaml:"description"` // The ARN of an IAM role with permission to access the configuration at the specified `LocationUri` . // // > A retrieval role ARN is not required for configurations stored in the AWS AppConfig hosted configuration store. It is required for all other sources that store your configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-retrievalrolearn // RetrievalRoleArn *string `field:"optional" json:"retrievalRoleArn" yaml:"retrievalRoleArn"` // Metadata to assign to the configuration profile. // // Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-tags // Tags *[]*CfnConfigurationProfile_TagsProperty `field:"optional" json:"tags" yaml:"tags"` // The type of configurations contained in the profile. // // AWS AppConfig supports `feature flags` and `freeform` configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for `Type` : // // `AWS.AppConfig.FeatureFlags` // // `AWS.Freeform` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-type // Type *string `field:"optional" json:"type" yaml:"type"` // A list of methods for validating the configuration. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-validators // Validators interface{} `field:"optional" json:"validators" yaml:"validators"` }