Documentation ¶
Index ¶
- type Project
- type ProjectArgs
- type ProjectArray
- type ProjectArrayInput
- type ProjectArrayOutput
- type ProjectDataDelivery
- type ProjectDataDeliveryArgs
- func (ProjectDataDeliveryArgs) ElementType() reflect.Type
- func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryOutput() ProjectDataDeliveryOutput
- func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryOutputWithContext(ctx context.Context) ProjectDataDeliveryOutput
- func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
- func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
- type ProjectDataDeliveryCloudwatchLogs
- type ProjectDataDeliveryCloudwatchLogsArgs
- func (ProjectDataDeliveryCloudwatchLogsArgs) ElementType() reflect.Type
- func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutput() ProjectDataDeliveryCloudwatchLogsOutput
- func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsOutput
- func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
- type ProjectDataDeliveryCloudwatchLogsInput
- type ProjectDataDeliveryCloudwatchLogsOutput
- func (ProjectDataDeliveryCloudwatchLogsOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryCloudwatchLogsOutput) LogGroup() pulumi.StringPtrOutput
- func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutput() ProjectDataDeliveryCloudwatchLogsOutput
- func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsOutput
- func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
- type ProjectDataDeliveryCloudwatchLogsPtrInput
- type ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) Elem() ProjectDataDeliveryCloudwatchLogsOutput
- func (ProjectDataDeliveryCloudwatchLogsPtrOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) LogGroup() pulumi.StringPtrOutput
- func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
- type ProjectDataDeliveryInput
- type ProjectDataDeliveryOutput
- func (o ProjectDataDeliveryOutput) CloudwatchLogs() ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (ProjectDataDeliveryOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryOutput) S3Destination() ProjectDataDeliveryS3DestinationPtrOutput
- func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryOutput() ProjectDataDeliveryOutput
- func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryOutputWithContext(ctx context.Context) ProjectDataDeliveryOutput
- func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
- func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
- type ProjectDataDeliveryPtrInput
- type ProjectDataDeliveryPtrOutput
- func (o ProjectDataDeliveryPtrOutput) CloudwatchLogs() ProjectDataDeliveryCloudwatchLogsPtrOutput
- func (o ProjectDataDeliveryPtrOutput) Elem() ProjectDataDeliveryOutput
- func (ProjectDataDeliveryPtrOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryPtrOutput) S3Destination() ProjectDataDeliveryS3DestinationPtrOutput
- func (o ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
- func (o ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
- type ProjectDataDeliveryS3Destination
- type ProjectDataDeliveryS3DestinationArgs
- func (ProjectDataDeliveryS3DestinationArgs) ElementType() reflect.Type
- func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutput() ProjectDataDeliveryS3DestinationOutput
- func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationOutput
- func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
- func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
- type ProjectDataDeliveryS3DestinationInput
- type ProjectDataDeliveryS3DestinationOutput
- func (o ProjectDataDeliveryS3DestinationOutput) Bucket() pulumi.StringPtrOutput
- func (ProjectDataDeliveryS3DestinationOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryS3DestinationOutput) Prefix() pulumi.StringPtrOutput
- func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutput() ProjectDataDeliveryS3DestinationOutput
- func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationOutput
- func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
- func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
- type ProjectDataDeliveryS3DestinationPtrInput
- type ProjectDataDeliveryS3DestinationPtrOutput
- func (o ProjectDataDeliveryS3DestinationPtrOutput) Bucket() pulumi.StringPtrOutput
- func (o ProjectDataDeliveryS3DestinationPtrOutput) Elem() ProjectDataDeliveryS3DestinationOutput
- func (ProjectDataDeliveryS3DestinationPtrOutput) ElementType() reflect.Type
- func (o ProjectDataDeliveryS3DestinationPtrOutput) Prefix() pulumi.StringPtrOutput
- func (o ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
- func (o ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
- type ProjectInput
- type ProjectMap
- type ProjectMapInput
- type ProjectMapOutput
- type ProjectOutput
- func (o ProjectOutput) ActiveExperimentCount() pulumi.IntOutput
- func (o ProjectOutput) ActiveLaunchCount() pulumi.IntOutput
- func (o ProjectOutput) Arn() pulumi.StringOutput
- func (o ProjectOutput) CreatedTime() pulumi.StringOutput
- func (o ProjectOutput) DataDelivery() ProjectDataDeliveryPtrOutput
- func (o ProjectOutput) Description() pulumi.StringPtrOutput
- func (ProjectOutput) ElementType() reflect.Type
- func (o ProjectOutput) ExperimentCount() pulumi.IntOutput
- func (o ProjectOutput) FeatureCount() pulumi.IntOutput
- func (o ProjectOutput) LastUpdatedTime() pulumi.StringOutput
- func (o ProjectOutput) LaunchCount() pulumi.IntOutput
- func (o ProjectOutput) Name() pulumi.StringOutput
- func (o ProjectOutput) Status() pulumi.StringOutput
- func (o ProjectOutput) Tags() pulumi.StringMapOutput
- func (o ProjectOutput) TagsAll() pulumi.StringMapOutput
- func (o ProjectOutput) ToProjectOutput() ProjectOutput
- func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- type ProjectState
- type Segment
- type SegmentArgs
- type SegmentArray
- type SegmentArrayInput
- type SegmentArrayOutput
- type SegmentInput
- type SegmentMap
- type SegmentMapInput
- type SegmentMapOutput
- type SegmentOutput
- func (o SegmentOutput) Arn() pulumi.StringOutput
- func (o SegmentOutput) CreatedTime() pulumi.StringOutput
- func (o SegmentOutput) Description() pulumi.StringPtrOutput
- func (SegmentOutput) ElementType() reflect.Type
- func (o SegmentOutput) ExperimentCount() pulumi.IntOutput
- func (o SegmentOutput) LastUpdatedTime() pulumi.StringOutput
- func (o SegmentOutput) LaunchCount() pulumi.IntOutput
- func (o SegmentOutput) Name() pulumi.StringOutput
- func (o SegmentOutput) Pattern() pulumi.StringOutput
- func (o SegmentOutput) Tags() pulumi.StringMapOutput
- func (o SegmentOutput) TagsAll() pulumi.StringMapOutput
- func (o SegmentOutput) ToSegmentOutput() SegmentOutput
- func (o SegmentOutput) ToSegmentOutputWithContext(ctx context.Context) SegmentOutput
- type SegmentState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project struct { pulumi.CustomResourceState // The number of ongoing experiments currently in the project. ActiveExperimentCount pulumi.IntOutput `pulumi:"activeExperimentCount"` // The number of ongoing launches currently in the project. ActiveLaunchCount pulumi.IntOutput `pulumi:"activeLaunchCount"` // The ARN of the project. Arn pulumi.StringOutput `pulumi:"arn"` // The date and time that the project is created. CreatedTime pulumi.StringOutput `pulumi:"createdTime"` // A block that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view. See below. DataDelivery ProjectDataDeliveryPtrOutput `pulumi:"dataDelivery"` // Specifies the description of the project. Description pulumi.StringPtrOutput `pulumi:"description"` // The number of experiments currently in the project. This includes all experiments that have been created and not deleted, whether they are ongoing or not. ExperimentCount pulumi.IntOutput `pulumi:"experimentCount"` // The number of features currently in the project. FeatureCount pulumi.IntOutput `pulumi:"featureCount"` // The date and time that the project was most recently updated. LastUpdatedTime pulumi.StringOutput `pulumi:"lastUpdatedTime"` // The number of launches currently in the project. This includes all launches that have been created and not deleted, whether they are ongoing or not. LaunchCount pulumi.IntOutput `pulumi:"launchCount"` // A name for the project. Name pulumi.StringOutput `pulumi:"name"` // The current state of the project. Valid values are `AVAILABLE` and `UPDATING`. Status pulumi.StringOutput `pulumi:"status"` // Tags to apply to the project. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a CloudWatch Evidently Project resource.
## Example Usage ### Basic
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewProject(ctx, "example", &evidently.ProjectArgs{ Description: pulumi.String("Example Description"), Tags: pulumi.StringMap{ "Key1": pulumi.String("example Project"), }, }) if err != nil { return err } return nil }) }
``` ### Store evaluation events in a CloudWatch Log Group
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewProject(ctx, "example", &evidently.ProjectArgs{ DataDelivery: &evidently.ProjectDataDeliveryArgs{ CloudwatchLogs: &evidently.ProjectDataDeliveryCloudwatchLogsArgs{ LogGroup: pulumi.String("example-log-group-name"), }, }, Description: pulumi.String("Example Description"), Tags: pulumi.StringMap{ "Key1": pulumi.String("example Project"), }, }) if err != nil { return err } return nil }) }
``` ### Store evaluation events in an S3 bucket
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewProject(ctx, "example", &evidently.ProjectArgs{ DataDelivery: &evidently.ProjectDataDeliveryArgs{ S3Destination: &evidently.ProjectDataDeliveryS3DestinationArgs{ Bucket: pulumi.String("example-bucket-name"), Prefix: pulumi.String("example"), }, }, Description: pulumi.String("Example Description"), Tags: pulumi.StringMap{ "Key1": pulumi.String("example Project"), }, }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch Evidently Project can be imported using the `arn`, e.g.,
```sh
$ pulumi import aws:evidently/project:Project example arn:aws:evidently:us-east-1:123456789012:segment/example
```
func GetProject ¶
func GetProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)
GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProject ¶
func NewProject(ctx *pulumi.Context, name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)
NewProject registers a new resource with the given unique name, arguments, and options.
func (*Project) ElementType ¶
func (*Project) ToProjectOutput ¶
func (i *Project) ToProjectOutput() ProjectOutput
func (*Project) ToProjectOutputWithContext ¶
func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectArgs ¶
type ProjectArgs struct { // A block that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view. See below. DataDelivery ProjectDataDeliveryPtrInput // Specifies the description of the project. Description pulumi.StringPtrInput // A name for the project. Name pulumi.StringPtrInput // Tags to apply to the project. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Project resource.
func (ProjectArgs) ElementType ¶
func (ProjectArgs) ElementType() reflect.Type
type ProjectArray ¶
type ProjectArray []ProjectInput
func (ProjectArray) ElementType ¶
func (ProjectArray) ElementType() reflect.Type
func (ProjectArray) ToProjectArrayOutput ¶
func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArray) ToProjectArrayOutputWithContext ¶
func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectArrayInput ¶
type ProjectArrayInput interface { pulumi.Input ToProjectArrayOutput() ProjectArrayOutput ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput }
ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:
ProjectArray{ ProjectArgs{...} }
type ProjectArrayOutput ¶
type ProjectArrayOutput struct{ *pulumi.OutputState }
func (ProjectArrayOutput) ElementType ¶
func (ProjectArrayOutput) ElementType() reflect.Type
func (ProjectArrayOutput) Index ¶
func (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput
func (ProjectArrayOutput) ToProjectArrayOutput ¶
func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArrayOutput) ToProjectArrayOutputWithContext ¶
func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectDataDelivery ¶
type ProjectDataDelivery struct { // A block that defines the CloudWatch Log Group that stores the evaluation events. See below. CloudwatchLogs *ProjectDataDeliveryCloudwatchLogs `pulumi:"cloudwatchLogs"` // A block that defines the S3 bucket and prefix that stores the evaluation events. See below. S3Destination *ProjectDataDeliveryS3Destination `pulumi:"s3Destination"` }
type ProjectDataDeliveryArgs ¶
type ProjectDataDeliveryArgs struct { // A block that defines the CloudWatch Log Group that stores the evaluation events. See below. CloudwatchLogs ProjectDataDeliveryCloudwatchLogsPtrInput `pulumi:"cloudwatchLogs"` // A block that defines the S3 bucket and prefix that stores the evaluation events. See below. S3Destination ProjectDataDeliveryS3DestinationPtrInput `pulumi:"s3Destination"` }
func (ProjectDataDeliveryArgs) ElementType ¶
func (ProjectDataDeliveryArgs) ElementType() reflect.Type
func (ProjectDataDeliveryArgs) ToProjectDataDeliveryOutput ¶
func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryOutput() ProjectDataDeliveryOutput
func (ProjectDataDeliveryArgs) ToProjectDataDeliveryOutputWithContext ¶
func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryOutputWithContext(ctx context.Context) ProjectDataDeliveryOutput
func (ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutput ¶
func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
func (ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutputWithContext ¶
func (i ProjectDataDeliveryArgs) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
type ProjectDataDeliveryCloudwatchLogs ¶
type ProjectDataDeliveryCloudwatchLogs struct { // The name of the log group where the project stores evaluation events. LogGroup *string `pulumi:"logGroup"` }
type ProjectDataDeliveryCloudwatchLogsArgs ¶
type ProjectDataDeliveryCloudwatchLogsArgs struct { // The name of the log group where the project stores evaluation events. LogGroup pulumi.StringPtrInput `pulumi:"logGroup"` }
func (ProjectDataDeliveryCloudwatchLogsArgs) ElementType ¶
func (ProjectDataDeliveryCloudwatchLogsArgs) ElementType() reflect.Type
func (ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutput ¶
func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutput() ProjectDataDeliveryCloudwatchLogsOutput
func (ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutputWithContext ¶
func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsOutput
func (ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutput ¶
func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
func (ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext ¶
func (i ProjectDataDeliveryCloudwatchLogsArgs) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
type ProjectDataDeliveryCloudwatchLogsInput ¶
type ProjectDataDeliveryCloudwatchLogsInput interface { pulumi.Input ToProjectDataDeliveryCloudwatchLogsOutput() ProjectDataDeliveryCloudwatchLogsOutput ToProjectDataDeliveryCloudwatchLogsOutputWithContext(context.Context) ProjectDataDeliveryCloudwatchLogsOutput }
ProjectDataDeliveryCloudwatchLogsInput is an input type that accepts ProjectDataDeliveryCloudwatchLogsArgs and ProjectDataDeliveryCloudwatchLogsOutput values. You can construct a concrete instance of `ProjectDataDeliveryCloudwatchLogsInput` via:
ProjectDataDeliveryCloudwatchLogsArgs{...}
type ProjectDataDeliveryCloudwatchLogsOutput ¶
type ProjectDataDeliveryCloudwatchLogsOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryCloudwatchLogsOutput) ElementType ¶
func (ProjectDataDeliveryCloudwatchLogsOutput) ElementType() reflect.Type
func (ProjectDataDeliveryCloudwatchLogsOutput) LogGroup ¶
func (o ProjectDataDeliveryCloudwatchLogsOutput) LogGroup() pulumi.StringPtrOutput
The name of the log group where the project stores evaluation events.
func (ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutput ¶
func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutput() ProjectDataDeliveryCloudwatchLogsOutput
func (ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutputWithContext ¶
func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsOutput
func (ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput ¶
func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
func (ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext ¶
func (o ProjectDataDeliveryCloudwatchLogsOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
type ProjectDataDeliveryCloudwatchLogsPtrInput ¶
type ProjectDataDeliveryCloudwatchLogsPtrInput interface { pulumi.Input ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput }
ProjectDataDeliveryCloudwatchLogsPtrInput is an input type that accepts ProjectDataDeliveryCloudwatchLogsArgs, ProjectDataDeliveryCloudwatchLogsPtr and ProjectDataDeliveryCloudwatchLogsPtrOutput values. You can construct a concrete instance of `ProjectDataDeliveryCloudwatchLogsPtrInput` via:
ProjectDataDeliveryCloudwatchLogsArgs{...} or: nil
func ProjectDataDeliveryCloudwatchLogsPtr ¶
func ProjectDataDeliveryCloudwatchLogsPtr(v *ProjectDataDeliveryCloudwatchLogsArgs) ProjectDataDeliveryCloudwatchLogsPtrInput
type ProjectDataDeliveryCloudwatchLogsPtrOutput ¶
type ProjectDataDeliveryCloudwatchLogsPtrOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryCloudwatchLogsPtrOutput) ElementType ¶
func (ProjectDataDeliveryCloudwatchLogsPtrOutput) ElementType() reflect.Type
func (ProjectDataDeliveryCloudwatchLogsPtrOutput) LogGroup ¶
func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) LogGroup() pulumi.StringPtrOutput
The name of the log group where the project stores evaluation events.
func (ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput ¶
func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutput() ProjectDataDeliveryCloudwatchLogsPtrOutput
func (ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext ¶
func (o ProjectDataDeliveryCloudwatchLogsPtrOutput) ToProjectDataDeliveryCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryCloudwatchLogsPtrOutput
type ProjectDataDeliveryInput ¶
type ProjectDataDeliveryInput interface { pulumi.Input ToProjectDataDeliveryOutput() ProjectDataDeliveryOutput ToProjectDataDeliveryOutputWithContext(context.Context) ProjectDataDeliveryOutput }
ProjectDataDeliveryInput is an input type that accepts ProjectDataDeliveryArgs and ProjectDataDeliveryOutput values. You can construct a concrete instance of `ProjectDataDeliveryInput` via:
ProjectDataDeliveryArgs{...}
type ProjectDataDeliveryOutput ¶
type ProjectDataDeliveryOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryOutput) CloudwatchLogs ¶
func (o ProjectDataDeliveryOutput) CloudwatchLogs() ProjectDataDeliveryCloudwatchLogsPtrOutput
A block that defines the CloudWatch Log Group that stores the evaluation events. See below.
func (ProjectDataDeliveryOutput) ElementType ¶
func (ProjectDataDeliveryOutput) ElementType() reflect.Type
func (ProjectDataDeliveryOutput) S3Destination ¶
func (o ProjectDataDeliveryOutput) S3Destination() ProjectDataDeliveryS3DestinationPtrOutput
A block that defines the S3 bucket and prefix that stores the evaluation events. See below.
func (ProjectDataDeliveryOutput) ToProjectDataDeliveryOutput ¶
func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryOutput() ProjectDataDeliveryOutput
func (ProjectDataDeliveryOutput) ToProjectDataDeliveryOutputWithContext ¶
func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryOutputWithContext(ctx context.Context) ProjectDataDeliveryOutput
func (ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutput ¶
func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
func (ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutputWithContext ¶
func (o ProjectDataDeliveryOutput) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
type ProjectDataDeliveryPtrInput ¶
type ProjectDataDeliveryPtrInput interface { pulumi.Input ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput ToProjectDataDeliveryPtrOutputWithContext(context.Context) ProjectDataDeliveryPtrOutput }
ProjectDataDeliveryPtrInput is an input type that accepts ProjectDataDeliveryArgs, ProjectDataDeliveryPtr and ProjectDataDeliveryPtrOutput values. You can construct a concrete instance of `ProjectDataDeliveryPtrInput` via:
ProjectDataDeliveryArgs{...} or: nil
func ProjectDataDeliveryPtr ¶
func ProjectDataDeliveryPtr(v *ProjectDataDeliveryArgs) ProjectDataDeliveryPtrInput
type ProjectDataDeliveryPtrOutput ¶
type ProjectDataDeliveryPtrOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryPtrOutput) CloudwatchLogs ¶
func (o ProjectDataDeliveryPtrOutput) CloudwatchLogs() ProjectDataDeliveryCloudwatchLogsPtrOutput
A block that defines the CloudWatch Log Group that stores the evaluation events. See below.
func (ProjectDataDeliveryPtrOutput) Elem ¶
func (o ProjectDataDeliveryPtrOutput) Elem() ProjectDataDeliveryOutput
func (ProjectDataDeliveryPtrOutput) ElementType ¶
func (ProjectDataDeliveryPtrOutput) ElementType() reflect.Type
func (ProjectDataDeliveryPtrOutput) S3Destination ¶
func (o ProjectDataDeliveryPtrOutput) S3Destination() ProjectDataDeliveryS3DestinationPtrOutput
A block that defines the S3 bucket and prefix that stores the evaluation events. See below.
func (ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutput ¶
func (o ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutput() ProjectDataDeliveryPtrOutput
func (ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutputWithContext ¶
func (o ProjectDataDeliveryPtrOutput) ToProjectDataDeliveryPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryPtrOutput
type ProjectDataDeliveryS3DestinationArgs ¶
type ProjectDataDeliveryS3DestinationArgs struct { // The name of the bucket in which Evidently stores evaluation events. Bucket pulumi.StringPtrInput `pulumi:"bucket"` // The bucket prefix in which Evidently stores evaluation events. Prefix pulumi.StringPtrInput `pulumi:"prefix"` }
func (ProjectDataDeliveryS3DestinationArgs) ElementType ¶
func (ProjectDataDeliveryS3DestinationArgs) ElementType() reflect.Type
func (ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutput ¶
func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutput() ProjectDataDeliveryS3DestinationOutput
func (ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutputWithContext ¶
func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationOutput
func (ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutput ¶
func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
func (ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutputWithContext ¶
func (i ProjectDataDeliveryS3DestinationArgs) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
type ProjectDataDeliveryS3DestinationInput ¶
type ProjectDataDeliveryS3DestinationInput interface { pulumi.Input ToProjectDataDeliveryS3DestinationOutput() ProjectDataDeliveryS3DestinationOutput ToProjectDataDeliveryS3DestinationOutputWithContext(context.Context) ProjectDataDeliveryS3DestinationOutput }
ProjectDataDeliveryS3DestinationInput is an input type that accepts ProjectDataDeliveryS3DestinationArgs and ProjectDataDeliveryS3DestinationOutput values. You can construct a concrete instance of `ProjectDataDeliveryS3DestinationInput` via:
ProjectDataDeliveryS3DestinationArgs{...}
type ProjectDataDeliveryS3DestinationOutput ¶
type ProjectDataDeliveryS3DestinationOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryS3DestinationOutput) Bucket ¶
func (o ProjectDataDeliveryS3DestinationOutput) Bucket() pulumi.StringPtrOutput
The name of the bucket in which Evidently stores evaluation events.
func (ProjectDataDeliveryS3DestinationOutput) ElementType ¶
func (ProjectDataDeliveryS3DestinationOutput) ElementType() reflect.Type
func (ProjectDataDeliveryS3DestinationOutput) Prefix ¶
func (o ProjectDataDeliveryS3DestinationOutput) Prefix() pulumi.StringPtrOutput
The bucket prefix in which Evidently stores evaluation events.
func (ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutput ¶
func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutput() ProjectDataDeliveryS3DestinationOutput
func (ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutputWithContext ¶
func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationOutput
func (ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutput ¶
func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
func (ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext ¶
func (o ProjectDataDeliveryS3DestinationOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
type ProjectDataDeliveryS3DestinationPtrInput ¶
type ProjectDataDeliveryS3DestinationPtrInput interface { pulumi.Input ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput ToProjectDataDeliveryS3DestinationPtrOutputWithContext(context.Context) ProjectDataDeliveryS3DestinationPtrOutput }
ProjectDataDeliveryS3DestinationPtrInput is an input type that accepts ProjectDataDeliveryS3DestinationArgs, ProjectDataDeliveryS3DestinationPtr and ProjectDataDeliveryS3DestinationPtrOutput values. You can construct a concrete instance of `ProjectDataDeliveryS3DestinationPtrInput` via:
ProjectDataDeliveryS3DestinationArgs{...} or: nil
func ProjectDataDeliveryS3DestinationPtr ¶
func ProjectDataDeliveryS3DestinationPtr(v *ProjectDataDeliveryS3DestinationArgs) ProjectDataDeliveryS3DestinationPtrInput
type ProjectDataDeliveryS3DestinationPtrOutput ¶
type ProjectDataDeliveryS3DestinationPtrOutput struct{ *pulumi.OutputState }
func (ProjectDataDeliveryS3DestinationPtrOutput) Bucket ¶
func (o ProjectDataDeliveryS3DestinationPtrOutput) Bucket() pulumi.StringPtrOutput
The name of the bucket in which Evidently stores evaluation events.
func (ProjectDataDeliveryS3DestinationPtrOutput) ElementType ¶
func (ProjectDataDeliveryS3DestinationPtrOutput) ElementType() reflect.Type
func (ProjectDataDeliveryS3DestinationPtrOutput) Prefix ¶
func (o ProjectDataDeliveryS3DestinationPtrOutput) Prefix() pulumi.StringPtrOutput
The bucket prefix in which Evidently stores evaluation events.
func (ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutput ¶
func (o ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutput() ProjectDataDeliveryS3DestinationPtrOutput
func (ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext ¶
func (o ProjectDataDeliveryS3DestinationPtrOutput) ToProjectDataDeliveryS3DestinationPtrOutputWithContext(ctx context.Context) ProjectDataDeliveryS3DestinationPtrOutput
type ProjectInput ¶
type ProjectInput interface { pulumi.Input ToProjectOutput() ProjectOutput ToProjectOutputWithContext(ctx context.Context) ProjectOutput }
type ProjectMap ¶
type ProjectMap map[string]ProjectInput
func (ProjectMap) ElementType ¶
func (ProjectMap) ElementType() reflect.Type
func (ProjectMap) ToProjectMapOutput ¶
func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput
func (ProjectMap) ToProjectMapOutputWithContext ¶
func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectMapInput ¶
type ProjectMapInput interface { pulumi.Input ToProjectMapOutput() ProjectMapOutput ToProjectMapOutputWithContext(context.Context) ProjectMapOutput }
ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:
ProjectMap{ "key": ProjectArgs{...} }
type ProjectMapOutput ¶
type ProjectMapOutput struct{ *pulumi.OutputState }
func (ProjectMapOutput) ElementType ¶
func (ProjectMapOutput) ElementType() reflect.Type
func (ProjectMapOutput) MapIndex ¶
func (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput
func (ProjectMapOutput) ToProjectMapOutput ¶
func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput
func (ProjectMapOutput) ToProjectMapOutputWithContext ¶
func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectOutput ¶
type ProjectOutput struct{ *pulumi.OutputState }
func (ProjectOutput) ActiveExperimentCount ¶
func (o ProjectOutput) ActiveExperimentCount() pulumi.IntOutput
The number of ongoing experiments currently in the project.
func (ProjectOutput) ActiveLaunchCount ¶
func (o ProjectOutput) ActiveLaunchCount() pulumi.IntOutput
The number of ongoing launches currently in the project.
func (ProjectOutput) CreatedTime ¶
func (o ProjectOutput) CreatedTime() pulumi.StringOutput
The date and time that the project is created.
func (ProjectOutput) DataDelivery ¶
func (o ProjectOutput) DataDelivery() ProjectDataDeliveryPtrOutput
A block that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view. See below.
func (ProjectOutput) Description ¶
func (o ProjectOutput) Description() pulumi.StringPtrOutput
Specifies the description of the project.
func (ProjectOutput) ElementType ¶
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) ExperimentCount ¶
func (o ProjectOutput) ExperimentCount() pulumi.IntOutput
The number of experiments currently in the project. This includes all experiments that have been created and not deleted, whether they are ongoing or not.
func (ProjectOutput) FeatureCount ¶
func (o ProjectOutput) FeatureCount() pulumi.IntOutput
The number of features currently in the project.
func (ProjectOutput) LastUpdatedTime ¶
func (o ProjectOutput) LastUpdatedTime() pulumi.StringOutput
The date and time that the project was most recently updated.
func (ProjectOutput) LaunchCount ¶
func (o ProjectOutput) LaunchCount() pulumi.IntOutput
The number of launches currently in the project. This includes all launches that have been created and not deleted, whether they are ongoing or not.
func (ProjectOutput) Name ¶
func (o ProjectOutput) Name() pulumi.StringOutput
A name for the project.
func (ProjectOutput) Status ¶
func (o ProjectOutput) Status() pulumi.StringOutput
The current state of the project. Valid values are `AVAILABLE` and `UPDATING`.
func (ProjectOutput) Tags ¶
func (o ProjectOutput) Tags() pulumi.StringMapOutput
Tags to apply to the project. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ProjectOutput) TagsAll ¶
func (o ProjectOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ProjectOutput) ToProjectOutput ¶
func (o ProjectOutput) ToProjectOutput() ProjectOutput
func (ProjectOutput) ToProjectOutputWithContext ¶
func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectState ¶
type ProjectState struct { // The number of ongoing experiments currently in the project. ActiveExperimentCount pulumi.IntPtrInput // The number of ongoing launches currently in the project. ActiveLaunchCount pulumi.IntPtrInput // The ARN of the project. Arn pulumi.StringPtrInput // The date and time that the project is created. CreatedTime pulumi.StringPtrInput // A block that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view. See below. DataDelivery ProjectDataDeliveryPtrInput // Specifies the description of the project. Description pulumi.StringPtrInput // The number of experiments currently in the project. This includes all experiments that have been created and not deleted, whether they are ongoing or not. ExperimentCount pulumi.IntPtrInput // The number of features currently in the project. FeatureCount pulumi.IntPtrInput // The date and time that the project was most recently updated. LastUpdatedTime pulumi.StringPtrInput // The number of launches currently in the project. This includes all launches that have been created and not deleted, whether they are ongoing or not. LaunchCount pulumi.IntPtrInput // A name for the project. Name pulumi.StringPtrInput // The current state of the project. Valid values are `AVAILABLE` and `UPDATING`. Status pulumi.StringPtrInput // Tags to apply to the project. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput }
func (ProjectState) ElementType ¶
func (ProjectState) ElementType() reflect.Type
type Segment ¶ added in v5.20.0
type Segment struct { pulumi.CustomResourceState // The ARN of the segment. Arn pulumi.StringOutput `pulumi:"arn"` // The date and time that the segment is created. CreatedTime pulumi.StringOutput `pulumi:"createdTime"` // Specifies the description of the segment. Description pulumi.StringPtrOutput `pulumi:"description"` // The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running. ExperimentCount pulumi.IntOutput `pulumi:"experimentCount"` // The date and time that this segment was most recently updated. LastUpdatedTime pulumi.StringOutput `pulumi:"lastUpdatedTime"` // The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running. LaunchCount pulumi.IntOutput `pulumi:"launchCount"` // A name for the segment. Name pulumi.StringOutput `pulumi:"name"` // The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html). Pattern pulumi.StringOutput `pulumi:"pattern"` // Tags to apply to the segment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a CloudWatch Evidently Segment resource.
## Example Usage ### Basic
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewSegment(ctx, "example", &evidently.SegmentArgs{ Pattern: pulumi.String("{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}"), Tags: pulumi.StringMap{ "Key1": pulumi.String("example Segment"), }, }) if err != nil { return err } return nil }) }
``` ### With JSON object in pattern
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewSegment(ctx, "example", &evidently.SegmentArgs{ Pattern: pulumi.String(fmt.Sprintf(` { "Price": [ { "numeric": [">",10,"<=",20] } ] }
`)),
Tags: pulumi.StringMap{ "Key1": pulumi.String("example Segment"), }, }) if err != nil { return err } return nil }) }
``` ### With Description
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/evidently" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := evidently.NewSegment(ctx, "example", &evidently.SegmentArgs{ Description: pulumi.String("example"), Pattern: pulumi.String("{\"Price\":[{\"numeric\":[\">\",10,\"<=\",20]}]}"), }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch Evidently Segment can be imported using the `arn`, e.g.,
```sh
$ pulumi import aws:evidently/segment:Segment example arn:aws:evidently:us-west-2:123456789012:segment/example
```
func GetSegment ¶ added in v5.20.0
func GetSegment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SegmentState, opts ...pulumi.ResourceOption) (*Segment, error)
GetSegment gets an existing Segment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSegment ¶ added in v5.20.0
func NewSegment(ctx *pulumi.Context, name string, args *SegmentArgs, opts ...pulumi.ResourceOption) (*Segment, error)
NewSegment registers a new resource with the given unique name, arguments, and options.
func (*Segment) ElementType ¶ added in v5.20.0
func (*Segment) ToSegmentOutput ¶ added in v5.20.0
func (i *Segment) ToSegmentOutput() SegmentOutput
func (*Segment) ToSegmentOutputWithContext ¶ added in v5.20.0
func (i *Segment) ToSegmentOutputWithContext(ctx context.Context) SegmentOutput
type SegmentArgs ¶ added in v5.20.0
type SegmentArgs struct { // Specifies the description of the segment. Description pulumi.StringPtrInput // A name for the segment. Name pulumi.StringPtrInput // The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html). Pattern pulumi.StringInput // Tags to apply to the segment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Segment resource.
func (SegmentArgs) ElementType ¶ added in v5.20.0
func (SegmentArgs) ElementType() reflect.Type
type SegmentArray ¶ added in v5.20.0
type SegmentArray []SegmentInput
func (SegmentArray) ElementType ¶ added in v5.20.0
func (SegmentArray) ElementType() reflect.Type
func (SegmentArray) ToSegmentArrayOutput ¶ added in v5.20.0
func (i SegmentArray) ToSegmentArrayOutput() SegmentArrayOutput
func (SegmentArray) ToSegmentArrayOutputWithContext ¶ added in v5.20.0
func (i SegmentArray) ToSegmentArrayOutputWithContext(ctx context.Context) SegmentArrayOutput
type SegmentArrayInput ¶ added in v5.20.0
type SegmentArrayInput interface { pulumi.Input ToSegmentArrayOutput() SegmentArrayOutput ToSegmentArrayOutputWithContext(context.Context) SegmentArrayOutput }
SegmentArrayInput is an input type that accepts SegmentArray and SegmentArrayOutput values. You can construct a concrete instance of `SegmentArrayInput` via:
SegmentArray{ SegmentArgs{...} }
type SegmentArrayOutput ¶ added in v5.20.0
type SegmentArrayOutput struct{ *pulumi.OutputState }
func (SegmentArrayOutput) ElementType ¶ added in v5.20.0
func (SegmentArrayOutput) ElementType() reflect.Type
func (SegmentArrayOutput) Index ¶ added in v5.20.0
func (o SegmentArrayOutput) Index(i pulumi.IntInput) SegmentOutput
func (SegmentArrayOutput) ToSegmentArrayOutput ¶ added in v5.20.0
func (o SegmentArrayOutput) ToSegmentArrayOutput() SegmentArrayOutput
func (SegmentArrayOutput) ToSegmentArrayOutputWithContext ¶ added in v5.20.0
func (o SegmentArrayOutput) ToSegmentArrayOutputWithContext(ctx context.Context) SegmentArrayOutput
type SegmentInput ¶ added in v5.20.0
type SegmentInput interface { pulumi.Input ToSegmentOutput() SegmentOutput ToSegmentOutputWithContext(ctx context.Context) SegmentOutput }
type SegmentMap ¶ added in v5.20.0
type SegmentMap map[string]SegmentInput
func (SegmentMap) ElementType ¶ added in v5.20.0
func (SegmentMap) ElementType() reflect.Type
func (SegmentMap) ToSegmentMapOutput ¶ added in v5.20.0
func (i SegmentMap) ToSegmentMapOutput() SegmentMapOutput
func (SegmentMap) ToSegmentMapOutputWithContext ¶ added in v5.20.0
func (i SegmentMap) ToSegmentMapOutputWithContext(ctx context.Context) SegmentMapOutput
type SegmentMapInput ¶ added in v5.20.0
type SegmentMapInput interface { pulumi.Input ToSegmentMapOutput() SegmentMapOutput ToSegmentMapOutputWithContext(context.Context) SegmentMapOutput }
SegmentMapInput is an input type that accepts SegmentMap and SegmentMapOutput values. You can construct a concrete instance of `SegmentMapInput` via:
SegmentMap{ "key": SegmentArgs{...} }
type SegmentMapOutput ¶ added in v5.20.0
type SegmentMapOutput struct{ *pulumi.OutputState }
func (SegmentMapOutput) ElementType ¶ added in v5.20.0
func (SegmentMapOutput) ElementType() reflect.Type
func (SegmentMapOutput) MapIndex ¶ added in v5.20.0
func (o SegmentMapOutput) MapIndex(k pulumi.StringInput) SegmentOutput
func (SegmentMapOutput) ToSegmentMapOutput ¶ added in v5.20.0
func (o SegmentMapOutput) ToSegmentMapOutput() SegmentMapOutput
func (SegmentMapOutput) ToSegmentMapOutputWithContext ¶ added in v5.20.0
func (o SegmentMapOutput) ToSegmentMapOutputWithContext(ctx context.Context) SegmentMapOutput
type SegmentOutput ¶ added in v5.20.0
type SegmentOutput struct{ *pulumi.OutputState }
func (SegmentOutput) Arn ¶ added in v5.20.0
func (o SegmentOutput) Arn() pulumi.StringOutput
The ARN of the segment.
func (SegmentOutput) CreatedTime ¶ added in v5.20.0
func (o SegmentOutput) CreatedTime() pulumi.StringOutput
The date and time that the segment is created.
func (SegmentOutput) Description ¶ added in v5.20.0
func (o SegmentOutput) Description() pulumi.StringPtrOutput
Specifies the description of the segment.
func (SegmentOutput) ElementType ¶ added in v5.20.0
func (SegmentOutput) ElementType() reflect.Type
func (SegmentOutput) ExperimentCount ¶ added in v5.20.0
func (o SegmentOutput) ExperimentCount() pulumi.IntOutput
The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running.
func (SegmentOutput) LastUpdatedTime ¶ added in v5.20.0
func (o SegmentOutput) LastUpdatedTime() pulumi.StringOutput
The date and time that this segment was most recently updated.
func (SegmentOutput) LaunchCount ¶ added in v5.20.0
func (o SegmentOutput) LaunchCount() pulumi.IntOutput
The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running.
func (SegmentOutput) Name ¶ added in v5.20.0
func (o SegmentOutput) Name() pulumi.StringOutput
A name for the segment.
func (SegmentOutput) Pattern ¶ added in v5.20.0
func (o SegmentOutput) Pattern() pulumi.StringOutput
The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html).
func (SegmentOutput) Tags ¶ added in v5.20.0
func (o SegmentOutput) Tags() pulumi.StringMapOutput
Tags to apply to the segment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (SegmentOutput) TagsAll ¶ added in v5.20.0
func (o SegmentOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (SegmentOutput) ToSegmentOutput ¶ added in v5.20.0
func (o SegmentOutput) ToSegmentOutput() SegmentOutput
func (SegmentOutput) ToSegmentOutputWithContext ¶ added in v5.20.0
func (o SegmentOutput) ToSegmentOutputWithContext(ctx context.Context) SegmentOutput
type SegmentState ¶ added in v5.20.0
type SegmentState struct { // The ARN of the segment. Arn pulumi.StringPtrInput // The date and time that the segment is created. CreatedTime pulumi.StringPtrInput // Specifies the description of the segment. Description pulumi.StringPtrInput // The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running. ExperimentCount pulumi.IntPtrInput // The date and time that this segment was most recently updated. LastUpdatedTime pulumi.StringPtrInput // The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running. LaunchCount pulumi.IntPtrInput // A name for the segment. Name pulumi.StringPtrInput // The pattern to use for the segment. For more information about pattern syntax, see [Segment rule pattern syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html). Pattern pulumi.StringPtrInput // Tags to apply to the segment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput }
func (SegmentState) ElementType ¶ added in v5.20.0
func (SegmentState) ElementType() reflect.Type