cloudshift.awscdk.dsl.services.iotsitewise.CfnAccessPolicyProjectPropertyDsl.kt Maven / Gradle / Ivy
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.iotsitewise
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.services.iotsitewise.CfnAccessPolicy
/**
* The `Project` property type specifies the AWS IoT SiteWise Monitor project for an
* [AWS::IoTSiteWise::AccessPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html)
* .
*
* Example:
*
* ```
* // The code below shows an example of how to instantiate this type.
* // The values are placeholders you should change.
* import software.amazon.awscdk.services.iotsitewise.*;
* ProjectProperty projectProperty = ProjectProperty.builder()
* .id("id")
* .build();
* ```
*
* [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-project.html)
*/
@CdkDslMarker
public class CfnAccessPolicyProjectPropertyDsl {
private val cdkBuilder: CfnAccessPolicy.ProjectProperty.Builder =
CfnAccessPolicy.ProjectProperty.builder()
/**
* @param id The ID of the project.
*/
public fun id(id: String) {
cdkBuilder.id(id)
}
public fun build(): CfnAccessPolicy.ProjectProperty = cdkBuilder.build()
}