GcpProjectProperty Struct Added in v2.278.0
A GCP project with its ID and optional display name.
| 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_ssm as ssm } from 'aws-cdk-lib';
const gcpProjectProperty: ssm.CfnCloudConnector.GcpProjectProperty = {
projectId: 'projectId',
// the properties below are optional
projectDisplayName: 'projectDisplayName',
};
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_ssm as ssm
gcp_project_property = ssm.CfnCloudConnector.GcpProjectProperty(
project_id="projectId",
# the properties below are optional
project_display_name="projectDisplayName"
)
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.ssm.*;
GcpProjectProperty gcpProjectProperty = GcpProjectProperty.builder()
.projectId("projectId")
// the properties below are optional
.projectDisplayName("projectDisplayName")
.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.SSM;
var gcpProjectProperty = new GcpProjectProperty {
ProjectId = "projectId",
// the properties below are optional
ProjectDisplayName = "projectDisplayName"
};
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"
gcpProjectProperty := &GcpProjectProperty{
ProjectId: jsii.String("projectId"),
// the properties below are optional
ProjectDisplayName: jsii.String("projectDisplayName"),
}
Properties
projectDisplayNameoptionalstringproject_display_nameoptionalstrprojectDisplayNameoptionalStringProjectDisplayNameoptionalstringProjectDisplayNameoptional*string #The display name of the GCP project.
The GCP project ID.