# CookieSpecificationProperty

Specifies a single cookie or set of cookies in an end user's browser.

- Source: Generated at build time
- Type last changed: v2.97.0 · 22 Sep 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesweb as workspacesweb } from 'aws-cdk-lib';
const cookieSpecificationProperty: workspacesweb.CfnUserSettings.CookieSpecificationProperty = {
  domain: 'domain',

  // the properties below are optional
  name: 'name',
  path: 'path',
};
```

Python:

```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_workspacesweb as workspacesweb

cookie_specification_property = workspacesweb.CfnUserSettings.CookieSpecificationProperty(
    domain="domain",

    # the properties below are optional
    name="name",
    path="path"
)
```

Java:

```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.workspacesweb.*;

CookieSpecificationProperty cookieSpecificationProperty = CookieSpecificationProperty.builder()
        .domain("domain")

        // the properties below are optional
        .name("name")
        .path("path")
        .build();
```

C# / .NET:

```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.WorkSpacesWeb;

var cookieSpecificationProperty = new CookieSpecificationProperty {
    Domain = "domain",

    // the properties below are optional
    Name = "name",
    Path = "path"
};
```

Golang:

```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"

cookieSpecificationProperty := &CookieSpecificationProperty{
	Domain: jsii.String("domain"),

	// the properties below are optional
	Name: jsii.String("name"),
	Path: jsii.String("path"),
}
```

## Properties

- `domain`: string (required) — The domain of the cookie.

- `name`: string — The name of the cookie.

- `path`: string — The path of the cookie.
