All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cloudshift.awscdk.dsl.services.efs.CfnFileSystemBackupPolicyPropertyDsl.kt Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package cloudshift.awscdk.dsl.services.efs

import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.services.efs.CfnFileSystem

/**
 * The backup policy turns automatic backups for the file system on or off.
 *
 * 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.efs.*;
 * BackupPolicyProperty backupPolicyProperty = BackupPolicyProperty.builder()
 * .status("status")
 * .build();
 * ```
 *
 * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-backuppolicy.html)
 */
@CdkDslMarker
public class CfnFileSystemBackupPolicyPropertyDsl {
  private val cdkBuilder: CfnFileSystem.BackupPolicyProperty.Builder =
      CfnFileSystem.BackupPolicyProperty.builder()

  /**
   * @param status Set the backup policy status for the file system. 
   * * *`ENABLED`* - Turns automatic backups on for the file system.
   * * *`DISABLED`* - Turns automatic backups off for the file system.
   */
  public fun status(status: String) {
    cdkBuilder.status(status)
  }

  public fun build(): CfnFileSystem.BackupPolicyProperty = cdkBuilder.build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy