CookieSpecificationProperty Struct
Specifies a single cookie or set of cookies in an end user's browser.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
The domain of the cookie.
The name of the cookie.
The path of the cookie.