Class CustomResourceOptions

    • Method Detail

      • getDeleteBeforeReplace

        public boolean getDeleteBeforeReplace()
        When set to "true", indicates that this resource should be deleted before its replacement is created when replacement is necessary.
      • getAdditionalSecretOutputs

        public java.util.List<java.lang.String> getAdditionalSecretOutputs()
        The names of outputs for this resource that should be treated as secrets. This augments the list that the resource provider and pulumi engine already determine based on inputs to your resource. It can be used to mark certain outputs as a secrets on a per resource basis.
      • getImportId

        public java.util.Optional<java.lang.String> getImportId()
        When provided with a resource ID, import indicates that this resource's provider should import its state from the cloud resource with the given ID.The inputs to the resource's constructor must align with the resource's current state.Once a resource has been imported, the import property must be removed from the resource's options.
      • merge

        public static CustomResourceOptions merge​(@Nullable
                                                  CustomResourceOptions options1,
                                                  @Nullable
                                                  CustomResourceOptions options2)
        Takes two @see CustomResourceOptions values and produces a new @see CustomResourceOptions with the respective properties of "options2" merged over the same properties in "options1".

        The original options objects will be unchanged. A new instance will always be returned.

        Conceptually property merging follows these basic rules: - If the property is a collection, the final value will be a collection containing the values from each options object. - Simple scalar values from "options2" (i.e. "string", "int", "bool") will replace the values of "options1". - "null" values in "options2" will be ignored.