ecr.v1alpha1.repositoryPolicy
"A RepositoryPolicy is a managed resource that represents an Elastic Container Repository Policy Deprecated: Please use v1beta1 version of this resource."
Index
fn new(name)
obj metadata
fn withAnnotations(annotations)
fn withAnnotationsMixin(annotations)
fn withClusterName(clusterName)
fn withCreationTimestamp(creationTimestamp)
fn withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
fn withDeletionTimestamp(deletionTimestamp)
fn withFinalizers(finalizers)
fn withFinalizersMixin(finalizers)
fn withGenerateName(generateName)
fn withGeneration(generation)
fn withLabels(labels)
fn withLabelsMixin(labels)
fn withName(name)
fn withNamespace(namespace)
fn withOwnerReferences(ownerReferences)
fn withOwnerReferencesMixin(ownerReferences)
fn withResourceVersion(resourceVersion)
fn withSelfLink(selfLink)
fn withUid(uid)
obj spec
fn withDeletionPolicy(deletionPolicy)
obj spec.forProvider
fn withForce(force)
fn withRawPolicy(rawPolicy)
fn withRegion(region)
fn withRegistryId(registryId)
fn withRepositoryName(repositoryName)
obj spec.forProvider.policy
fn withId(id)
fn withStatements(statements)
fn withStatementsMixin(statements)
fn withVersion(version)
obj spec.forProvider.policy.statements
fn withAction(action)
fn withActionMixin(action)
fn withCondition(condition)
fn withConditionMixin(condition)
fn withEffect(effect)
fn withNotAction(notAction)
fn withNotActionMixin(notAction)
fn withNotResource(notResource)
fn withNotResourceMixin(notResource)
fn withResource(resource)
fn withResourceMixin(resource)
fn withSid(sid)
obj spec.forProvider.policy.statements.condition
obj spec.forProvider.policy.statements.notPrincipal
fn withAllowAnon(allowAnon)
fn withAwsPrincipals(awsPrincipals)
fn withAwsPrincipalsMixin(awsPrincipals)
fn withRaw(raw)
fn withService(service)
fn withServiceMixin(service)
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals
fn withAwsAccountId(awsAccountId)
fn withIamRoleArn(iamRoleArn)
fn withIamUserArn(iamUserArn)
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnRef
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnSelector
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnRef
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnSelector
obj spec.forProvider.policy.statements.principal
fn withAllowAnon(allowAnon)
fn withAwsPrincipals(awsPrincipals)
fn withAwsPrincipalsMixin(awsPrincipals)
fn withRaw(raw)
fn withService(service)
fn withServiceMixin(service)
obj spec.forProvider.policy.statements.principal.awsPrincipals
fn withAwsAccountId(awsAccountId)
fn withIamRoleArn(iamRoleArn)
fn withIamUserArn(iamUserArn)
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnRef
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnSelector
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnRef
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnSelector
obj spec.forProvider.repositoryNameRef
obj spec.forProvider.repositoryNameSelector
obj spec.providerConfigRef
obj spec.providerRef
obj spec.publishConnectionDetailsTo
obj spec.writeConnectionSecretToRef
Fields
fn new
new(name)
new returns an instance of RepositoryPolicy
obj metadata
"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."
fn metadata.withAnnotations
withAnnotations(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
fn metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
Note: This function appends passed data to existing values
fn metadata.withClusterName
withClusterName(clusterName)
"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."
fn metadata.withCreationTimestamp
withCreationTimestamp(creationTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withDeletionGracePeriodSeconds
withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."
fn metadata.withDeletionTimestamp
withDeletionTimestamp(deletionTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withFinalizers
withFinalizers(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
fn metadata.withFinalizersMixin
withFinalizersMixin(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
Note: This function appends passed data to existing values
fn metadata.withGenerateName
withGenerateName(generateName)
"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"
fn metadata.withGeneration
withGeneration(generation)
"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."
fn metadata.withLabels
withLabels(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
fn metadata.withLabelsMixin
withLabelsMixin(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
Note: This function appends passed data to existing values
fn metadata.withName
withName(name)
"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"
fn metadata.withNamespace
withNamespace(namespace)
"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"
fn metadata.withOwnerReferences
withOwnerReferences(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
fn metadata.withOwnerReferencesMixin
withOwnerReferencesMixin(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
Note: This function appends passed data to existing values
fn metadata.withResourceVersion
withResourceVersion(resourceVersion)
"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
fn metadata.withSelfLink
withSelfLink(selfLink)
"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."
fn metadata.withUid
withUid(uid)
"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"
obj spec
"A RepositoryPolicySpec defines the desired state of a Elastic Container Repository."
fn spec.withDeletionPolicy
withDeletionPolicy(deletionPolicy)
"DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either \"Delete\" or \"Orphan\" the external resource."
obj spec.forProvider
"RepositoryPolicyParameters define the desired state of an AWS Elastic Container Repository"
fn spec.forProvider.withForce
withForce(force)
"If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs."
fn spec.forProvider.withRawPolicy
withRawPolicy(rawPolicy)
"Policy stringified version of JSON repository policy either policy or rawPolicy must be specified in the policy"
fn spec.forProvider.withRegion
withRegion(region)
"Region is the region you'd like your RepositoryPolicy to be created in."
fn spec.forProvider.withRegistryId
withRegistryId(registryId)
"The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed."
fn spec.forProvider.withRepositoryName
withRepositoryName(repositoryName)
"The name of the repository to receive the policy. \n One of RepositoryName, RepositoryNameRef, or RepositoryNameSelector is required."
obj spec.forProvider.policy
"Policy is a well defined type which can be parsed into an JSON Repository Policy either policy or rawPolicy must be specified in the policy"
fn spec.forProvider.policy.withId
withId(id)
"ID is the policy's optional identifier"
fn spec.forProvider.policy.withStatements
withStatements(statements)
"Statements is the list of statement this policy applies either jsonStatements or statements must be specified in the policy"
fn spec.forProvider.policy.withStatementsMixin
withStatementsMixin(statements)
"Statements is the list of statement this policy applies either jsonStatements or statements must be specified in the policy"
Note: This function appends passed data to existing values
fn spec.forProvider.policy.withVersion
withVersion(version)
"Version is the current IAM policy version"
obj spec.forProvider.policy.statements
"Statements is the list of statement this policy applies either jsonStatements or statements must be specified in the policy"
fn spec.forProvider.policy.statements.withAction
withAction(action)
"Each element of the PolicyAction array describes the specific action or actions that will be allowed or denied with this PolicyStatement."
fn spec.forProvider.policy.statements.withActionMixin
withActionMixin(action)
"Each element of the PolicyAction array describes the specific action or actions that will be allowed or denied with this PolicyStatement."
Note: This function appends passed data to existing values
fn spec.forProvider.policy.statements.withCondition
withCondition(condition)
"Condition specifies where conditions for policy are in effect. https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonelasticcontainerregistry.html#amazonelasticcontainerregistry-policy-keys"
fn spec.forProvider.policy.statements.withConditionMixin
withConditionMixin(condition)
"Condition specifies where conditions for policy are in effect. https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonelasticcontainerregistry.html#amazonelasticcontainerregistry-policy-keys"
Note: This function appends passed data to existing values
fn spec.forProvider.policy.statements.withEffect
withEffect(effect)
"The effect is required and specifies whether the statement results in an allow or an explicit deny. Valid values for Effect are Allow and Deny."
fn spec.forProvider.policy.statements.withNotAction
withNotAction(notAction)
"Each element of the NotPolicyAction array will allow the property to match all but the listed actions."
fn spec.forProvider.policy.statements.withNotActionMixin
withNotActionMixin(notAction)
"Each element of the NotPolicyAction array will allow the property to match all but the listed actions."
Note: This function appends passed data to existing values
fn spec.forProvider.policy.statements.withNotResource
withNotResource(notResource)
"This will explicitly match all resource paths except the ones specified in this array"
fn spec.forProvider.policy.statements.withNotResourceMixin
withNotResourceMixin(notResource)
"This will explicitly match all resource paths except the ones specified in this array"
Note: This function appends passed data to existing values
fn spec.forProvider.policy.statements.withResource
withResource(resource)
"The paths on which this resource will apply"
fn spec.forProvider.policy.statements.withResourceMixin
withResourceMixin(resource)
"The paths on which this resource will apply"
Note: This function appends passed data to existing values
fn spec.forProvider.policy.statements.withSid
withSid(sid)
"Optional identifier for this statement, must be unique within the policy if provided."
obj spec.forProvider.policy.statements.condition
"Condition specifies where conditions for policy are in effect. https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonelasticcontainerregistry.html#amazonelasticcontainerregistry-policy-keys"
fn spec.forProvider.policy.statements.condition.withConditions
withConditions(conditions)
"Conditions represents each of the key/value pairs for the operator key"
fn spec.forProvider.policy.statements.condition.withConditionsMixin
withConditionsMixin(conditions)
"Conditions represents each of the key/value pairs for the operator key"
Note: This function appends passed data to existing values
fn spec.forProvider.policy.statements.condition.withOperatorKey
withOperatorKey(operatorKey)
"OperatorKey matches the condition key and value in the policy against values in the request context"
obj spec.forProvider.policy.statements.condition.conditions
"Conditions represents each of the key/value pairs for the operator key"
fn spec.forProvider.policy.statements.condition.conditions.withBooleanValue
withBooleanValue(booleanValue)
"ConditionBooleanValue is the expected boolean value of the key from the parent condition"
fn spec.forProvider.policy.statements.condition.conditions.withDateValue
withDateValue(dateValue)
"ConditionDateValue is the expected string value of the key from the parent condition. The date value must be in ISO 8601 format. The time is always midnight UTC."
fn spec.forProvider.policy.statements.condition.conditions.withKey
withKey(key)
"ConditionKey is the key condition being applied to the parent condition"
fn spec.forProvider.policy.statements.condition.conditions.withListValue
withListValue(listValue)
"ConditionListValue is the list value of the key from the parent condition"
fn spec.forProvider.policy.statements.condition.conditions.withListValueMixin
withListValueMixin(listValue)
"ConditionListValue is the list value of the key from the parent condition"
Note: This function appends passed data to existing values
fn spec.forProvider.policy.statements.condition.conditions.withNumericValue
withNumericValue(numericValue)
"ConditionNumericValue is the expected string value of the key from the parent condition"
fn spec.forProvider.policy.statements.condition.conditions.withStringValue
withStringValue(stringValue)
"ConditionStringValue is the expected string value of the key from the parent condition"
obj spec.forProvider.policy.statements.notPrincipal
"Used with the Repository policy to specify the users which are not included in this policy"
fn spec.forProvider.policy.statements.notPrincipal.withAllowAnon
withAllowAnon(allowAnon)
"This flag indicates if the policy should be made available to all anonymous users. Principal: \"*\
fn spec.forProvider.policy.statements.notPrincipal.withAwsPrincipals
withAwsPrincipals(awsPrincipals)
"This list contains the all of the AWS IAM users which are affected by the policy statement."
fn spec.forProvider.policy.statements.notPrincipal.withAwsPrincipalsMixin
withAwsPrincipalsMixin(awsPrincipals)
"This list contains the all of the AWS IAM users which are affected by the policy statement."
Note: This function appends passed data to existing values
fn spec.forProvider.policy.statements.notPrincipal.withRaw
withRaw(raw)
"Raw string input can be used for *"
fn spec.forProvider.policy.statements.notPrincipal.withService
withService(service)
"Service define the services which can have access to this bucket"
fn spec.forProvider.policy.statements.notPrincipal.withServiceMixin
withServiceMixin(service)
"Service define the services which can have access to this bucket"
Note: This function appends passed data to existing values
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals
"This list contains the all of the AWS IAM users which are affected by the policy statement."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.withAwsAccountId
withAwsAccountId(awsAccountId)
"AWSAccountID identifies an AWS account as the principal"
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.withIamRoleArn
withIamRoleArn(iamRoleArn)
"IAMRoleARN contains the ARN of an IAM role"
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.withIamUserArn
withIamUserArn(iamUserArn)
"UserARN contains the ARN of an IAM user"
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnRef
"IAMRoleARNRef contains the reference to an IAMRole"
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnRef.withName
withName(name)
"Name of the referenced object."
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnRef.policy
"Policies for referencing."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnSelector
"IAMRoleARNSelector queries for an IAM role to retrieve its userName"
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnSelector.withMatchControllerRef
withMatchControllerRef(matchControllerRef)
"MatchControllerRef ensures an object with the same controller reference as the selecting object is selected."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnSelector.withMatchLabels
withMatchLabels(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
Note: This function appends passed data to existing values
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnSelector.policy
"Policies for selection."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnSelector.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamRoleArnSelector.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnRef
"UserARNRef contains the reference to an User"
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnRef.withName
withName(name)
"Name of the referenced object."
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnRef.policy
"Policies for referencing."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnSelector
"UserARNSelector queries for an User to retrieve its userName"
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnSelector.withMatchControllerRef
withMatchControllerRef(matchControllerRef)
"MatchControllerRef ensures an object with the same controller reference as the selecting object is selected."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnSelector.withMatchLabels
withMatchLabels(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
Note: This function appends passed data to existing values
obj spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnSelector.policy
"Policies for selection."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnSelector.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.policy.statements.notPrincipal.awsPrincipals.iamUserArnSelector.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.forProvider.policy.statements.principal
"Used with the Repository policy to specify the principal that is allowed or denied access to a resource."
fn spec.forProvider.policy.statements.principal.withAllowAnon
withAllowAnon(allowAnon)
"This flag indicates if the policy should be made available to all anonymous users. Principal: \"*\
fn spec.forProvider.policy.statements.principal.withAwsPrincipals
withAwsPrincipals(awsPrincipals)
"This list contains the all of the AWS IAM users which are affected by the policy statement."
fn spec.forProvider.policy.statements.principal.withAwsPrincipalsMixin
withAwsPrincipalsMixin(awsPrincipals)
"This list contains the all of the AWS IAM users which are affected by the policy statement."
Note: This function appends passed data to existing values
fn spec.forProvider.policy.statements.principal.withRaw
withRaw(raw)
"Raw string input can be used for *"
fn spec.forProvider.policy.statements.principal.withService
withService(service)
"Service define the services which can have access to this bucket"
fn spec.forProvider.policy.statements.principal.withServiceMixin
withServiceMixin(service)
"Service define the services which can have access to this bucket"
Note: This function appends passed data to existing values
obj spec.forProvider.policy.statements.principal.awsPrincipals
"This list contains the all of the AWS IAM users which are affected by the policy statement."
fn spec.forProvider.policy.statements.principal.awsPrincipals.withAwsAccountId
withAwsAccountId(awsAccountId)
"AWSAccountID identifies an AWS account as the principal"
fn spec.forProvider.policy.statements.principal.awsPrincipals.withIamRoleArn
withIamRoleArn(iamRoleArn)
"IAMRoleARN contains the ARN of an IAM role"
fn spec.forProvider.policy.statements.principal.awsPrincipals.withIamUserArn
withIamUserArn(iamUserArn)
"UserARN contains the ARN of an IAM user"
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnRef
"IAMRoleARNRef contains the reference to an IAMRole"
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnRef.withName
withName(name)
"Name of the referenced object."
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnRef.policy
"Policies for referencing."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnSelector
"IAMRoleARNSelector queries for an IAM role to retrieve its userName"
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnSelector.withMatchControllerRef
withMatchControllerRef(matchControllerRef)
"MatchControllerRef ensures an object with the same controller reference as the selecting object is selected."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnSelector.withMatchLabels
withMatchLabels(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
Note: This function appends passed data to existing values
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnSelector.policy
"Policies for selection."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnSelector.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamRoleArnSelector.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnRef
"UserARNRef contains the reference to an User"
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnRef.withName
withName(name)
"Name of the referenced object."
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnRef.policy
"Policies for referencing."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnSelector
"UserARNSelector queries for an User to retrieve its userName"
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnSelector.withMatchControllerRef
withMatchControllerRef(matchControllerRef)
"MatchControllerRef ensures an object with the same controller reference as the selecting object is selected."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnSelector.withMatchLabels
withMatchLabels(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
Note: This function appends passed data to existing values
obj spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnSelector.policy
"Policies for selection."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnSelector.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.policy.statements.principal.awsPrincipals.iamUserArnSelector.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.forProvider.repositoryNameRef
"A referencer to retrieve the name of a repository One of RepositoryName, RepositoryNameRef, or RepositoryNameSelector is required."
fn spec.forProvider.repositoryNameRef.withName
withName(name)
"Name of the referenced object."
obj spec.forProvider.repositoryNameRef.policy
"Policies for referencing."
fn spec.forProvider.repositoryNameRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.repositoryNameRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.forProvider.repositoryNameSelector
"A selector to select a referencer to retrieve the name of a repository One of RepositoryName, RepositoryNameRef, or RepositoryNameSelector is required."
fn spec.forProvider.repositoryNameSelector.withMatchControllerRef
withMatchControllerRef(matchControllerRef)
"MatchControllerRef ensures an object with the same controller reference as the selecting object is selected."
fn spec.forProvider.repositoryNameSelector.withMatchLabels
withMatchLabels(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
fn spec.forProvider.repositoryNameSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
"MatchLabels ensures an object with matching labels is selected."
Note: This function appends passed data to existing values
obj spec.forProvider.repositoryNameSelector.policy
"Policies for selection."
fn spec.forProvider.repositoryNameSelector.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.forProvider.repositoryNameSelector.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.providerConfigRef
"ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured."
fn spec.providerConfigRef.withName
withName(name)
"Name of the referenced object."
obj spec.providerConfigRef.policy
"Policies for referencing."
fn spec.providerConfigRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.providerConfigRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.providerRef
"ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
"
fn spec.providerRef.withName
withName(name)
"Name of the referenced object."
obj spec.providerRef.policy
"Policies for referencing."
fn spec.providerRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.providerRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.publishConnectionDetailsTo
"PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource."
fn spec.publishConnectionDetailsTo.withName
withName(name)
"Name is the name of the connection secret."
obj spec.publishConnectionDetailsTo.configRef
"SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret."
fn spec.publishConnectionDetailsTo.configRef.withName
withName(name)
"Name of the referenced object."
obj spec.publishConnectionDetailsTo.configRef.policy
"Policies for referencing."
fn spec.publishConnectionDetailsTo.configRef.policy.withResolution
withResolution(resolution)
"Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved."
fn spec.publishConnectionDetailsTo.configRef.policy.withResolve
withResolve(resolve)
"Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile."
obj spec.publishConnectionDetailsTo.metadata
"Metadata is the metadata for connection secret."
fn spec.publishConnectionDetailsTo.metadata.withAnnotations
withAnnotations(annotations)
"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."
fn spec.publishConnectionDetailsTo.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations are the annotations to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.annotations\". - It is up to Secret Store implementation for others store types."
Note: This function appends passed data to existing values
fn spec.publishConnectionDetailsTo.metadata.withLabels
withLabels(labels)
"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."
fn spec.publishConnectionDetailsTo.metadata.withLabelsMixin
withLabelsMixin(labels)
"Labels are the labels/tags to be added to connection secret. - For Kubernetes secrets, this will be used as \"metadata.labels\". - It is up to Secret Store implementation for others store types."
Note: This function appends passed data to existing values
fn spec.publishConnectionDetailsTo.metadata.withType
withType(type)
"Type is the SecretType for the connection secret. - Only valid for Kubernetes Secret Stores."
obj spec.writeConnectionSecretToRef
"WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other."
fn spec.writeConnectionSecretToRef.withName
withName(name)
"Name of the secret."
fn spec.writeConnectionSecretToRef.withNamespace
withNamespace(namespace)
"Namespace of the secret."